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
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Sort.NullHandlingprotected final @Nullable Stringprotected final @Nullable Order.Modeprotected final @Nullable Order.Nestedprotected final @Nullable String -
Constructor Summary
ConstructorsConstructorDescriptionOrder(Sort.Direction direction, String property) Order(Sort.Direction direction, String property, @Nullable String unmappedType) Order(Sort.Direction direction, String property, Sort.NullHandling nullHandlingHint) Order(Sort.Direction direction, String property, Sort.NullHandling nullHandlingHint, @Nullable String unmappedType) Order(Sort.Direction direction, String property, Sort.NullHandling nullHandlingHint, @Nullable Order.Mode mode) Order(Sort.Direction direction, String property, Sort.NullHandling nullHandlingHint, @Nullable Order.Mode mode, @Nullable String unmappedType) Order(Sort.Direction direction, String property, Sort.NullHandling nullHandlingHint, @Nullable Order.Mode mode, @Nullable String unmappedType, @Nullable String missing) Order(Sort.Direction direction, String property, Sort.NullHandling nullHandlingHint, @Nullable Order.Mode mode, @Nullable String unmappedType, @Nullable String missing, @Nullable Order.Nested nested) Order(Sort.Direction direction, String property, @Nullable Order.Mode mode) Order(Sort.Direction direction, String property, @Nullable Order.Mode mode, @Nullable String unmappedType) -
Method Summary
Modifier and TypeMethodDescription@Nullable String@Nullable Order.ModegetMode()@Nullable Order.Nested@Nullable Stringwith(Sort.Direction direction) with(Sort.NullHandling nullHandling) with(@Nullable Order.Mode mode) withMissing(@Nullable String missing) withNested(@Nullable Order.Nested nested) withProperty(String property) withUnmappedType(@Nullable String unmappedType) Methods inherited from class Sort.Order
asc, asc, by, by, desc, desc, equals, getDirection, getNullHandling, getProperty, hashCode, ignoreCase, isAscending, isDescending, isIgnoreCase, nullsFirst, nullsLast, nullsNative, reverse, toString, withProperties, withProperties, withProperty
-
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:
within classSort.Order
-
withProperty
- Overrides:
withPropertyin classSort.Order
-
with
- Overrides:
within classSort.Order
-
withUnmappedType
-
with
-
withMissing
-
withNested
-
getMode
-
getMissing
-
getNested
-