public static class ProjectionMap.Column
extends java.lang.Object
Constructor and Description |
---|
Column(Pair<java.lang.Integer,java.lang.Integer> inputColumn) |
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 Column(Pair<java.lang.Integer,java.lang.Integer> inputColumn)
inputColumn
- A pair of integers representing the input number and the
input column numberpublic 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.Object
Copyright © 2007-2017 The Apache Software Foundation