@Override final boolean getBoolean(int rowId) { return accessor.get(rowId) == 1; } }
@Override final boolean getBoolean(int rowId) { return accessor.get(rowId) == 1; } }
@Override public int getInt(int index) { return ac.get(index); }
public void getFieldById(int fieldId, NullableBitHolder holder) { ((BitVector) vectors[fieldId]).get(currentIndex, holder); }
public void getFieldById(int fieldId, BitHolder holder) { ((BitVector) vectors[fieldId]).get(currentIndex); }
public boolean getBoolean(int index) { if (ac.isNull(index)) { return false; } return 1 == ac.get(index); }
public WritePartition getExistingOrNewPartition(int offset){ if(changeVector.get(offset) == 1){ partition = getPartition(offset); } return partition; }
public void read(NullableBitHolder h){ vector.get(idx(), h); }
if (!output.isNull(i) && output.get(i) == 1) {
case Boolean: BitVector bitVector = (BitVector) from; return new BooleanWritable(bitVector.get(item) > 0); case Categorical: VarCharVector varCharVector = (VarCharVector) from;
((NullableBitHolder)holder).isSet = ((BitVector) vector).isSet(index); if (((NullableBitHolder)holder).isSet == 1) { ((NullableBitHolder)holder).value = ((BitVector) vector).get(index);