Package org.apache.iceberg
Class SortField
java.lang.Object
org.apache.iceberg.SortField
- All Implemented Interfaces:
- Serializable
A field in a 
SortOrder.- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionReturns the sort directionbooleaninthashCode()Returns the null orderbooleanChecks whether this field's order satisfies another field's order.intsourceId()Returns the field id of the source field in thesort order'stable schematoString()<S,T> Transform <S, T> Returns the transform used to produce sort values from source values.
- 
Method Details- 
transformReturns the transform used to produce sort values from source values.- Type Parameters:
- S- the Java type of values transformed by the transform function
- T- the Java type of values returned by the transform function
- Returns:
- the transform
 
- 
sourceIdpublic int sourceId()Returns the field id of the source field in thesort order'stable schema
- 
directionReturns the sort direction
- 
nullOrderReturns the null order
- 
satisfiesChecks whether this field's order satisfies another field's order.- Parameters:
- other- another sort field
- Returns:
- true if this order satisfies the given order
 
- 
toString
- 
equals
- 
hashCodepublic int hashCode()
 
-