Class IntervalAccessor
java.lang.Object
org.apache.drill.exec.vector.accessor.AbstractSqlAccessor
org.apache.drill.exec.vector.accessor.IntervalAccessor
- 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.getString
(int index) (Seeclass description
.)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, getTime, getTimestamp
-
Constructor Details
-
IntervalAccessor
-
-
Method Details
-
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. -
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
-
getObjectClass
Description copied from interface:SqlAccessor
Reports the class returned by getObject() of this accessor.(Is for {@link ResultSetMetaData#getColumnClassName(...)}.)
-
getObject
Description copied from interface:SqlAccessor
(Seeclass description
.) -
getString
Description copied from interface:SqlAccessor
(Seeclass description
.)- Specified by:
getString
in interfaceSqlAccessor
- Overrides:
getString
in classAbstractSqlAccessor
-