public class Order
extends org.springframework.data.domain.Sort.Order
Sort.Order with properties that can be set on Elasticsearch order options.| Modifier and Type | Class and Description |
|---|---|
static class |
Order.Mode |
| Modifier and Type | Field and Description |
|---|---|
static Order.Mode |
DEFAULT_MODE |
static org.springframework.data.domain.Sort.NullHandling |
DEFAULT_NULL_HANDLING |
protected Order.Mode |
mode |
protected String |
unmappedType |
| Constructor and Description |
|---|
Order(org.springframework.data.domain.Sort.Direction direction,
String property) |
Order(org.springframework.data.domain.Sort.Direction direction,
String property,
Order.Mode mode) |
Order(org.springframework.data.domain.Sort.Direction direction,
String property,
Order.Mode mode,
String unmappedType) |
Order(org.springframework.data.domain.Sort.Direction direction,
String property,
org.springframework.data.domain.Sort.NullHandling nullHandlingHint) |
Order(org.springframework.data.domain.Sort.Direction direction,
String property,
org.springframework.data.domain.Sort.NullHandling nullHandlingHint,
Order.Mode mode) |
Order(org.springframework.data.domain.Sort.Direction direction,
String property,
org.springframework.data.domain.Sort.NullHandling nullHandlingHint,
Order.Mode mode,
String unmappedType) |
Order(org.springframework.data.domain.Sort.Direction direction,
String property,
org.springframework.data.domain.Sort.NullHandling nullHandlingHint,
String unmappedType) |
Order(org.springframework.data.domain.Sort.Direction direction,
String property,
String unmappedType) |
| Modifier and Type | Method and Description |
|---|---|
Order.Mode |
getMode() |
String |
getUnmappedType() |
Order |
with(Order.Mode mode) |
org.springframework.data.domain.Sort.Order |
with(org.springframework.data.domain.Sort.Direction direction) |
org.springframework.data.domain.Sort.Order |
with(org.springframework.data.domain.Sort.NullHandling nullHandling) |
org.springframework.data.domain.Sort.Order |
withProperty(String property) |
Order |
withUnmappedType(String unmappedType) |
public static final Order.Mode DEFAULT_MODE
public static final org.springframework.data.domain.Sort.NullHandling DEFAULT_NULL_HANDLING
protected final Order.Mode mode
public Order(org.springframework.data.domain.Sort.Direction direction,
String property)
public Order(org.springframework.data.domain.Sort.Direction direction,
String property,
Order.Mode mode)
public Order(org.springframework.data.domain.Sort.Direction direction,
String property,
@Nullable
String unmappedType)
public Order(org.springframework.data.domain.Sort.Direction direction,
String property,
Order.Mode mode,
@Nullable
String unmappedType)
public Order(org.springframework.data.domain.Sort.Direction direction,
String property,
org.springframework.data.domain.Sort.NullHandling nullHandlingHint)
public Order(org.springframework.data.domain.Sort.Direction direction,
String property,
org.springframework.data.domain.Sort.NullHandling nullHandlingHint,
Order.Mode mode)
public Order(org.springframework.data.domain.Sort.Direction direction,
String property,
org.springframework.data.domain.Sort.NullHandling nullHandlingHint,
@Nullable
String unmappedType)
public Order(org.springframework.data.domain.Sort.Direction direction,
String property,
org.springframework.data.domain.Sort.NullHandling nullHandlingHint,
Order.Mode mode,
@Nullable
String unmappedType)
public org.springframework.data.domain.Sort.Order with(org.springframework.data.domain.Sort.Direction direction)
with in class org.springframework.data.domain.Sort.Orderpublic org.springframework.data.domain.Sort.Order withProperty(String property)
withProperty in class org.springframework.data.domain.Sort.Orderpublic org.springframework.data.domain.Sort.Order with(org.springframework.data.domain.Sort.NullHandling nullHandling)
with in class org.springframework.data.domain.Sort.Orderpublic Order with(Order.Mode mode)
public Order.Mode getMode()
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.