public class VarBinaryAccessor extends AbstractSqlAccessor
| Constructor and Description |
|---|
VarBinaryAccessor(VarBinaryVector vector) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes(int index)
(See
class description.) |
Object |
getObject(int index)
(See
class description.) |
Class<?> |
getObjectClass()
Reports the class returned by getObject() of this accessor.
|
InputStream |
getStream(int index)
(See
class description.) |
String |
getString(int index)
(See
class description.) |
TypeProtos.MajorType |
getType()
Reports the (native) type of data accessed by this accessor.
|
boolean |
isNull(int index)
Reports whether the logical value is a SQL NULL.
|
getBigDecimal, getBoolean, getByte, getChar, getDate, getDouble, getFloat, getInt, getLong, getReader, getShort, getTime, getTimestamppublic VarBinaryAccessor(VarBinaryVector vector)
public TypeProtos.MajorType getType()
SqlAccessor
(Some implementations may support more than just the minimum
getType(...) method implied by the type.
public boolean isNull(int index)
SqlAccessorisNull in interface SqlAccessorisNull in class AbstractSqlAccessorpublic Class<?> getObjectClass()
SqlAccessor
(Is for ResultSetMetaData#getColumnClassName(...).)
public Object getObject(int index)
SqlAccessorclass description.)public InputStream getStream(int index)
SqlAccessorclass description.)getStream in interface SqlAccessorgetStream in class AbstractSqlAccessorpublic byte[] getBytes(int index)
SqlAccessorclass description.)getBytes in interface SqlAccessorgetBytes in class AbstractSqlAccessorpublic String getString(int index)
SqlAccessorclass description.)getString in interface SqlAccessorgetString in class AbstractSqlAccessorCopyright © 2017 The Apache Software Foundation. All rights reserved.