private static class AbstractCursor.BinaryFromStringAccessor extends AbstractCursor.StringAccessor
String,
encoding Types.BINARY
and Types.VARBINARY values in Base64 format.getter| Constructor and Description |
|---|
AbstractCursor.BinaryFromStringAccessor(AbstractCursor.Getter getter) |
| Modifier and Type | Method and Description |
|---|---|
private byte[] |
getBase64Decoded() |
byte[] |
getBytes() |
Object |
getObject() |
String |
getString() |
getArray, getAsciiStream, getBigDecimal, getBigDecimal, getBinaryStream, getBlob, getBoolean, getByte, getCharacterStream, getClob, getDate, getDouble, getFloat, getInt, getLong, getNCharacterStream, getNClob, getNString, getObject, getObject, getRef, getShort, getSQLXML, getStruct, getTime, getTimestamp, getUnicodeStream, getURL, wasNullpublic AbstractCursor.BinaryFromStringAccessor(AbstractCursor.Getter getter)
public Object getObject() throws SQLException
getObject in interface Cursor.AccessorgetObject in class AbstractCursor.AccessorImplSQLExceptionpublic byte[] getBytes()
throws SQLException
getBytes in interface Cursor.AccessorgetBytes in class AbstractCursor.StringAccessorSQLExceptionprivate byte[] getBase64Decoded()
throws SQLException
SQLExceptionpublic String getString() throws SQLException
getString in interface Cursor.AccessorgetString in class AbstractCursor.StringAccessorSQLExceptionCopyright © 2012–2016 The Apache Software Foundation. All rights reserved.