public class SortField
extends java.lang.Object
implements java.io.Serializable
SortOrder
.Modifier and Type | Method and Description |
---|---|
SortDirection |
direction()
Returns the sort direction
|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
NullOrder |
nullOrder()
Returns the null order
|
boolean |
satisfies(SortField other)
Checks whether this field's order satisfies another field's order.
|
int |
sourceId()
Returns the field id of the source field in the
sort order's table schema |
java.lang.String |
toString() |
<S,T> Transform<S,T> |
transform()
Returns the transform used to produce sort values from source values.
|
public <S,T> Transform<S,T> transform()
S
- the Java type of values transformed by the transform functionT
- the Java type of values returned by the transform functionpublic int sourceId()
sort order's
table schemapublic SortDirection direction()
public NullOrder nullOrder()
public boolean satisfies(SortField other)
other
- another sort fieldpublic java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object