Class LikeDocument
java.lang.Object
org.opensearch.client.opensearch._types.query_dsl.LikeDocument
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<LikeDocument.Builder,LikeDocument>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class LikeDocument
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<LikeDocument.Builder,LikeDocument>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<LikeDocument> Json deserializer forLikeDocument -
Method Summary
Modifier and TypeMethodDescriptionstatic LikeDocument.Builderbuilder()final JsonDatadoc()A document not present in the index.booleanfields()API name:fieldsinthashCode()final Stringid()API name:_idfinal Stringindex()API name:_indexstatic LikeDocumentAPI name:per_field_analyzerfinal 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 voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final Longversion()API name:versionfinal VersionTypeAPI name:version_typeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forLikeDocument
-
-
Method Details
-
of
-
doc
A document not present in the index.API name:
doc -
fields
API name:fields -
id
API name:_id -
index
API name:_index -
perFieldAnalyzer
API name:per_field_analyzer -
routing
API name:routing -
version
API name:version -
versionType
API name:version_type -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<LikeDocument.Builder,LikeDocument> - Returns:
- a new builder instance.
-
builder
-
setupLikeDocumentDeserializer
-
hashCode
public int hashCode() -
equals
-