public void set(int elementNum, Timestamp timestamp) {
    if (timestamp == null) {
      isNull[elementNum] = true;
      noNulls = false;
      return;
    }
    this.time[elementNum] = timestamp.getTime();
    this.nanos[elementNum] = timestamp.getNanos();
  }
Set a field from a Timestamp.

This is a FAST version that assumes the caller has checked to make sure elementNum
is correctly adjusted for isRepeating.  And, that the isNull entry
has been set.  Only the output entry fields will be set by this method.

For backward compatibility, this method does check if the timestamp is null and set the
isNull entry appropriately.

@param elementNum
@param timestamp
storage-api/src/java/org/apache/hadoop/hive/ql/exec/vector/TimestampColumnVector.java