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
Modifier and TypeMethodDescriptionstatic 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, isNullAtMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.table.data.columnar.vector.ColumnVector
isNullAt
-
Method Details
-
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)
-