Package com.streambase.liveview.client
Class OrderDefinition
java.lang.Object
com.streambase.liveview.client.OrderDefinition
OrderDefinition is the object used to define the order in which you wish to receive data
- Since:
- 1.4
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
The direction enum defines the legal directions available, and a reverse helper method.static interface
-
Field Summary
Modifier and TypeFieldDescription(package private) List<OrderDefinition.Direction>
static final OrderDefinition
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd
(OrderDefinition.Direction[] dir, String... flds) Add order definition field names with the specified Direction.add
(OrderDefinition.Direction dir, String... flds) Add order definition field names, all in the same directionAdd order definition field names, all ascending orderreverse()
Produce an OrderDefinition that is the exact opposite of this OrderDefinition.toString()
Produce a human readable representation of the OrderDefinitionvoid
-
Field Details
-
NONE
-
directions
List<OrderDefinition.Direction> directions -
fields
-
-
Constructor Details
-
OrderDefinition
public OrderDefinition()Construct an order definition object. Useadd(java.lang.String...)
methods to add fields and directions to the sort.
-
-
Method Details
-
add
Add order definition field names, all ascending order- Parameters:
flds
- the field names you wish to order on, first field being highest precedence.
-
add
Add order definition field names, all in the same direction- Parameters:
dir
- the Direction you want to use for these fields.flds
- the field names you wish to order on, first field being highest precedence.
-
add
Add order definition field names with the specified Direction. The number of Directions must be equal to the number of fields.- Parameters:
dir
- the Direction you want to use for each fieldflds
- the field names you wish to order on, first field being highest precedence.
-
getFieldsString
-
getDirectionsString
-
toString
Produce a human readable representation of the OrderDefinition -
reverse
Produce an OrderDefinition that is the exact opposite of this OrderDefinition. -
traverseOrderDefinition
-