Package org.apache.drill.exec.vector
Class Var16CharVector.BufferedMutator
java.lang.Object
org.apache.drill.exec.vector.Var16CharVector.BufferedMutator
- Enclosing class:
- Var16CharVector
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 Summary
ConstructorDescriptionBufferedMutator
(int startIdx, int buffSz, Var16CharVector parent) Buffered mutator to optimize bulk access to the underlying vector containerBufferedMutator
(int startIdx, Var16CharVector parent) -
Method Summary
-
Constructor Details
-
BufferedMutator
-
BufferedMutator
Buffered mutator to optimize bulk access to the underlying vector container- Parameters:
startIdx
- start idex of the first value to be copiedbuffSz
- buffer length to usparent
- parent container object
-
-
Method Details
-
setSafe
-
flush
public void flush()
-