Class 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 Detail

      • getTimestamp

        public org.apache.flink.table.data.TimestampData getTimestamp​(int i,
                                                                      int precision)
        Specified by:
        getTimestamp in interface org.apache.flink.table.data.columnar.vector.TimestampColumnVector
      • createFromConstant

        public static org.apache.hadoop.hive.ql.exec.vector.ColumnVector createFromConstant​(int batchSize,
                                                                                            Object value)