Class ShardFileSizeInfo
java.lang.Object
co.elastic.clients.elasticsearch.indices.stats.ShardFileSizeInfo
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ShardFileSizeInfo extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShardFileSizeInfo.Builder
Builder forShardFileSizeInfo
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ShardFileSizeInfo>
_DESERIALIZER
Json deserializer forShardFileSizeInfo
-
Method Summary
Modifier and Type Method Description java.lang.Long
averageSizeInBytes()
API name:average_size_in_bytes
java.lang.Long
count()
API name:count
java.lang.String
description()
Required - API name:description
java.lang.Long
maxSizeInBytes()
API name:max_size_in_bytes
java.lang.Long
minSizeInBytes()
API name:min_size_in_bytes
static ShardFileSizeInfo
of(java.util.function.Function<ShardFileSizeInfo.Builder,ObjectBuilder<ShardFileSizeInfo>> fn)
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupShardFileSizeInfoDeserializer(ObjectDeserializer<ShardFileSizeInfo.Builder> op)
long
sizeInBytes()
Required - API name:size_in_bytes
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forShardFileSizeInfo
-
-
Method Details
-
of
public static ShardFileSizeInfo of(java.util.function.Function<ShardFileSizeInfo.Builder,ObjectBuilder<ShardFileSizeInfo>> fn) -
description
public final java.lang.String description()Required - API name:description
-
sizeInBytes
public final long sizeInBytes()Required - API name:size_in_bytes
-
minSizeInBytes
@Nullable public final java.lang.Long minSizeInBytes()API name:min_size_in_bytes
-
maxSizeInBytes
@Nullable public final java.lang.Long maxSizeInBytes()API name:max_size_in_bytes
-
averageSizeInBytes
@Nullable public final java.lang.Long averageSizeInBytes()API name:average_size_in_bytes
-
count
@Nullable public final java.lang.Long count()API name:count
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupShardFileSizeInfoDeserializer
protected static void setupShardFileSizeInfoDeserializer(ObjectDeserializer<ShardFileSizeInfo.Builder> op)
-