Class VarBinaryAccessor
java.lang.Object
org.apache.drill.exec.vector.accessor.AbstractSqlAccessor
org.apache.drill.exec.vector.accessor.VarBinaryAccessor
- 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.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, getReader, getShort, getTime, getTimestamp
-
Constructor Details
-
VarBinaryAccessor
-
-
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
.) -
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
-
getString
Description copied from interface:SqlAccessor
(Seeclass description
.)- Specified by:
getString
in interfaceSqlAccessor
- Overrides:
getString
in classAbstractSqlAccessor
-