|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pig.impl.plan.ProjectionMap.Column
public static class ProjectionMap.Column
A wrapper for projection map columns to contain the input number, input column. Additionally, if a cast is used, record the type of the cast
Constructor Summary | |
---|---|
ProjectionMap.Column(Pair<Integer,Integer> inputColumn)
|
|
ProjectionMap.Column(Pair<Integer,Integer> inputColumn,
boolean cast,
byte castType)
|
Method Summary | |
---|---|
boolean |
cast()
Check if the column is cast |
boolean |
getCast()
Check if the column is cast |
byte |
getCastType()
Get the data type of the cast |
Pair<Integer,Integer> |
getInputColumn()
Get the mapped column details |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProjectionMap.Column(Pair<Integer,Integer> inputColumn)
inputColumn
- A pair of integers representing the input number and the
input column numberpublic ProjectionMap.Column(Pair<Integer,Integer> inputColumn, boolean cast, byte castType)
inputColumn
- A pair of integers representing the input number and the
input column numbercast
- true if the input column has a castcastType
- the data type of the castMethod Detail |
---|
public Pair<Integer,Integer> getInputColumn()
public boolean getCast()
public boolean cast()
public byte getCastType()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |