Example #1
0
 public void setLong(int columnIndex, long value) {
   bufferSlice.setLong(getOffset(columnIndex), value);
   clearNull(columnIndex);
 }
Example #2
0
 public void setTimestamp(int columnIndex, Timestamp value) {
   int offset = getOffset(columnIndex);
   bufferSlice.setLong(offset, value.getEpochSecond());
   bufferSlice.setInt(offset + 8, value.getNano());
   clearNull(columnIndex);
 }