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
-
Constructor Summary
Constructors Constructor Description BaseResultSet(Statement statement, String schema, String table, List<DataColumn> columns)
-
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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, getURL
Methods inherited from interface java.sql.ResultSet
getBigDecimal, getBoolean, getByte, getBytes, getDouble, getFloat, getInt, getLong, getShort, getString
Methods 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
-
Constructor Details
-
Method Details
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceResultSet
-
wasNull
public boolean wasNull() -
getDate
- Specified by:
getDate
in interfaceResultSet
- Throws:
SQLException
-
getTime
- Specified by:
getTime
in interfaceResultSet
- Throws:
SQLException
-
getTimestamp
- Specified by:
getTimestamp
in interfaceResultSet
- Throws:
SQLException
-
getAsciiStream
- Specified by:
getAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
getUnicodeStream
- Specified by:
getUnicodeStream
in interfaceResultSet
- Throws:
SQLException
-
getBinaryStream
- Specified by:
getBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
getWarnings
- Specified by:
getWarnings
in interfaceResultSet
-
clearWarnings
public void clearWarnings()- Specified by:
clearWarnings
in interfaceResultSet
-
getCursorName
- Specified by:
getCursorName
in interfaceResultSet
- Throws:
SQLException
-
getMetaData
- Specified by:
getMetaData
in interfaceResultSet
-
getObject
- Specified by:
getObject
in interfaceResultSet
- Throws:
SQLException
-
findColumn
- Specified by:
findColumn
in interfaceResultSet
- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStream
in interfaceResultSet
-
getBigDecimal
- Specified by:
getBigDecimal
in interfaceResultSet
- Throws:
SQLException
-
isBeforeFirst
public boolean isBeforeFirst()- Specified by:
isBeforeFirst
in interfaceResultSet
-
isAfterLast
public boolean isAfterLast()- Specified by:
isAfterLast
in interfaceResultSet
-
isFirst
public boolean isFirst() -
isLast
- Specified by:
isLast
in interfaceResultSet
- Throws:
SQLException
-
beforeFirst
- Specified by:
beforeFirst
in interfaceResultSet
- Throws:
SQLException
-
afterLast
- Specified by:
afterLast
in interfaceResultSet
- Throws:
SQLException
-
first
- Specified by:
first
in interfaceResultSet
- Throws:
SQLException
-
last
- Specified by:
last
in interfaceResultSet
- Throws:
SQLException
-
getRow
public int getRow() -
absolute
- Specified by:
absolute
in interfaceResultSet
- Throws:
SQLException
-
relative
- Specified by:
relative
in interfaceResultSet
- Throws:
SQLException
-
setFetchSize
public void setFetchSize(int rows)- Specified by:
setFetchSize
in interfaceResultSet
-
getStatement
- Specified by:
getStatement
in interfaceResultSet
-
getObject
- Specified by:
getObject
in interfaceResultSet
- Throws:
SQLException
-
getRef
- Specified by:
getRef
in interfaceResultSet
- Throws:
SQLException
-
getBlob
- Specified by:
getBlob
in interfaceResultSet
- Throws:
SQLException
-
getClob
- Specified by:
getClob
in interfaceResultSet
- Throws:
SQLException
-
getArray
-
getDate
- Specified by:
getDate
in interfaceResultSet
- Throws:
SQLException
-
getTime
- Specified by:
getTime
in interfaceResultSet
- Throws:
SQLException
-
getTimestamp
- Specified by:
getTimestamp
in interfaceResultSet
- Throws:
SQLException
-
getURL
- Specified by:
getURL
in interfaceResultSet
- Throws:
SQLException
-
getRowId
- Specified by:
getRowId
in interfaceResultSet
- Throws:
SQLException
-
getHoldability
public int getHoldability()- Specified by:
getHoldability
in interfaceResultSet
-
isClosed
public boolean isClosed() -
getNClob
- Specified by:
getNClob
in interfaceResultSet
- Throws:
SQLException
-
getSQLXML
- Specified by:
getSQLXML
in interfaceResultSet
- Throws:
SQLException
-
getNString
- Specified by:
getNString
in interfaceResultSet
- Throws:
SQLException
-
getNCharacterStream
- Specified by:
getNCharacterStream
in interfaceResultSet
-
getObject
-
next
- Specified by:
next
in interfaceResultSet
- Throws:
SQLException
-