public void set(TimestampWritable t) { if (t.bytesEmpty) { set(t.getTimestamp()); return; } if (t.currentBytes == t.externalBytes) { set(t.currentBytes, t.offset); } else { set(t.currentBytes, 0); } }
public TimestampWritable(byte[] bytes, int offset) { set(bytes, offset); }
public TimestampWritable(Timestamp t) { set(t); }