Package com.aerospike.jdbc.sql
Class BaseResultSet<T>
java.lang.Object
com.aerospike.jdbc.sql.BaseResultSet<T>
- All Implemented Interfaces:
IndexToLabelResultSet,SimpleWrapper,UpdateResultSet,AutoCloseable,ResultSet,Wrapper
- Direct Known Subclasses:
AerospikeRecordResultSet,ListRecordSet
public abstract class BaseResultSet<T>
extends Object
implements ResultSet, IndexToLabelResultSet, UpdateResultSet, SimpleWrapper
-
Field Summary
Fields inherited from interface java.sql.ResultSet
CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE -
Method Summary
Modifier and TypeMethodDescriptionbooleanabsolute(int row) voidvoidvoidvoidclose()intfindColumn(String columnLabel) booleanfirst()getAsciiStream(String columnLabel) getBigDecimal(String columnLabel) getBinaryStream(String columnLabel) getCharacterStream(String columnLabel) intgetNCharacterStream(String columnLabel) getNString(String columnLabel) <U> UintgetRow()getTimestamp(String columnLabel) getTimestamp(String columnLabel, Calendar cal) getUnicodeStream(String columnLabel) booleanbooleanbooleanisClosed()booleanisFirst()booleanisLast()booleanlast()booleannext()booleanrelative(int rows) voidsetFetchSize(int rows) booleanwasNull()Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.aerospike.jdbc.sql.IndexToLabelResultSet
getArray, getAsciiStream, getBigDecimal, getBigDecimal, getBinaryStream, getBlob, getBoolean, getByte, getBytes, getCharacterStream, getClob, getColumnLabel, getDate, getDate, getDouble, getFloat, getInt, getLong, getNCharacterStream, getNClob, getNString, getObject, getObject, getObject, getRef, getRowId, getShort, getSQLXML, getString, getTime, getTime, getTimestamp, getTimestamp, getUnicodeStream, getURLMethods inherited from interface java.sql.ResultSet
getBigDecimal, getBoolean, getByte, getBytes, getDouble, getFloat, getInt, getLong, getShort, getStringMethods inherited from interface com.aerospike.jdbc.sql.SimpleWrapper
isWrapperFor, unwrapMethods inherited from interface com.aerospike.jdbc.sql.UpdateResultSet
cancelRowUpdates, deleteRow, getConcurrency, getFetchDirection, getFetchSize, getType, insertRow, moveToCurrentRow, moveToInsertRow, previous, refreshRow, rowDeleted, rowInserted, rowUpdated, setFetchDirection, updateArray, updateArray, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateAsciiStream, updateBigDecimal, updateBigDecimal, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBlob, updateBoolean, updateBoolean, updateByte, updateByte, updateBytes, updateBytes, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateCharacterStream, updateClob, updateClob, updateClob, updateClob, updateClob, updateClob, updateDate, updateDate, updateDouble, updateDouble, updateFloat, updateFloat, updateInt, updateInt, updateLong, updateLong, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNCharacterStream, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNClob, updateNString, updateNString, updateNull, updateNull, updateObject, updateObject, updateObject, updateObject, updateObject, updateObject, updateObject, updateObject, updateRef, updateRef, updateRow, updateRowId, updateRowId, updateShort, updateShort, updateSQLXML, updateSQLXML, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestamp
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceResultSet
-
wasNull
public boolean wasNull() -
getDate
- Specified by:
getDatein interfaceResultSet- Throws:
SQLException
-
getTime
- Specified by:
getTimein interfaceResultSet- Throws:
SQLException
-
getTimestamp
- Specified by:
getTimestampin interfaceResultSet- Throws:
SQLException
-
getAsciiStream
- Specified by:
getAsciiStreamin interfaceResultSet- Throws:
SQLException
-
getUnicodeStream
- Specified by:
getUnicodeStreamin interfaceResultSet- Throws:
SQLException
-
getBinaryStream
- Specified by:
getBinaryStreamin interfaceResultSet- Throws:
SQLException
-
getWarnings
- Specified by:
getWarningsin interfaceResultSet
-
clearWarnings
public void clearWarnings()- Specified by:
clearWarningsin interfaceResultSet
-
getCursorName
- Specified by:
getCursorNamein interfaceResultSet- Throws:
SQLException
-
getMetaData
- Specified by:
getMetaDatain interfaceResultSet
-
getObject
- Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-
findColumn
- Specified by:
findColumnin interfaceResultSet- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStreamin interfaceResultSet
-
getBigDecimal
- Specified by:
getBigDecimalin interfaceResultSet- Throws:
SQLException
-
isBeforeFirst
public boolean isBeforeFirst()- Specified by:
isBeforeFirstin interfaceResultSet
-
isAfterLast
public boolean isAfterLast()- Specified by:
isAfterLastin interfaceResultSet
-
isFirst
public boolean isFirst() -
isLast
- Specified by:
isLastin interfaceResultSet- Throws:
SQLException
-
beforeFirst
- Specified by:
beforeFirstin interfaceResultSet- Throws:
SQLException
-
afterLast
- Specified by:
afterLastin interfaceResultSet- Throws:
SQLException
-
first
- Specified by:
firstin interfaceResultSet- Throws:
SQLException
-
last
- Specified by:
lastin interfaceResultSet- Throws:
SQLException
-
getRow
public int getRow() -
absolute
- Specified by:
absolutein interfaceResultSet- Throws:
SQLException
-
relative
- Specified by:
relativein interfaceResultSet- Throws:
SQLException
-
setFetchSize
public void setFetchSize(int rows) - Specified by:
setFetchSizein interfaceResultSet
-
getStatement
- Specified by:
getStatementin interfaceResultSet
-
getObject
- Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-
getRef
- Specified by:
getRefin interfaceResultSet- Throws:
SQLException
-
getBlob
- Specified by:
getBlobin interfaceResultSet- Throws:
SQLException
-
getClob
- Specified by:
getClobin interfaceResultSet- Throws:
SQLException
-
getArray
-
getDate
- Specified by:
getDatein interfaceResultSet- Throws:
SQLException
-
getTime
- Specified by:
getTimein interfaceResultSet- Throws:
SQLException
-
getTimestamp
- Specified by:
getTimestampin interfaceResultSet- Throws:
SQLException
-
getURL
- Specified by:
getURLin interfaceResultSet- Throws:
SQLException
-
getRowId
- Specified by:
getRowIdin interfaceResultSet- Throws:
SQLException
-
getHoldability
public int getHoldability()- Specified by:
getHoldabilityin interfaceResultSet
-
isClosed
public boolean isClosed() -
getNClob
- Specified by:
getNClobin interfaceResultSet- Throws:
SQLException
-
getSQLXML
- Specified by:
getSQLXMLin interfaceResultSet- Throws:
SQLException
-
getNString
- Specified by:
getNStringin interfaceResultSet- Throws:
SQLException
-
getNCharacterStream
- Specified by:
getNCharacterStreamin interfaceResultSet
-
getObject
-
next
- Specified by:
nextin interfaceResultSet- Throws:
SQLException
-