@Immutable public class Ordering extends Object implements LanguageObject, Ordering
| Constructor and Description |
|---|
Ordering(DynamicOperand operand,
Order order,
NullOrder nullOrder)
Create a new ordering specification, given the supplied operand and order.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor visitor)
Accept the supplied visitor, which should call back to the visitor to complete the double-dispatch operation.
|
boolean |
equals(Object obj) |
String |
getNullOrder()
Gets the order.
|
DynamicOperand |
getOperand() |
String |
getOrder() |
int |
hashCode() |
boolean |
isDefaultNullOrder() |
NullOrder |
nullOrder() |
Order |
order() |
String |
toString() |
public Ordering(DynamicOperand operand, Order order, NullOrder nullOrder)
operand - the operand being orderedorder - the order typenullOrder - the order specification for null values; may not be nullIllegalArgumentException - if the operand or order type is nullpublic DynamicOperand getOperand()
getOperand in interface Orderingpublic Order order()
public NullOrder nullOrder()
public boolean isDefaultNullOrder()
public String getNullOrder()
OrderingCopyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.