Class LikeDocument.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<LikeDocument.Builder>
co.elastic.clients.elasticsearch._types.query_dsl.LikeDocument.Builder
- All Implemented Interfaces:
WithJson<LikeDocument.Builder>,ObjectBuilder<LikeDocument>
- Enclosing class:
- LikeDocument
public static class LikeDocument.Builder
extends WithJsonObjectBuilderBase<LikeDocument.Builder>
implements ObjectBuilder<LikeDocument>
Builder for
LikeDocument.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aLikeDocument.final LikeDocument.BuilderA document not present in the index.final LikeDocument.BuilderAPI name:fieldsfinal LikeDocument.BuilderAPI name:fieldsfinal LikeDocument.BuilderID of a document.final LikeDocument.BuilderIndex of a document.final LikeDocument.BuilderperFieldAnalyzer(String key, String value) API name:per_field_analyzerfinal LikeDocument.BuilderperFieldAnalyzer(Map<String, String> map) API name:per_field_analyzerfinal LikeDocument.BuilderAPI name:routingprotected LikeDocument.Builderself()final LikeDocument.BuilderAPI name:versionfinal LikeDocument.BuilderversionType(VersionType value) API name:version_typeMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
doc
A document not present in the index.API name:
doc -
fields
API name:fieldsAdds all elements of
listtofields. -
fields
API name:fieldsAdds one or more values to
fields. -
id
ID of a document.API name:
_id -
index
Index of a document.API name:
_index -
perFieldAnalyzer
API name:per_field_analyzerAdds all entries of
maptoperFieldAnalyzer. -
perFieldAnalyzer
API name:per_field_analyzerAdds an entry to
perFieldAnalyzer. -
routing
API name:routing -
version
API name:version -
versionType
API name:version_type -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<LikeDocument.Builder>
-
build
Builds aLikeDocument.- Specified by:
buildin interfaceObjectBuilder<LikeDocument>- Throws:
NullPointerException- if some of the required fields are null.
-