@Override
    void serialize(RandomAccessOutput byteStream, Object obj, ObjectInspector objInspector,
                   boolean skipLengthPrefix, BooleanRef warnedOnceNullMapKey) {
      TimestampLocalTZWritable t = ((TimestampLocalTZObjectInspector) objInspector).getPrimitiveWritableObject(obj);
      t.writeToByteStream(byteStream);
    }
Abstract serializer class for serializing to LazyBinary format.
serde/src/java/org/apache/hadoop/hive/serde2/lazybinary/LazyBinarySerDe2.java