static class AbstractCursor.AccessorImpl extends Object implements Cursor.Accessor
Cursor.Accessor.| Modifier and Type | Field and Description |
|---|---|
protected AbstractCursor.Getter |
getter |
| Constructor and Description |
|---|
AbstractCursor.AccessorImpl(AbstractCursor.Getter getter) |
| Modifier and Type | Method and Description |
|---|---|
private RuntimeException |
cannotConvert(String targetType) |
Array |
getArray() |
InputStream |
getAsciiStream() |
BigDecimal |
getBigDecimal() |
BigDecimal |
getBigDecimal(int scale) |
InputStream |
getBinaryStream() |
Blob |
getBlob() |
boolean |
getBoolean() |
byte |
getByte() |
byte[] |
getBytes() |
Reader |
getCharacterStream() |
Clob |
getClob() |
Date |
getDate(Calendar calendar) |
double |
getDouble() |
float |
getFloat() |
int |
getInt() |
long |
getLong() |
Reader |
getNCharacterStream() |
NClob |
getNClob() |
String |
getNString() |
Object |
getObject() |
<T> T |
getObject(Class<T> type) |
Object |
getObject(Map<String,Class<?>> map) |
Ref |
getRef() |
short |
getShort() |
SQLXML |
getSQLXML() |
String |
getString() |
Struct |
getStruct() |
Time |
getTime(Calendar calendar) |
Timestamp |
getTimestamp(Calendar calendar) |
InputStream |
getUnicodeStream() |
URL |
getURL() |
boolean |
wasNull() |
protected final AbstractCursor.Getter getter
public AbstractCursor.AccessorImpl(AbstractCursor.Getter getter)
public boolean wasNull()
wasNull in interface Cursor.Accessorpublic String getString()
getString in interface Cursor.Accessorpublic boolean getBoolean()
getBoolean in interface Cursor.Accessorpublic byte getByte()
getByte in interface Cursor.Accessorpublic short getShort()
getShort in interface Cursor.Accessorpublic int getInt()
getInt in interface Cursor.Accessorpublic long getLong()
getLong in interface Cursor.Accessorpublic float getFloat()
getFloat in interface Cursor.Accessorpublic double getDouble()
getDouble in interface Cursor.Accessorpublic BigDecimal getBigDecimal()
getBigDecimal in interface Cursor.Accessorpublic BigDecimal getBigDecimal(int scale)
getBigDecimal in interface Cursor.Accessorpublic byte[] getBytes()
getBytes in interface Cursor.Accessorpublic InputStream getAsciiStream()
getAsciiStream in interface Cursor.Accessorpublic InputStream getUnicodeStream()
getUnicodeStream in interface Cursor.Accessorpublic InputStream getBinaryStream()
getBinaryStream in interface Cursor.Accessorpublic Object getObject()
getObject in interface Cursor.Accessorpublic Reader getCharacterStream()
getCharacterStream in interface Cursor.Accessorprivate RuntimeException cannotConvert(String targetType)
public Object getObject(Map<String,Class<?>> map)
getObject in interface Cursor.Accessorpublic Ref getRef()
getRef in interface Cursor.Accessorpublic Blob getBlob()
getBlob in interface Cursor.Accessorpublic Clob getClob()
getClob in interface Cursor.Accessorpublic Array getArray()
getArray in interface Cursor.Accessorpublic Struct getStruct()
public Date getDate(Calendar calendar)
getDate in interface Cursor.Accessorpublic Time getTime(Calendar calendar)
getTime in interface Cursor.Accessorpublic Timestamp getTimestamp(Calendar calendar)
getTimestamp in interface Cursor.Accessorpublic URL getURL()
getURL in interface Cursor.Accessorpublic NClob getNClob()
getNClob in interface Cursor.Accessorpublic SQLXML getSQLXML()
getSQLXML in interface Cursor.Accessorpublic String getNString()
getNString in interface Cursor.Accessorpublic Reader getNCharacterStream()
getNCharacterStream in interface Cursor.Accessorpublic <T> T getObject(Class<T> type)
getObject in interface Cursor.AccessorCopyright © 2012–2016 The Apache Software Foundation. All rights reserved.