Class ShardCommit
java.lang.Object
co.elastic.clients.elasticsearch.indices.stats.ShardCommit
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<ShardCommit>
Json deserializer forShardCommit
-
Method Summary
Modifier and TypeMethodDescriptionfinal int
Required - API name:generation
final String
id()
Required - API name:id
final long
numDocs()
Required - API name:num_docs
static ShardCommit
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
toString()
userData()
Required - API name:user_data
-
Field Details
-
_DESERIALIZER
Json deserializer forShardCommit
-
-
Method Details
-
of
-
generation
public final int generation()Required - API name:generation
-
id
Required - API name:id
-
numDocs
public final long numDocs()Required - API name:num_docs
-
userData
Required - API name:user_data
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupShardCommitDeserializer
-