Class BulkOperationBase
java.lang.Object
co.elastic.clients.elasticsearch.core.bulk.BulkOperationBase
- All Implemented Interfaces:
JsonpSerializable
- Direct Known Subclasses:
DeleteOperation,UpdateOperation,WriteOperation
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBulkOperationBase(BulkOperationBase.AbstractBuilder<?> builder) -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringid()The document ID.final LongAPI name:if_primary_termfinal LongifSeqNo()API name:if_seq_nofinal Stringindex()The name of the index or index alias to perform the action on.final Stringrouting()A custom value used to route operations to a specific shard.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static <BuilderT extends BulkOperationBase.AbstractBuilder<BuilderT>>
voidsetupBulkOperationBaseDeserializer(ObjectDeserializer<BuilderT> op) toString()final Longversion()API name:versionfinal VersionTypeAPI name:version_type
-
Constructor Details
-
BulkOperationBase
-
-
Method Details
-
id
The document ID.API name:
_id -
index
The name of the index or index alias to perform the action on.API name:
_index -
routing
A custom value used to route operations to a specific shard.API name:
routing -
ifPrimaryTerm
API name:if_primary_term -
ifSeqNo
API name:if_seq_no -
version
API name:version -
versionType
API name:version_type -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupBulkOperationBaseDeserializer
protected static <BuilderT extends BulkOperationBase.AbstractBuilder<BuilderT>> void setupBulkOperationBaseDeserializer(ObjectDeserializer<BuilderT> op)
-