Class Operation
java.lang.Object
co.elastic.clients.elasticsearch.core.mget.Operation
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class Operation extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOperation.BuilderBuilder forOperation. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Operation>_DESERIALIZERJson deserializer forOperation -
Constructor Summary
Constructors Constructor Description Operation(Operation.Builder builder)Operation(java.util.function.Function<Operation.Builder,Operation.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.Stringid()Required - API name:_idjava.lang.Stringindex()API name:_indexjava.lang.Stringrouting()API name:routingvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupOperationDeserializer(DelegatingDeserializer<Operation.Builder> op)jakarta.json.JsonValuesource()API name:_sourcejava.util.List<java.lang.String>storedFields()API name:stored_fieldsjava.lang.Stringtype()API name:_typejava.lang.Longversion()API name:versionVersionTypeversionType()API name:version_typeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forOperation
-
-
Constructor Details
-
Operation
-
Operation
-
-
Method Details
-
id
public java.lang.String id()Required - API name:_id -
index
@Nullable public java.lang.String index()API name:_index -
routing
@Nullable public java.lang.String routing()API name:routing -
source
@Nullable public jakarta.json.JsonValue source()API name:_source -
storedFields
@Nullable public java.util.List<java.lang.String> storedFields()API name:stored_fields -
type
@Nullable public java.lang.String type()API name:_type -
version
@Nullable public java.lang.Long version()API name:version -
versionType
API name:version_type -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupOperationDeserializer
-