Class TimestampUtil

java.lang.Object
org.apache.flink.orc.TimestampUtil

public class TimestampUtil extends Object
Util class to handle timestamp vectors. It's responsible for deciding whether new or legacy (Hive 2.0.x) timestamp column vector should be used.
  • Method Details

    • isHiveTimestampColumnVector

      public static boolean isHiveTimestampColumnVector(org.apache.hadoop.hive.ql.exec.vector.ColumnVector vector)
    • createVectorFromConstant

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