Class UnionSqlAccessor
java.lang.Object
org.apache.drill.exec.vector.accessor.AbstractSqlAccessor
org.apache.drill.exec.vector.accessor.UnionSqlAccessor
- All Implemented Interfaces:
SqlAccessor
-
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
.)double
getDouble
(int rowOffset) (Seeclass description
.)float
getFloat
(int rowOffset) (Seeclass description
.)int
getInt
(int rowOffset) (Seeclass description
.)long
getLong
(int rowOffset) (Seeclass description
.)getObject
(int rowOffset) (Seeclass description
.)Class<?>
Reports the class returned by getObject() of this accessor.short
getShort
(int rowOffset) (Seeclass description
.)getString
(int rowOffset) (Seeclass description
.)getType()
Reports the (native) type of data accessed by this accessor.boolean
isNull
(int rowOffset) Reports whether the logical value is a SQL NULL.Methods inherited from class org.apache.drill.exec.vector.accessor.AbstractSqlAccessor
getDate, getReader, getStream, getTime, getTimestamp
-
Constructor Details
-
UnionSqlAccessor
-
-
Method Details
-
isNull
public boolean isNull(int rowOffset) Description copied from interface:SqlAccessor
Reports whether the logical value is a SQL NULL.- Specified by:
isNull
in interfaceSqlAccessor
- Specified by:
isNull
in classAbstractSqlAccessor
-
getBigDecimal
Description copied from interface:SqlAccessor
(Seeclass description
.)- Specified by:
getBigDecimal
in interfaceSqlAccessor
- Overrides:
getBigDecimal
in classAbstractSqlAccessor
- Throws:
InvalidAccessException
-
getBoolean
Description copied from interface:SqlAccessor
(Seeclass description
.)- Specified by:
getBoolean
in interfaceSqlAccessor
- Overrides:
getBoolean
in classAbstractSqlAccessor
- Throws:
InvalidAccessException
-
getByte
Description copied from interface:SqlAccessor
(Seeclass description
.)- Specified by:
getByte
in interfaceSqlAccessor
- Overrides:
getByte
in classAbstractSqlAccessor
- Throws:
InvalidAccessException
-
getBytes
Description copied from interface:SqlAccessor
(Seeclass description
.)- Specified by:
getBytes
in interfaceSqlAccessor
- Overrides:
getBytes
in classAbstractSqlAccessor
- Throws:
InvalidAccessException
-
getDouble
Description copied from interface:SqlAccessor
(Seeclass description
.)- Specified by:
getDouble
in interfaceSqlAccessor
- Overrides:
getDouble
in classAbstractSqlAccessor
- Throws:
InvalidAccessException
-
getFloat
Description copied from interface:SqlAccessor
(Seeclass description
.)- Specified by:
getFloat
in interfaceSqlAccessor
- Overrides:
getFloat
in classAbstractSqlAccessor
- Throws:
InvalidAccessException
-
getInt
Description copied from interface:SqlAccessor
(Seeclass description
.)- Specified by:
getInt
in interfaceSqlAccessor
- Overrides:
getInt
in classAbstractSqlAccessor
- Throws:
InvalidAccessException
-
getLong
Description copied from interface:SqlAccessor
(Seeclass description
.)- Specified by:
getLong
in interfaceSqlAccessor
- Overrides:
getLong
in classAbstractSqlAccessor
- Throws:
InvalidAccessException
-
getShort
Description copied from interface:SqlAccessor
(Seeclass description
.)- Specified by:
getShort
in interfaceSqlAccessor
- Overrides:
getShort
in classAbstractSqlAccessor
- Throws:
InvalidAccessException
-
getChar
Description copied from interface:SqlAccessor
(Seeclass description
.)- Specified by:
getChar
in interfaceSqlAccessor
- Overrides:
getChar
in classAbstractSqlAccessor
- Throws:
InvalidAccessException
-
getString
Description copied from interface:SqlAccessor
(Seeclass description
.)- Specified by:
getString
in interfaceSqlAccessor
- Overrides:
getString
in classAbstractSqlAccessor
- Throws:
InvalidAccessException
-
getObject
Description copied from interface:SqlAccessor
(Seeclass description
.)- Throws:
InvalidAccessException
-
getType
Description copied from interface:SqlAccessor
Reports the (native) type of data accessed by this accessor.(Some implementations may support more than just the minimum
getType(...)
method implied by the type. -
getObjectClass
Description copied from interface:SqlAccessor
Reports the class returned by getObject() of this accessor.(Is for {@link ResultSetMetaData#getColumnClassName(...)}.)
-