Class IndexDetails
java.lang.Object
co.elastic.clients.elasticsearch.snapshot.IndexDetails
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class IndexDetails extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIndexDetails.BuilderBuilder forIndexDetails. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<IndexDetails>_DESERIALIZERJson deserializer forIndexDetails -
Constructor Summary
Constructors Constructor Description IndexDetails(IndexDetails.Builder builder)IndexDetails(java.util.function.Function<IndexDetails.Builder,IndexDetails.Builder> fn) -
Method Summary
Modifier and Type Method Description longmaxSegmentsPerShard()API name:max_segments_per_shardvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupIndexDetailsDeserializer(DelegatingDeserializer<IndexDetails.Builder> op)intshardCount()API name:shard_countjava.lang.Stringsize()API name:sizelongsizeInBytes()API name:size_in_bytesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forIndexDetails
-
-
Constructor Details
-
IndexDetails
-
IndexDetails
-
-
Method Details
-
shardCount
public int shardCount()API name:shard_count -
size
@Nullable public java.lang.String size()API name:size -
sizeInBytes
public long sizeInBytes()API name:size_in_bytes -
maxSegmentsPerShard
public long maxSegmentsPerShard()API name:max_segments_per_shard -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupIndexDetailsDeserializer
protected static void setupIndexDetailsDeserializer(DelegatingDeserializer<IndexDetails.Builder> op)
-