Class ColumnAccessors.VarDecimalColumnReader
java.lang.Object
org.apache.drill.exec.vector.accessor.reader.AbstractScalarReader
org.apache.drill.exec.vector.accessor.reader.BaseScalarReader
org.apache.drill.exec.vector.accessor.reader.BaseScalarReader.BaseVarWidthReader
org.apache.drill.exec.vector.accessor.ColumnAccessors.VarDecimalColumnReader
- All Implemented Interfaces:
ColumnReader
,ReaderEvents
,ScalarReader
- Enclosing class:
- ColumnAccessors
public static class ColumnAccessors.VarDecimalColumnReader
extends BaseScalarReader.BaseVarWidthReader
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.drill.exec.vector.accessor.reader.BaseScalarReader
BaseScalarReader.BaseFixedWidthReader, BaseScalarReader.BaseVarWidthReader, BaseScalarReader.BufferAccessor
Nested classes/interfaces inherited from class org.apache.drill.exec.vector.accessor.reader.AbstractScalarReader
AbstractScalarReader.NullReader, AbstractScalarReader.ScalarObjectReader
-
Field Summary
Fields inherited from class org.apache.drill.exec.vector.accessor.reader.BaseScalarReader.BaseVarWidthReader
offsetsReader
Fields inherited from class org.apache.drill.exec.vector.accessor.reader.BaseScalarReader
bufferAccessor, schema, vectorAccessor
Fields inherited from class org.apache.drill.exec.vector.accessor.reader.AbstractScalarReader
nullStateReader, vectorIndex
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
bindVector
(ColumnMetadata schema, VectorAccessor va) byte[]
getBytes()
Describe the type of the value.Methods inherited from class org.apache.drill.exec.vector.accessor.reader.BaseScalarReader.BaseVarWidthReader
bindBuffer, bindIndex, getEntry
Methods inherited from class org.apache.drill.exec.vector.accessor.reader.BaseScalarReader
buffer, bufferAccessor, buildOptional, buildRequired, schema
Methods inherited from class org.apache.drill.exec.vector.accessor.reader.AbstractScalarReader
bindNullState, conversionError, extendedType, getAsString, getBoolean, getDate, getDouble, getFloat, getInt, getLong, getObject, getPeriod, getString, getTime, getTimestamp, getValue, isNull, nullReader, nullStateReader, reposition, type
-
Constructor Details
-
VarDecimalColumnReader
public VarDecimalColumnReader()
-
-
Method Details
-
bindVector
- Overrides:
bindVector
in classBaseScalarReader.BaseVarWidthReader
-
valueType
Description copied from interface:ScalarReader
Describe the type of the value. This is a compression of the value vector type: it describes which method will return the vector value.- Returns:
- the value type which indicates which get method is valid for the column
-
getBytes
public byte[] getBytes()- Specified by:
getBytes
in interfaceScalarReader
- Overrides:
getBytes
in classAbstractScalarReader
-
getDecimal
- Specified by:
getDecimal
in interfaceScalarReader
- Overrides:
getDecimal
in classAbstractScalarReader
-