Class BaseRepeatedValueVector.BaseRepeatedMutator

java.lang.Object
org.apache.drill.exec.vector.BaseValueVector.BaseMutator
org.apache.drill.exec.vector.complex.BaseRepeatedValueVector.BaseRepeatedMutator
All Implemented Interfaces:
RepeatedValueVector.RepeatedMutator, ValueVector.Mutator
Direct Known Subclasses:
ListVector.Mutator, RepeatedBigIntVector.Mutator, RepeatedBitVector.Mutator, RepeatedDateVector.Mutator, RepeatedDecimal18Vector.Mutator, RepeatedDecimal28DenseVector.Mutator, RepeatedDecimal28SparseVector.Mutator, RepeatedDecimal38DenseVector.Mutator, RepeatedDecimal38SparseVector.Mutator, RepeatedDecimal9Vector.Mutator, RepeatedDictVector.Mutator, RepeatedFloat4Vector.Mutator, RepeatedFloat8Vector.Mutator, RepeatedIntervalDayVector.Mutator, RepeatedIntervalVector.Mutator, RepeatedIntervalYearVector.Mutator, RepeatedIntVector.Mutator, RepeatedListVector.DelegateRepeatedVector.RepeatedListMutator, RepeatedSmallIntVector.Mutator, RepeatedTimeStampVector.Mutator, RepeatedTimeVector.Mutator, RepeatedTinyIntVector.Mutator, RepeatedUInt1Vector.Mutator, RepeatedUInt2Vector.Mutator, RepeatedUInt4Vector.Mutator, RepeatedUInt8Vector.Mutator, RepeatedVar16CharVector.Mutator, RepeatedVarBinaryVector.Mutator, RepeatedVarCharVector.Mutator, RepeatedVarDecimalVector.Mutator
Enclosing class:
BaseRepeatedValueVector

public abstract class BaseRepeatedValueVector.BaseRepeatedMutator extends BaseValueVector.BaseMutator implements RepeatedValueVector.RepeatedMutator
  • Constructor Details

    • BaseRepeatedMutator

      public BaseRepeatedMutator()
  • Method Details

    • startNewValue

      public void startNewValue(int index)
      Description copied from interface: RepeatedValueVector.RepeatedMutator
      Starts a new value that is a container of cells.
      Specified by:
      startNewValue in interface RepeatedValueVector.RepeatedMutator
      Parameters:
      index - index of new value to start
    • setValueCount

      public void setValueCount(int valueCount)
      Description copied from interface: ValueVector.Mutator
      Sets the number of values that is stored in this vector to the given value count. WARNING! Once the valueCount is set, the vector should be considered immutable.
      Specified by:
      setValueCount in interface ValueVector.Mutator
      Parameters:
      valueCount - value count to set.
    • getInnerValueCountAt

      public int getInnerValueCountAt(int index)