Class PojoWriters.StringWriter

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

public static class PojoWriters.StringWriter extends AbstractPojoWriter<NullableVarCharVector>
Pojo writer for String. If null is encountered does not write it.
  • Constructor Details

    • StringWriter

      public StringWriter(String fieldName, DrillBuf managedBuf)
  • 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
    • writeString

      public void writeString(String s, int outboundIndex)