Class AbstractSqlAccessor
java.lang.Object
org.apache.drill.exec.vector.accessor.AbstractSqlAccessor
- All Implemented Interfaces:
SqlAccessor
- Direct Known Subclasses:
BigIntAccessor
,BitAccessor
,DateAccessor
,Decimal18Accessor
,Decimal28DenseAccessor
,Decimal28SparseAccessor
,Decimal38DenseAccessor
,Decimal38SparseAccessor
,Decimal9Accessor
,Float4Accessor
,Float8Accessor
,GenericAccessor
,IntAccessor
,IntervalAccessor
,IntervalDayAccessor
,IntervalYearAccessor
,NullableBigIntAccessor
,NullableBitAccessor
,NullableDateAccessor
,NullableDecimal18Accessor
,NullableDecimal28DenseAccessor
,NullableDecimal28SparseAccessor
,NullableDecimal38DenseAccessor
,NullableDecimal38SparseAccessor
,NullableDecimal9Accessor
,NullableFloat4Accessor
,NullableFloat8Accessor
,NullableIntAccessor
,NullableIntervalAccessor
,NullableIntervalDayAccessor
,NullableIntervalYearAccessor
,NullableSmallIntAccessor
,NullableTimeAccessor
,NullableTimeStampAccessor
,NullableTinyIntAccessor
,NullableUInt1Accessor
,NullableUInt2Accessor
,NullableUInt4Accessor
,NullableUInt8Accessor
,NullableVar16CharAccessor
,NullableVarBinaryAccessor
,NullableVarCharAccessor
,NullableVarDecimalAccessor
,SmallIntAccessor
,TimeAccessor
,TimeStampAccessor
,TinyIntAccessor
,UInt1Accessor
,UInt2Accessor
,UInt4Accessor
,UInt8Accessor
,UnionSqlAccessor
,Var16CharAccessor
,VarBinaryAccessor
,VarCharAccessor
,VarDecimalAccessor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBigDecimal
(int rowOffset) (Seeclass description
.)boolean
getBoolean
(int rowOffset) (Seeclass description
.)byte
getByte
(int rowOffset) (Seeclass description
.)byte[]
getBytes
(int rowOffset) (Seeclass description
.)char
getChar
(int rowOffset) (Seeclass description
.)getDate
(int rowOffset) (Seeclass description
.)double
getDouble
(int rowOffset) (Seeclass description
.)float
getFloat
(int rowOffset) (Seeclass description
.)int
getInt
(int rowOffset) (Seeclass description
.)long
getLong
(int rowOffset) (Seeclass description
.)getReader
(int rowOffset) (Seeclass description
.)short
getShort
(int rowOffset) (Seeclass description
.)getStream
(int rowOffset) (Seeclass description
.)getString
(int rowOffset) (Seeclass description
.)getTime
(int rowOffset) (Seeclass description
.)getTimestamp
(int rowOffset) (Seeclass description
.)abstract boolean
isNull
(int rowOffset) Reports whether the logical value is a SQL NULL.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.drill.exec.vector.accessor.SqlAccessor
getObject, getObjectClass, getType
-
Constructor Details
-
AbstractSqlAccessor
public AbstractSqlAccessor()
-
-
Method Details
-
isNull
public abstract boolean isNull(int rowOffset) Description copied from interface:SqlAccessor
Reports whether the logical value is a SQL NULL.- Specified by:
isNull
in interfaceSqlAccessor
-
getBigDecimal
Description copied from interface:SqlAccessor
(Seeclass description
.)- Specified by:
getBigDecimal
in interfaceSqlAccessor
- Throws:
InvalidAccessException
-
getBoolean
Description copied from interface:SqlAccessor
(Seeclass description
.)- Specified by:
getBoolean
in interfaceSqlAccessor
- Throws:
InvalidAccessException
-
getByte
Description copied from interface:SqlAccessor
(Seeclass description
.)- Specified by:
getByte
in interfaceSqlAccessor
- Throws:
InvalidAccessException
-
getBytes
Description copied from interface:SqlAccessor
(Seeclass description
.)- Specified by:
getBytes
in interfaceSqlAccessor
- Throws:
InvalidAccessException
-
getDate
Description copied from interface:SqlAccessor
(Seeclass description
.)- Specified by:
getDate
in interfaceSqlAccessor
- Throws:
InvalidAccessException
-
getDouble
Description copied from interface:SqlAccessor
(Seeclass description
.)- Specified by:
getDouble
in interfaceSqlAccessor
- Throws:
InvalidAccessException
-
getFloat
Description copied from interface:SqlAccessor
(Seeclass description
.)- Specified by:
getFloat
in interfaceSqlAccessor
- Throws:
InvalidAccessException
-
getInt
Description copied from interface:SqlAccessor
(Seeclass description
.)- Specified by:
getInt
in interfaceSqlAccessor
- Throws:
InvalidAccessException
-
getLong
Description copied from interface:SqlAccessor
(Seeclass description
.)- Specified by:
getLong
in interfaceSqlAccessor
- Throws:
InvalidAccessException
-
getShort
Description copied from interface:SqlAccessor
(Seeclass description
.)- Specified by:
getShort
in interfaceSqlAccessor
- Throws:
InvalidAccessException
-
getStream
Description copied from interface:SqlAccessor
(Seeclass description
.)- Specified by:
getStream
in interfaceSqlAccessor
- Throws:
InvalidAccessException
-
getChar
Description copied from interface:SqlAccessor
(Seeclass description
.)- Specified by:
getChar
in interfaceSqlAccessor
- Throws:
InvalidAccessException
-
getReader
Description copied from interface:SqlAccessor
(Seeclass description
.)- Specified by:
getReader
in interfaceSqlAccessor
- Throws:
InvalidAccessException
-
getString
Description copied from interface:SqlAccessor
(Seeclass description
.)- Specified by:
getString
in interfaceSqlAccessor
- Throws:
InvalidAccessException
-
getTime
Description copied from interface:SqlAccessor
(Seeclass description
.)- Specified by:
getTime
in interfaceSqlAccessor
- Throws:
InvalidAccessException
-
getTimestamp
Description copied from interface:SqlAccessor
(Seeclass description
.)- Specified by:
getTimestamp
in interfaceSqlAccessor
- Throws:
InvalidAccessException
-