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
Constructors -
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.booleanisNull(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:SqlAccessorReports the class returned by getObject() of this accessor.(Is for
}.)invalid @link
{@link ResultSetMetaData#getColumnClassName(...) -
isNull
public boolean isNull(int index) Description copied from interface:SqlAccessorReports whether the logical value is a SQL NULL.- Specified by:
isNullin interfaceSqlAccessor- Specified by:
isNullin classAbstractSqlAccessor
-
getObject
Description copied from interface:SqlAccessor(Seeclass description.)- Throws:
InvalidAccessException
-
getType
Description copied from interface:SqlAccessorReports the (native) type of data accessed by this accessor.(Some implementations may support more than just the minimum
getType(...)method implied by the type.
-