Class MultiGetOperation
java.lang.Object
co.elastic.clients.elasticsearch.core.mget.MultiGetOperation
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<MultiGetOperation>Json deserializer forMultiGetOperation -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringid()Required - The unique document ID.final Stringindex()The index that contains the document.static MultiGetOperationfinal Stringrouting()The key for the primary shard the document resides on.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 SourceConfigsource()Iffalse, excludes all _source fields.The stored fields you want to retrieve.toString()final Longversion()API name:versionfinal VersionTypeAPI name:version_type
-
Field Details
-
_DESERIALIZER
Json deserializer forMultiGetOperation
-
-
Method Details
-
of
public static MultiGetOperation of(Function<MultiGetOperation.Builder, ObjectBuilder<MultiGetOperation>> fn) -
id
Required - The unique document ID.API name:
_id -
index
The index that contains the document.API name:
_index -
routing
The key for the primary shard the document resides on. Required if routing is used during indexing.API name:
routing -
source
Iffalse, excludes all _source fields.API name:
_source -
storedFields
The stored fields you want to retrieve.API name:
stored_fields -
version
API name:version -
versionType
API name:version_type -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupMultiGetOperationDeserializer
protected static void setupMultiGetOperationDeserializer(ObjectDeserializer<MultiGetOperation.Builder> op)
-