public class BitAccessor extends AbstractSqlAccessor
| Constructor and Description |
|---|
BitAccessor(BitVector vector) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBoolean(int index)
(See
class description.) |
int |
getInt(int index)
(See
class description.) |
Object |
getObject(int index)
(See
class description.) |
Class<?> |
getObjectClass()
Reports the class returned by getObject() of this accessor.
|
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, getByte, getBytes, getChar, getDate, getDouble, getFloat, getLong, getReader, getShort, getStream, getString, getTime, getTimestamppublic BitAccessor(BitVector 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 int getInt(int index)
SqlAccessorclass description.)getInt in interface SqlAccessorgetInt in class AbstractSqlAccessorpublic boolean getBoolean(int index)
SqlAccessorclass description.)getBoolean in interface SqlAccessorgetBoolean in class AbstractSqlAccessorCopyright © 2017 The Apache Software Foundation. All rights reserved.