@InterfaceAudience.Private @InterfaceStability.Unstable public class SortColInfo extends java.lang.Object implements java.io.Serializable
SortInfo
Modifier and Type | Class and Description |
---|---|
static class |
SortColInfo.Order |
Constructor and Description |
---|
SortColInfo(java.lang.String colName,
int colIndex,
SortColInfo.Order orderingType) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getColIndex() |
java.lang.String |
getColName() |
SortColInfo.Order |
getSortOrder() |
int |
hashCode() |
java.lang.String |
toString() |
public SortColInfo(java.lang.String colName, int colIndex, SortColInfo.Order orderingType)
colName
- sort column namecolIndex
- index position (0 based) of sort columnorderingType
- whether the column is sorted ascending or descendingpublic java.lang.String getColName()
public int getColIndex()
public SortColInfo.Order getSortOrder()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2007-2017 The Apache Software Foundation