Class VarBinaryVector.BufferedMutator

java.lang.Object
org.apache.drill.exec.vector.VarBinaryVector.BufferedMutator
Enclosing class:
VarBinaryVector

public static final class VarBinaryVector.BufferedMutator extends Object
Helper class to buffer container mutation as a means to optimize native memory copy operations. Ideally, this should be done transparently as part of the Mutator and Accessor APIs. NB: this class is automatically generated from ValueVectorTypes.tdd using FreeMarker.
  • Constructor Details

    • BufferedMutator

      public BufferedMutator(int startIdx, VarBinaryVector parent)
    • BufferedMutator

      public BufferedMutator(int startIdx, int buffSz, VarBinaryVector parent)
      Buffered mutator to optimize bulk access to the underlying vector container
      Parameters:
      startIdx - start idex of the first value to be copied
      buffSz - buffer length to us
      parent - parent container object
  • Method Details

    • setSafe

      public void setSafe(VarLenBulkEntry bulkEntry)
    • flush

      public void flush()