Class ShardFileSizeInfo
java.lang.Object
co.elastic.clients.elasticsearch.indices.stats.ShardFileSizeInfo
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class ShardFileSizeInfo extends java.lang.Object implements JsonpSerializable
-
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
-
Constructor Summary
Constructors Constructor Description ShardFileSizeInfo(ShardFileSizeInfo.Builder builder)
ShardFileSizeInfo(java.util.function.Function<ShardFileSizeInfo.Builder,ShardFileSizeInfo.Builder> fn)
-
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
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(DelegatingDeserializer<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
-
-
Constructor Details
-
ShardFileSizeInfo
-
ShardFileSizeInfo
public ShardFileSizeInfo(java.util.function.Function<ShardFileSizeInfo.Builder,ShardFileSizeInfo.Builder> fn)
-
-
Method Details
-
description
public java.lang.String description()Required - API name:description
-
sizeInBytes
public long sizeInBytes()Required - API name:size_in_bytes
-
minSizeInBytes
@Nullable public java.lang.Long minSizeInBytes()API name:min_size_in_bytes
-
maxSizeInBytes
@Nullable public java.lang.Long maxSizeInBytes()API name:max_size_in_bytes
-
averageSizeInBytes
@Nullable public java.lang.Long averageSizeInBytes()API name:average_size_in_bytes
-
count
@Nullable public java.lang.Long count()API name:count
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupShardFileSizeInfoDeserializer
protected static void setupShardFileSizeInfoDeserializer(DelegatingDeserializer<ShardFileSizeInfo.Builder> op)
-