Class VarCharAccessor
java.lang.Object
org.apache.drill.exec.vector.accessor.AbstractSqlAccessor
org.apache.drill.exec.vector.accessor.VarCharAccessor
- All Implemented Interfaces:
SqlAccessor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
getBytes
(int index) (Seeclass description
.)getObject
(int index) (Seeclass description
.)Class<?>
Reports the class returned by getObject() of this accessor.getReader
(int index) (Seeclass description
.)getStream
(int index) (Seeclass description
.)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, getChar, getDate, getDouble, getFloat, getInt, getLong, getShort, getTime, getTimestamp
-
Constructor Details
-
VarCharAccessor
-
-
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
-
getStream
Description copied from interface:SqlAccessor
(Seeclass description
.)- Specified by:
getStream
in interfaceSqlAccessor
- Overrides:
getStream
in classAbstractSqlAccessor
-
getBytes
public byte[] getBytes(int index) Description copied from interface:SqlAccessor
(Seeclass description
.)- Specified by:
getBytes
in interfaceSqlAccessor
- Overrides:
getBytes
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
.) -
getReader
Description copied from interface:SqlAccessor
(Seeclass description
.)- Specified by:
getReader
in interfaceSqlAccessor
- Overrides:
getReader
in classAbstractSqlAccessor
-
getString
Description copied from interface:SqlAccessor
(Seeclass description
.)- Specified by:
getString
in interfaceSqlAccessor
- Overrides:
getString
in classAbstractSqlAccessor
-