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 class
Operation.Builder
Builder forOperation
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Operation>
_DESERIALIZER
Json 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.String
id()
Required - API name:_id
java.lang.String
index()
API name:_index
java.lang.String
routing()
API name:routing
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
setupOperationDeserializer(DelegatingDeserializer<Operation.Builder> op)
jakarta.json.JsonValue
source()
API name:_source
java.util.List<java.lang.String>
storedFields()
API name:stored_fields
java.lang.String
type()
API name:_type
java.lang.Long
version()
API name:version
VersionType
versionType()
API name:version_type
Methods 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupOperationDeserializer
-