Class MultiGetOperation
java.lang.Object
co.elastic.clients.elasticsearch.core.mget.MultiGetOperation
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<MultiGetOperation>
Json deserializer forMultiGetOperation
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
id()
Required - The unique document ID.final String
index()
The index that contains the document.static MultiGetOperation
final String
routing()
The key for the primary shard the document resides on.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
final SourceConfig
source()
Iffalse
, excludes all _source fields.The stored fields you want to retrieve.toString()
final Long
version()
API name:version
final VersionType
API 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupMultiGetOperationDeserializer
protected static void setupMultiGetOperationDeserializer(ObjectDeserializer<MultiGetOperation.Builder> op)
-