private static class AbstractCursor.TimestampFromUtilDateAccessor extends AbstractCursor.ObjectAccessor
Types.TIMESTAMP.| Modifier and Type | Field and Description |
|---|---|
private Calendar |
localCalendar |
getter| Constructor and Description |
|---|
TimestampFromUtilDateAccessor(AbstractCursor.Getter getter,
Calendar localCalendar) |
| Modifier and Type | Method and Description |
|---|---|
Date |
getDate(Calendar calendar) |
long |
getLong() |
String |
getString() |
Time |
getTime(Calendar calendar) |
Timestamp |
getTimestamp(Calendar calendar) |
getArray, getAsciiStream, getBigDecimal, getBigDecimal, getBinaryStream, getBlob, getBoolean, getByte, getBytes, getCharacterStream, getClob, getDouble, getFloat, getInt, getNCharacterStream, getNClob, getNString, getObject, getObject, getObject, getRef, getShort, getSQLXML, getStruct, getUnicodeStream, getURL, wasNullprivate final Calendar localCalendar
public TimestampFromUtilDateAccessor(AbstractCursor.Getter getter, Calendar localCalendar)
public Timestamp getTimestamp(Calendar calendar) throws SQLException
getTimestamp in interface Cursor.AccessorgetTimestamp in class AbstractCursor.AccessorImplSQLExceptionpublic Date getDate(Calendar calendar) throws SQLException
getDate in interface Cursor.AccessorgetDate in class AbstractCursor.AccessorImplSQLExceptionpublic Time getTime(Calendar calendar) throws SQLException
getTime in interface Cursor.AccessorgetTime in class AbstractCursor.AccessorImplSQLExceptionpublic String getString() throws SQLException
getString in interface Cursor.AccessorgetString in class AbstractCursor.AccessorImplSQLExceptionpublic long getLong()
throws SQLException
getLong in interface Cursor.AccessorgetLong in class AbstractCursor.AccessorImplSQLExceptionCopyright © 2012–2017 The Apache Software Foundation. All rights reserved.