Package org.apache.drill.exec.vector
Interface ValueVector.Mutator
- All Known Subinterfaces:
NullableVector.Mutator
,RepeatedValueVector.RepeatedMutator
,VariableWidthVector.VariableWidthMutator
- All Known Implementing Classes:
AbstractRepeatedMapVector.Mutator
,BaseRepeatedValueVector.BaseRepeatedMutator
,BaseValueVector.BaseMutator
,BigIntVector.Mutator
,BitVector.Mutator
,DateVector.Mutator
,Decimal18Vector.Mutator
,Decimal28DenseVector.Mutator
,Decimal28SparseVector.Mutator
,Decimal38DenseVector.Mutator
,Decimal38SparseVector.Mutator
,Decimal9Vector.Mutator
,DictVector.Mutator
,Float4Vector.Mutator
,Float8Vector.Mutator
,IntervalDayVector.Mutator
,IntervalVector.Mutator
,IntervalYearVector.Mutator
,IntVector.Mutator
,ListVector.Mutator
,MapVector.Mutator
,NullableBigIntVector.Mutator
,NullableBitVector.Mutator
,NullableDateVector.Mutator
,NullableDecimal18Vector.Mutator
,NullableDecimal28DenseVector.Mutator
,NullableDecimal28SparseVector.Mutator
,NullableDecimal38DenseVector.Mutator
,NullableDecimal38SparseVector.Mutator
,NullableDecimal9Vector.Mutator
,NullableFloat4Vector.Mutator
,NullableFloat8Vector.Mutator
,NullableIntervalDayVector.Mutator
,NullableIntervalVector.Mutator
,NullableIntervalYearVector.Mutator
,NullableIntVector.Mutator
,NullableSmallIntVector.Mutator
,NullableTimeStampVector.Mutator
,NullableTimeVector.Mutator
,NullableTinyIntVector.Mutator
,NullableUInt1Vector.Mutator
,NullableUInt2Vector.Mutator
,NullableUInt4Vector.Mutator
,NullableUInt8Vector.Mutator
,NullableVar16CharVector.Mutator
,NullableVarBinaryVector.Mutator
,NullableVarCharVector.Mutator
,NullableVarDecimalVector.Mutator
,ObjectVector.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
,RepeatedMapVector.Mutator
,RepeatedSmallIntVector.Mutator
,RepeatedTimeStampVector.Mutator
,RepeatedTimeVector.Mutator
,RepeatedTinyIntVector.Mutator
,RepeatedUInt1Vector.Mutator
,RepeatedUInt2Vector.Mutator
,RepeatedUInt4Vector.Mutator
,RepeatedUInt8Vector.Mutator
,RepeatedVar16CharVector.Mutator
,RepeatedVarBinaryVector.Mutator
,RepeatedVarCharVector.Mutator
,RepeatedVarDecimalVector.Mutator
,SmallIntVector.Mutator
,TimeStampVector.Mutator
,TimeVector.Mutator
,TinyIntVector.Mutator
,UInt1Vector.Mutator
,UInt2Vector.Mutator
,UInt4Vector.Mutator
,UInt8Vector.Mutator
,UnionVector.Mutator
,UntypedNullVector.Mutator
,Var16CharVector.Mutator
,VarBinaryVector.Mutator
,VarCharVector.Mutator
,VarDecimalVector.Mutator
- Enclosing interface:
- ValueVector
public static interface ValueVector.Mutator
Writes into this vector instance.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
exchange
(ValueVector.Mutator other) Exchanges state with the mutator of another mutator.void
generateTestData
(int values) Deprecated.this has nothing to do with value vector abstraction and should be removed.void
reset()
Resets the mutator to pristine state.void
setValueCount
(int valueCount) Sets the number of values that is stored in this vector to the given value count.
-
Method Details
-
setValueCount
void setValueCount(int valueCount) 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.- Parameters:
valueCount
- value count to set.
-
reset
void reset()Resets the mutator to pristine state. -
generateTestData
Deprecated.this has nothing to do with value vector abstraction and should be removed. -
exchange
Exchanges state with the mutator of another mutator. Used when exchanging state with another vector.
-