public static class ProjectionMap.Column
extends java.lang.Object
| Constructor and Description |
|---|
ProjectionMap.Column(Pair<java.lang.Integer,java.lang.Integer> inputColumn) |
ProjectionMap.Column(Pair<java.lang.Integer,java.lang.Integer> inputColumn,
boolean cast,
byte castType) |
| Modifier and Type | Method and Description |
|---|---|
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<java.lang.Integer,java.lang.Integer> |
getInputColumn()
Get the mapped column details
|
java.lang.String |
toString() |
public ProjectionMap.Column(Pair<java.lang.Integer,java.lang.Integer> inputColumn)
inputColumn - A pair of integers representing the input number and the
input column numberpublic ProjectionMap.Column(Pair<java.lang.Integer,java.lang.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 castpublic Pair<java.lang.Integer,java.lang.Integer> getInputColumn()
public boolean getCast()
public boolean cast()
public byte getCastType()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2007-2012 The Apache Software Foundation