Class WriteOperation
java.lang.Object
org.opensearch.client.opensearch.core.bulk.BulkOperationBase
org.opensearch.client.opensearch.core.bulk.WriteOperation
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable
- Direct Known Subclasses:
CreateOperation,IndexOperation
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedWriteOperation(WriteOperation.AbstractBuilder<?> builder) -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringpipeline()final BooleanAPI name:require_aliasprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static <BuilderT extends WriteOperation.AbstractBuilder<BuilderT>>
voidsetupWriteOperationDeserializer(ObjectDeserializer<BuilderT> op) Methods inherited from class org.opensearch.client.opensearch.core.bulk.BulkOperationBase
id, ifPrimaryTerm, ifSeqNo, index, routing, serialize, setupBulkOperationBaseDeserializer, version, versionTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
Constructor Details
-
WriteOperation
-
-
Method Details
-
pipeline
-
requireAlias
API name:require_alias -
serializeInternal
- Overrides:
serializeInternalin classBulkOperationBase
-
setupWriteOperationDeserializer
protected static <BuilderT extends WriteOperation.AbstractBuilder<BuilderT>> void setupWriteOperationDeserializer(ObjectDeserializer<BuilderT> op)
-