Class Destination
java.lang.Object
co.elastic.clients.elasticsearch.core.reindex.Destination
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<Destination>Json deserializer forDestination -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringindex()Required - The name of the data stream, index, or index alias you are copying to.static Destinationfinal OpTypeopType()Set tocreateto only index documents that do not already exist.final Stringpipeline()The name of the pipeline to use.final Stringrouting()By default, a document's routing is preserved unless it’s changed by the script.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()final VersionTypeThe versioning to use for the indexing operation.
-
Field Details
-
_DESERIALIZER
Json deserializer forDestination
-
-
Method Details
-
of
-
index
Required - The name of the data stream, index, or index alias you are copying to.API name:
index -
opType
Set tocreateto only index documents that do not already exist. Important: To reindex to a data stream destination, this argument must becreate.API name:
op_type -
pipeline
The name of the pipeline to use.API name:
pipeline -
routing
By default, a document's routing is preserved unless it’s changed by the script. Set todiscardto set routing tonull, or=valueto route using the specifiedvalue.API name:
routing -
versionType
The versioning to use for the indexing operation.API name:
version_type -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupDestinationDeserializer
-