org.apache.pig
Class SortInfo
java.lang.Object
org.apache.pig.SortInfo
- All Implemented Interfaces:
- Serializable
@InterfaceAudience.Private
@InterfaceStability.Unstable
public class SortInfo
- extends Object
- implements Serializable
Class to communicate sort column information based on
order by statment's sort columns and schema
- See Also:
- Serialized Form
SortInfo
public SortInfo(List<SortColInfo> sortColInfoList)
- Parameters:
sortColInfoList
- list of sortColInfo, one for each field in the data
getSortColInfoList
public List<SortColInfo> getSortColInfoList()
- Returns:
- the sortColInfoList the list of sortColInfo for this data
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
isGloballySorted
public boolean isGloballySorted()
- Returns:
- the isGloballySorted true if the data is globally sorted, false if it is sorted
only within each part file.
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012 The Apache Software Foundation