Class Order
java.lang.Object
org.springframework.data.domain.Sort.Order
org.springframework.data.elasticsearch.core.query.Order
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
GeoDistanceOrder
Extends the
Sort.Order
with properties that can be set on Elasticsearch order options.- Since:
- 4.3
- Author:
- Peter-Josef Meisch
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Sort.NullHandling
protected final String
protected final Order.Mode
protected final Order.Nested
protected final String
-
Constructor Summary
ConstructorDescriptionOrder
(Sort.Direction direction, String property) Order
(Sort.Direction direction, String property, String unmappedType) Order
(Sort.Direction direction, String property, Sort.NullHandling nullHandlingHint) Order
(Sort.Direction direction, String property, Sort.NullHandling nullHandlingHint, String unmappedType) Order
(Sort.Direction direction, String property, Sort.NullHandling nullHandlingHint, Order.Mode mode) Order
(Sort.Direction direction, String property, Sort.NullHandling nullHandlingHint, Order.Mode mode, String unmappedType) Order
(Sort.Direction direction, String property, Sort.NullHandling nullHandlingHint, Order.Mode mode, String unmappedType, String missing) Order
(Sort.Direction direction, String property, Sort.NullHandling nullHandlingHint, Order.Mode mode, String unmappedType, String missing, Order.Nested nested) Order
(Sort.Direction direction, String property, Order.Mode mode) Order
(Sort.Direction direction, String property, Order.Mode mode, String unmappedType) -
Method Summary
Modifier and TypeMethodDescriptiongetMode()
with
(Sort.Direction direction) with
(Sort.NullHandling nullHandling) with
(Order.Mode mode) withMissing
(String missing) withNested
(Order.Nested nested) withProperty
(String property) withUnmappedType
(String unmappedType) Methods inherited from class org.springframework.data.domain.Sort.Order
asc, by, desc, equals, getDirection, getNullHandling, getProperty, hashCode, ignoreCase, isAscending, isDescending, isIgnoreCase, nullsFirst, nullsLast, nullsNative, reverse, toString, withProperties
-
Field Details
-
DEFAULT_NULL_HANDLING
-
mode
-
unmappedType
-
missing
-
nested
-
-
Constructor Details
-
Order
-
Order
-
Order
-
Order
public Order(Sort.Direction direction, String property, @Nullable Order.Mode mode, @Nullable String unmappedType) -
Order
-
Order
public Order(Sort.Direction direction, String property, Sort.NullHandling nullHandlingHint, @Nullable Order.Mode mode) -
Order
public Order(Sort.Direction direction, String property, Sort.NullHandling nullHandlingHint, @Nullable String unmappedType) -
Order
public Order(Sort.Direction direction, String property, Sort.NullHandling nullHandlingHint, @Nullable Order.Mode mode, @Nullable String unmappedType) -
Order
public Order(Sort.Direction direction, String property, Sort.NullHandling nullHandlingHint, @Nullable Order.Mode mode, @Nullable String unmappedType, @Nullable String missing) -
Order
public Order(Sort.Direction direction, String property, Sort.NullHandling nullHandlingHint, @Nullable Order.Mode mode, @Nullable String unmappedType, @Nullable String missing, @Nullable Order.Nested nested)
-
-
Method Details
-
getUnmappedType
-
with
- Overrides:
with
in classSort.Order
-
withProperty
- Overrides:
withProperty
in classSort.Order
-
with
- Overrides:
with
in classSort.Order
-
withUnmappedType
-
with
-
withMissing
-
withNested
-
getMode
-
getMissing
-
getNested
-