Class NullStateReaders.NullableIsSetVectorStateReader
java.lang.Object
org.apache.drill.exec.vector.accessor.reader.NullStateReaders.NullableIsSetVectorStateReader
- All Implemented Interfaces:
NullStateReader
- Enclosing class:
NullStateReaders
protected static class NullStateReaders.NullableIsSetVectorStateReader
extends Object
implements NullStateReader
Holder for the NullableVector wrapper around a bits vector and a
data vector. Manages the bits vector to extract the nullability
value.
This class allows the same reader to handle both the required and nullable cases; the only difference is how nulls are handled.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidbindIndex(ColumnReaderIndex rowIndex) booleanisNull()
-
Constructor Details
-
NullableIsSetVectorStateReader
-
-
Method Details
-
bindIndex
- Specified by:
bindIndexin interfaceNullStateReader
-
isNull
public boolean isNull()- Specified by:
isNullin interfaceNullStateReader
-
bindBuffer
public void bindBuffer()- Specified by:
bindBufferin interfaceNullStateReader
-