Class ColumnAccessors.TimeColumnReader
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.BaseFixedWidthReader
org.apache.drill.exec.vector.accessor.ColumnAccessors.TimeColumnReader
- All Implemented Interfaces:
ColumnReader
,ReaderEvents
,ScalarReader
- Enclosing class:
- ColumnAccessors
-
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
bufferAccessor, schema, vectorAccessor
Fields inherited from class org.apache.drill.exec.vector.accessor.reader.AbstractScalarReader
nullStateReader, vectorIndex
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.drill.exec.vector.accessor.reader.BaseScalarReader.BaseFixedWidthReader
offsetIndex
Methods inherited from class org.apache.drill.exec.vector.accessor.reader.BaseScalarReader
bindBuffer, bindIndex, bindVector, buffer, bufferAccessor, buildOptional, buildRequired, schema
Methods inherited from class org.apache.drill.exec.vector.accessor.reader.AbstractScalarReader
bindNullState, conversionError, getAsString, getBoolean, getBytes, getDate, getDecimal, getDouble, getFloat, getLong, getObject, getPeriod, getString, getTimestamp, getValue, isNull, nullReader, nullStateReader, reposition, type
-
Constructor Details
-
TimeColumnReader
public TimeColumnReader()
-
-
Method Details
-
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
-
extendedType
Description copied from interface:ScalarReader
The extended type of the value, describes the secondary type for DATE, TIME and TIMESTAMP for which the value type is int or long.- Specified by:
extendedType
in interfaceScalarReader
- Overrides:
extendedType
in classAbstractScalarReader
-
width
public int width()- Specified by:
width
in classBaseScalarReader.BaseFixedWidthReader
-
getInt
public int getInt()- Specified by:
getInt
in interfaceScalarReader
- Overrides:
getInt
in classAbstractScalarReader
-
getTime
- Specified by:
getTime
in interfaceScalarReader
- Overrides:
getTime
in classAbstractScalarReader
-