Class IndexSegmentSort.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<IndexSegmentSort.Builder>
co.elastic.clients.elasticsearch.indices.IndexSegmentSort.Builder
- All Implemented Interfaces:
WithJson<IndexSegmentSort.Builder>,ObjectBuilder<IndexSegmentSort>
- Enclosing class:
- IndexSegmentSort
public static class IndexSegmentSort.Builder extends WithJsonObjectBuilderBase<IndexSegmentSort.Builder> implements ObjectBuilder<IndexSegmentSort>
Builder for
IndexSegmentSort.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description IndexSegmentSortbuild()Builds aIndexSegmentSort.IndexSegmentSort.Builderfield(java.lang.String value, java.lang.String... values)API name:fieldIndexSegmentSort.Builderfield(java.util.List<java.lang.String> list)API name:fieldIndexSegmentSort.Buildermissing(SegmentSortMissing value, SegmentSortMissing... values)API name:missingIndexSegmentSort.Buildermissing(java.util.List<SegmentSortMissing> list)API name:missingIndexSegmentSort.Buildermode(SegmentSortMode value, SegmentSortMode... values)API name:modeIndexSegmentSort.Buildermode(java.util.List<SegmentSortMode> list)API name:modeIndexSegmentSort.Builderorder(SegmentSortOrder value, SegmentSortOrder... values)API name:orderIndexSegmentSort.Builderorder(java.util.List<SegmentSortOrder> list)API name:orderprotected IndexSegmentSort.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
field
API name:fieldAdds all elements of
listtofield. -
field
API name:fieldAdds one or more values to
field. -
order
API name:orderAdds all elements of
listtoorder. -
order
API name:orderAdds one or more values to
order. -
mode
API name:modeAdds all elements of
listtomode. -
mode
API name:modeAdds one or more values to
mode. -
missing
API name:missingAdds all elements of
listtomissing. -
missing
public final IndexSegmentSort.Builder missing(SegmentSortMissing value, SegmentSortMissing... values)API name:missingAdds one or more values to
missing. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<IndexSegmentSort.Builder>
-
build
Builds aIndexSegmentSort.- Specified by:
buildin interfaceObjectBuilder<IndexSegmentSort>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-