Exemple #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);
 }
Exemple #2
0
 @Override
 public boolean anyNull() {
   return BitSetMethods.anySet(baseObject, baseOffset, bitSetWidthInBytes / 8);
 }
Exemple #3
0
 @Override
 public boolean isNullAt(int ordinal) {
   assertIndexIsValid(ordinal);
   return BitSetMethods.isSet(baseObject, baseOffset, ordinal);
 }
Exemple #4
0
 private void setNotNullAt(int i) {
   assertIndexIsValid(i);
   BitSetMethods.unset(baseObject, baseOffset, i);
 }