Class PojoWriters.NIntWriter

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

public static class PojoWriters.NIntWriter extends AbstractPojoWriter<NullableIntVector>
Pojo writer for Integer. If null is encountered does not write it.
  • Constructor Details

    • NIntWriter

      public NIntWriter(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