- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
Order.BuilderBase.OrderImpl
Data query ordering.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
Fluent API builder forOrder
.static class
Order.BuilderBase<BUILDER extends Order.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends Order> Fluent API builder base forOrder
. -
Method Summary
Modifier and TypeMethodDescriptionstatic Order.Builder
builder()
Create a new fluent API builder to customize configuration.static Order.Builder
Create a new fluent API builder from an existing instance.static Order
create()
Create a new instance with default values.expression
(int index) Ordering expression at the specified index.Ordering expressions.
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance
- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Create a new instance with default values.- Returns:
- a new instance
-
expression
Ordering expression at the specified index.- Parameters:
index
- expression index, starts from0
- Returns:
- the expression at the specified index
-
expressions
List<OrderExpression> expressions()Ordering expressions.- Returns:
List
of ordering expressions
-