Class GenericAccessor
java.lang.Object
org.apache.drill.exec.vector.accessor.AbstractSqlAccessor
org.apache.drill.exec.vector.accessor.GenericAccessor
- All Implemented Interfaces:
SqlAccessor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetObject
(int index) (Seeclass description
.)Class<?>
Reports the class returned by getObject() of this accessor.getType()
Reports the (native) type of data accessed by this accessor.boolean
isNull
(int index) Reports whether the logical value is a SQL NULL.Methods inherited from class org.apache.drill.exec.vector.accessor.AbstractSqlAccessor
getBigDecimal, getBoolean, getByte, getBytes, getChar, getDate, getDouble, getFloat, getInt, getLong, getReader, getShort, getStream, getString, getTime, getTimestamp
-
Constructor Details
-
GenericAccessor
-
-
Method Details
-
getObjectClass
Description copied from interface:SqlAccessor
Reports the class returned by getObject() of this accessor.(Is for {@link ResultSetMetaData#getColumnClassName(...)}.)
-
isNull
public boolean isNull(int index) Description copied from interface:SqlAccessor
Reports whether the logical value is a SQL NULL.- Specified by:
isNull
in interfaceSqlAccessor
- Specified by:
isNull
in classAbstractSqlAccessor
-
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.
-