private int getTimeStampByteNum(int precision) {
    if (precision == 0) {
      return DEFAULT_TIMESTAMP_BYTE_NUM;
    } else {
      return precision + 1 + DEFAULT_TIMESTAMP_BYTE_NUM;
    }
  }
Get the object inspector that can be used to navigate through the internal
structure of the Object returned from deserialize(...).
serde/src/java/org/apache/hadoop/hive/serde2/teradata/TeradataBinarySerde.java