private static class AbstractCursor.DateFromNumberAccessor extends AbstractCursor.NumberAccessor
int;
corresponds to Types.DATE.| Modifier and Type | Field and Description |
|---|---|
private Calendar |
localCalendar |
getter| Constructor and Description |
|---|
DateFromNumberAccessor(AbstractCursor.Getter getter,
Calendar localCalendar) |
| Modifier and Type | Method and Description |
|---|---|
Date |
getDate(Calendar calendar) |
Object |
getObject() |
String |
getString() |
Timestamp |
getTimestamp(Calendar calendar) |
getBigDecimal, getBigDecimal, getNumbergetBoolean, getByte, getDouble, getFloat, getInt, getLong, getShortgetArray, getAsciiStream, getBinaryStream, getBlob, getBytes, getCharacterStream, getClob, getNCharacterStream, getNClob, getNString, getObject, getObject, getRef, getSQLXML, getStruct, getTime, getUnicodeStream, getURL, wasNullprivate final Calendar localCalendar
public DateFromNumberAccessor(AbstractCursor.Getter getter, Calendar localCalendar)
public Object getObject() throws SQLException
getObject in interface Cursor.AccessorgetObject in class AbstractCursor.AccessorImplSQLExceptionpublic Date getDate(Calendar calendar) throws SQLException
getDate in interface Cursor.AccessorgetDate in class AbstractCursor.AccessorImplSQLExceptionpublic Timestamp getTimestamp(Calendar calendar) throws SQLException
getTimestamp in interface Cursor.AccessorgetTimestamp in class AbstractCursor.AccessorImplSQLExceptionpublic String getString() throws SQLException
getString in interface Cursor.AccessorgetString in class AbstractCursor.AccessorImplSQLExceptionCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.