Class FieldSort.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<FieldSort.Builder>
co.elastic.clients.elasticsearch._types.FieldSort.Builder
- All Implemented Interfaces:
WithJson<FieldSort.Builder>,ObjectBuilder<FieldSort>
- Enclosing class:
- FieldSort
public static class FieldSort.Builder
extends WithJsonObjectBuilderBase<FieldSort.Builder>
implements ObjectBuilder<FieldSort>
Builder for
FieldSort.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aFieldSort.final FieldSort.BuilderRequired - The target fieldfinal FieldSort.BuilderAPI name:formatfinal FieldSort.Buildermissing(boolean value) API name:missingfinal FieldSort.Buildermissing(double value) API name:missingfinal FieldSort.Buildermissing(long value) API name:missingfinal FieldSort.Buildermissing(FieldValue value) API name:missingfinal FieldSort.BuilderAPI name:missingfinal FieldSort.BuilderAPI name:missingfinal FieldSort.BuilderAPI name:modefinal FieldSort.Buildernested(NestedSortValue value) API name:nestedfinal FieldSort.BuilderAPI name:nestedfinal FieldSort.BuildernumericType(FieldSortNumericType value) API name:numeric_typefinal FieldSort.BuilderAPI name:orderprotected FieldSort.Builderself()final FieldSort.BuilderunmappedType(FieldType value) API name:unmapped_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
-
field
Required - The target field -
missing
API name:missing -
missing
API name:missing -
missing
API name:missing -
missing
API name:missing -
missing
API name:missing -
missing
API name:missing -
mode
API name:mode -
nested
API name:nested -
nested
public final FieldSort.Builder nested(Function<NestedSortValue.Builder, ObjectBuilder<NestedSortValue>> fn) API name:nested -
order
API name:order -
unmappedType
API name:unmapped_type -
numericType
API name:numeric_type -
format
API name:format -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<FieldSort.Builder>
-
build
Builds aFieldSort.- Specified by:
buildin interfaceObjectBuilder<FieldSort>- Throws:
NullPointerException- if some of the required fields are null.
-