Exemplo n.º 1
0
 @Override
 public void setNullAt(int i) {
   assertIndexIsValid(i);
   BitSetMethods.set(baseObject, baseOffset, i);
   // To preserve row equality, zero out the value when setting the column to null.
   // Since this row does does not currently support updates to variable-length values, we don't
   // have to worry about zeroing out that data.
   Platform.putLong(baseObject, getFieldOffset(i), 0);
 }
Exemplo n.º 2
0
 @Override
 public boolean anyNull() {
   return BitSetMethods.anySet(baseObject, baseOffset, bitSetWidthInBytes / 8);
 }
Exemplo n.º 3
0
 @Override
 public boolean isNullAt(int ordinal) {
   assertIndexIsValid(ordinal);
   return BitSetMethods.isSet(baseObject, baseOffset, ordinal);
 }
Exemplo n.º 4
0
 private void setNotNullAt(int i) {
   assertIndexIsValid(i);
   BitSetMethods.unset(baseObject, baseOffset, i);
 }