private static class AbstractCursor.TimestampAccessor extends AbstractCursor.ObjectAccessor
Types.TIMESTAMP.getter| Constructor and Description |
|---|
TimestampAccessor(AbstractCursor.Getter getter) |
| 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, wasNullpublic TimestampAccessor(AbstractCursor.Getter getter)
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.