Class BaseRepeatedValueVector.BaseRepeatedAccessor
java.lang.Object
org.apache.drill.exec.vector.BaseValueVector.BaseAccessor
org.apache.drill.exec.vector.complex.BaseRepeatedValueVector.BaseRepeatedAccessor
- All Implemented Interfaces:
RepeatedValueVector.RepeatedAccessor
,ValueVector.Accessor
- Direct Known Subclasses:
ListVector.Accessor
,RepeatedBigIntVector.Accessor
,RepeatedBitVector.Accessor
,RepeatedDateVector.Accessor
,RepeatedDecimal18Vector.Accessor
,RepeatedDecimal28DenseVector.Accessor
,RepeatedDecimal28SparseVector.Accessor
,RepeatedDecimal38DenseVector.Accessor
,RepeatedDecimal38SparseVector.Accessor
,RepeatedDecimal9Vector.Accessor
,RepeatedDictVector.Accessor
,RepeatedFloat4Vector.Accessor
,RepeatedFloat8Vector.Accessor
,RepeatedIntervalDayVector.Accessor
,RepeatedIntervalVector.Accessor
,RepeatedIntervalYearVector.Accessor
,RepeatedIntVector.Accessor
,RepeatedListVector.DelegateRepeatedVector.RepeatedListAccessor
,RepeatedSmallIntVector.Accessor
,RepeatedTimeStampVector.Accessor
,RepeatedTimeVector.Accessor
,RepeatedTinyIntVector.Accessor
,RepeatedUInt1Vector.Accessor
,RepeatedUInt2Vector.Accessor
,RepeatedUInt4Vector.Accessor
,RepeatedUInt8Vector.Accessor
,RepeatedVar16CharVector.Accessor
,RepeatedVarBinaryVector.Accessor
,RepeatedVarCharVector.Accessor
,RepeatedVarDecimalVector.Accessor
- Enclosing class:
- BaseRepeatedValueVector
public abstract class BaseRepeatedValueVector.BaseRepeatedAccessor
extends BaseValueVector.BaseAccessor
implements RepeatedValueVector.RepeatedAccessor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
getInnerValueCountAt
(int index) int
Returns the number of values that is stored in this vector.boolean
isEmpty
(int index) boolean
isNull
(int index) Returns true if the value at the given index is null, false otherwise.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.drill.exec.vector.ValueVector.Accessor
getObject
-
Constructor Details
-
BaseRepeatedAccessor
public BaseRepeatedAccessor()
-
-
Method Details
-
getValueCount
public int getValueCount()Description copied from interface:ValueVector.Accessor
Returns the number of values that is stored in this vector.- Specified by:
getValueCount
in interfaceValueVector.Accessor
-
getInnerValueCount
public int getInnerValueCount()- Specified by:
getInnerValueCount
in interfaceRepeatedValueVector.RepeatedAccessor
- Returns:
- total number of cells that vector contains. The result includes empty, null valued cells.
-
getInnerValueCountAt
public int getInnerValueCountAt(int index) - Specified by:
getInnerValueCountAt
in interfaceRepeatedValueVector.RepeatedAccessor
- Returns:
- number of cells that the value at the given index contains.
-
isNull
public boolean isNull(int index) Description copied from interface:ValueVector.Accessor
Returns true if the value at the given index is null, false otherwise.- Specified by:
isNull
in interfaceValueVector.Accessor
- Overrides:
isNull
in classBaseValueVector.BaseAccessor
-
isEmpty
public boolean isEmpty(int index) - Specified by:
isEmpty
in interfaceRepeatedValueVector.RepeatedAccessor
- Parameters:
index
- value index- Returns:
- true if the value at the given index is empty, false otherwise.
-