Class PojoWriters.NBooleanWriter

java.lang.Object
org.apache.drill.exec.store.pojo.AbstractPojoWriter<NullableBitVector>
org.apache.drill.exec.store.pojo.PojoWriters.NBooleanWriter
All Implemented Interfaces:
PojoWriter
Enclosing class:
PojoWriters

public static class PojoWriters.NBooleanWriter extends AbstractPojoWriter<NullableBitVector>
Pojo writer for Boolean. If null is encountered does not write it.
  • Constructor Details

    • NBooleanWriter

      public NBooleanWriter(String fieldName)
  • Method Details

    • writeField

      public void writeField(Object value, int outboundIndex)
      Description copied from interface: PojoWriter
      Writes given value to the given position of the bit to set.
      Parameters:
      value - values to be written
      outboundIndex - position of the bit