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.Builder
doc()
Creates a builder for the_doc
SortOptions
variant.static SortOptions
doc(java.util.function.Function<ScoreSort.Builder,ObjectBuilder<ScoreSort>> fn)
Creates a SortOptions of the_doc
SortOptions
variant.static FieldSort.Builder
field()
Creates a builder for thefield
SortOptions
variant.static SortOptions
field(java.util.function.Function<FieldSort.Builder,ObjectBuilder<FieldSort>> fn)
Creates a SortOptions of thefield
SortOptions
variant.static GeoDistanceSort.Builder
geoDistance()
Creates a builder for the_geo_distance
SortOptions
variant.static SortOptions
geoDistance(java.util.function.Function<GeoDistanceSort.Builder,ObjectBuilder<GeoDistanceSort>> fn)
Creates a SortOptions of the_geo_distance
SortOptions
variant.static ScoreSort.Builder
score()
Creates a builder for the_score
SortOptions
variant.static SortOptions
score(java.util.function.Function<ScoreSort.Builder,ObjectBuilder<ScoreSort>> fn)
Creates a SortOptions of the_score
SortOptions
variant.static ScriptSort.Builder
script()
Creates a builder for the_script
SortOptions
variant.static SortOptions
script(java.util.function.Function<ScriptSort.Builder,ObjectBuilder<ScriptSort>> fn)
Creates a SortOptions of the_script
SortOptions
variant.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_score
SortOptions
variant. -
score
public static SortOptions score(java.util.function.Function<ScoreSort.Builder,ObjectBuilder<ScoreSort>> fn)Creates a SortOptions of the_score
SortOptions
variant. -
doc
Creates a builder for the_doc
SortOptions
variant. -
doc
public static SortOptions doc(java.util.function.Function<ScoreSort.Builder,ObjectBuilder<ScoreSort>> fn)Creates a SortOptions of the_doc
SortOptions
variant. -
geoDistance
Creates a builder for the_geo_distance
SortOptions
variant. -
geoDistance
public static SortOptions geoDistance(java.util.function.Function<GeoDistanceSort.Builder,ObjectBuilder<GeoDistanceSort>> fn)Creates a SortOptions of the_geo_distance
SortOptions
variant. -
script
Creates a builder for the_script
SortOptions
variant. -
script
public static SortOptions script(java.util.function.Function<ScriptSort.Builder,ObjectBuilder<ScriptSort>> fn)Creates a SortOptions of the_script
SortOptions
variant. -
field
Creates a builder for thefield
SortOptions
variant. -
field
public static SortOptions field(java.util.function.Function<FieldSort.Builder,ObjectBuilder<FieldSort>> fn)Creates a SortOptions of thefield
SortOptions
variant.
-