Class SortOptionsBuilders
java.lang.Object
co.elastic.clients.elasticsearch._types.SortOptionsBuilders
public class SortOptionsBuilders
extends java.lang.Object
Builders for
SortOptions variants.-
Method Summary
Modifier and Type Method Description static ScoreSort.Builderdoc()Creates a builder for the_docSortOptionsvariant.static SortOptionsdoc(java.util.function.Function<ScoreSort.Builder,ObjectBuilder<ScoreSort>> fn)Creates a SortOptions of the_docSortOptionsvariant.static FieldSort.Builderfield()Creates a builder for thefieldSortOptionsvariant.static SortOptionsfield(java.util.function.Function<FieldSort.Builder,ObjectBuilder<FieldSort>> fn)Creates a SortOptions of thefieldSortOptionsvariant.static GeoDistanceSort.BuildergeoDistance()Creates a builder for the_geo_distanceSortOptionsvariant.static SortOptionsgeoDistance(java.util.function.Function<GeoDistanceSort.Builder,ObjectBuilder<GeoDistanceSort>> fn)Creates a SortOptions of the_geo_distanceSortOptionsvariant.static ScoreSort.Builderscore()Creates a builder for the_scoreSortOptionsvariant.static SortOptionsscore(java.util.function.Function<ScoreSort.Builder,ObjectBuilder<ScoreSort>> fn)Creates a SortOptions of the_scoreSortOptionsvariant.static ScriptSort.Builderscript()Creates a builder for the_scriptSortOptionsvariant.static SortOptionsscript(java.util.function.Function<ScriptSort.Builder,ObjectBuilder<ScriptSort>> fn)Creates a SortOptions of the_scriptSortOptionsvariant.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
score
Creates a builder for the_scoreSortOptionsvariant. -
score
public static SortOptions score(java.util.function.Function<ScoreSort.Builder,ObjectBuilder<ScoreSort>> fn)Creates a SortOptions of the_scoreSortOptionsvariant. -
doc
Creates a builder for the_docSortOptionsvariant. -
doc
public static SortOptions doc(java.util.function.Function<ScoreSort.Builder,ObjectBuilder<ScoreSort>> fn)Creates a SortOptions of the_docSortOptionsvariant. -
geoDistance
Creates a builder for the_geo_distanceSortOptionsvariant. -
geoDistance
public static SortOptions geoDistance(java.util.function.Function<GeoDistanceSort.Builder,ObjectBuilder<GeoDistanceSort>> fn)Creates a SortOptions of the_geo_distanceSortOptionsvariant. -
script
Creates a builder for the_scriptSortOptionsvariant. -
script
public static SortOptions script(java.util.function.Function<ScriptSort.Builder,ObjectBuilder<ScriptSort>> fn)Creates a SortOptions of the_scriptSortOptionsvariant. -
field
Creates a builder for thefieldSortOptionsvariant. -
field
public static SortOptions field(java.util.function.Function<FieldSort.Builder,ObjectBuilder<FieldSort>> fn)Creates a SortOptions of thefieldSortOptionsvariant.
-