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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
bindIndex
(ColumnReaderIndex rowIndex) boolean
isNull()
-
Constructor Details
-
NullableIsSetVectorStateReader
-
-
Method Details
-
bindIndex
- Specified by:
bindIndex
in interfaceNullStateReader
-
isNull
public boolean isNull()- Specified by:
isNull
in interfaceNullStateReader
-
bindBuffer
public void bindBuffer()- Specified by:
bindBuffer
in interfaceNullStateReader
-