Class ShardStore
java.lang.Object
co.elastic.clients.elasticsearch.indices.shard_stores.ShardStore
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ShardStore>Json deserializer forShardStore -
Method Summary
Modifier and TypeMethodDescriptionfinal ShardStoreAllocationRequired - The status of the store copy, whether it is used as a primary, replica, or not used at all.final StringThe allocation ID of the store copy.final ShardStoreNodenode()Required -final StringnodeId()Required -static ShardStorerebuild()voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal ShardStoreExceptionAny exception encountered while opening the shard index or from an earlier engine failure.toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forShardStore
-
-
Method Details
-
of
-
nodeId
Required - -
node
Required - -
allocation
Required - The status of the store copy, whether it is used as a primary, replica, or not used at all.API name:
allocation -
allocationId
The allocation ID of the store copy.API name:
allocation_id -
storeException
Any exception encountered while opening the shard index or from an earlier engine failure.API name:
store_exception -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
rebuild
- Returns:
- New
ShardStore.Builderinitialized with field values of this instance
-
setupShardStoreDeserializer
-