public class VarCharAccessor extends AbstractSqlAccessor
| Constructor and Description |
|---|
VarCharAccessor(VarCharVector vector) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes(int index)
(See
class description.) |
String |
getObject(int index)
(See
class description.) |
Class<?> |
getObjectClass()
Reports the class returned by getObject() of this accessor.
|
InputStreamReader |
getReader(int index)
(See
class description.) |
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, getShort, getTime, getTimestamppublic VarCharAccessor(VarCharVector 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 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 Class<?> getObjectClass()
SqlAccessor
(Is for ResultSetMetaData#getColumnClassName(...).)
public String getObject(int index)
SqlAccessorclass description.)public InputStreamReader getReader(int index)
SqlAccessorclass description.)getReader in interface SqlAccessorgetReader in class AbstractSqlAccessorpublic String getString(int index)
SqlAccessorclass description.)getString in interface SqlAccessorgetString in class AbstractSqlAccessorCopyright © 2017 The Apache Software Foundation. All rights reserved.