private static class AbstractCursor.TimeFromNumberAccessor extends AbstractCursor.NumberAccessor
int;
corresponds to Types.TIME.| Modifier and Type | Field and Description |
|---|---|
private Calendar |
localCalendar |
getter| Constructor and Description |
|---|
TimeFromNumberAccessor(AbstractCursor.Getter getter,
Calendar localCalendar) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getObject() |
String |
getString() |
Time |
getTime(Calendar calendar) |
Timestamp |
getTimestamp(Calendar calendar) |
getBigDecimal, getBigDecimal, getNumbergetBoolean, getByte, getDouble, getFloat, getInt, getLong, getShortgetArray, getAsciiStream, getBinaryStream, getBlob, getBytes, getCharacterStream, getClob, getDate, getNCharacterStream, getNClob, getNString, getObject, getObject, getRef, getSQLXML, getStruct, getUnicodeStream, getURL, wasNullprivate final Calendar localCalendar
public TimeFromNumberAccessor(AbstractCursor.Getter getter, Calendar localCalendar)
public Object getObject() throws SQLException
getObject in interface Cursor.AccessorgetObject in class AbstractCursor.AccessorImplSQLExceptionpublic Time getTime(Calendar calendar) throws SQLException
getTime in interface Cursor.AccessorgetTime 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–2017 The Apache Software Foundation. All rights reserved.