Class DictEntryReader
java.lang.Object
org.apache.drill.exec.vector.accessor.reader.AbstractTupleReader
org.apache.drill.exec.vector.accessor.reader.DictEntryReader
- All Implemented Interfaces:
ColumnReader
,ReaderEvents
,TupleReader
Reader for a Dict entry. The entry is a special kind of tuple.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.drill.exec.vector.accessor.reader.AbstractTupleReader
AbstractTupleReader.TupleObjectReader
-
Field Summary
Fields inherited from class org.apache.drill.exec.vector.accessor.reader.AbstractTupleReader
nullStateReader, readers
-
Constructor Summary
ModifierConstructorDescriptionprotected
DictEntryReader
(ColumnMetadata schema, VectorAccessor accessor, AbstractObjectReader[] readers) -
Method Summary
Modifier and TypeMethodDescriptionvoid
bindIndex
(ColumnReaderIndex index) build
(ColumnMetadata schema, VectorAccessor accessor, List<AbstractObjectReader> readers) build
(ColumnMetadata schema, VectorAccessor accessor, AbstractObjectReader[] readers) schema()
Methods inherited from class org.apache.drill.exec.vector.accessor.reader.AbstractTupleReader
array, array, bindBuffer, bindNullState, column, column, columnCount, dict, dict, getAsString, getObject, isNull, nullStateReader, reposition, scalar, scalar, tuple, tuple, type, type, type, variant, variant
-
Constructor Details
-
DictEntryReader
protected DictEntryReader(ColumnMetadata schema, VectorAccessor accessor, AbstractObjectReader[] readers)
-
-
Method Details
-
build
public static AbstractTupleReader.TupleObjectReader build(ColumnMetadata schema, VectorAccessor accessor, AbstractObjectReader[] readers) -
build
public static AbstractTupleReader.TupleObjectReader build(ColumnMetadata schema, VectorAccessor accessor, List<AbstractObjectReader> readers) -
keyReader
-
valueReader
-
bindIndex
- Specified by:
bindIndex
in interfaceReaderEvents
- Overrides:
bindIndex
in classAbstractTupleReader
-
schema
-
tupleSchema
-