Package org.apache.flink.orc.vector
Class OrcLegacyTimestampColumnVector
- java.lang.Object
-
- org.apache.flink.orc.vector.AbstractOrcColumnVector
-
- org.apache.flink.orc.vector.OrcLegacyTimestampColumnVector
-
- All Implemented Interfaces:
org.apache.flink.table.data.columnar.vector.ColumnVector,org.apache.flink.table.data.columnar.vector.TimestampColumnVector
public class OrcLegacyTimestampColumnVector extends AbstractOrcColumnVector implements org.apache.flink.table.data.columnar.vector.TimestampColumnVector
This class is used to adapt to Hive's legacy (2.0.x) timestamp column vector which is a LongColumnVector.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.apache.hadoop.hive.ql.exec.vector.ColumnVectorcreateFromConstant(int batchSize, Object value)org.apache.flink.table.data.TimestampDatagetTimestamp(int i, int precision)-
Methods inherited from class org.apache.flink.orc.vector.AbstractOrcColumnVector
createFlinkVector, createFlinkVectorFromConstant, isNullAt
-
-
-
-
Method Detail
-
getTimestamp
public org.apache.flink.table.data.TimestampData getTimestamp(int i, int precision)- Specified by:
getTimestampin interfaceorg.apache.flink.table.data.columnar.vector.TimestampColumnVector
-
createFromConstant
public static org.apache.hadoop.hive.ql.exec.vector.ColumnVector createFromConstant(int batchSize, Object value)
-
-