Package com.clickhouse.jdbc
Class AbstractResultSet
java.lang.Object
com.clickhouse.jdbc.JdbcWrapper
com.clickhouse.jdbc.AbstractResultSet
- All Implemented Interfaces:
AutoCloseable,ResultSet,Wrapper
- Direct Known Subclasses:
ClickHouseResultSet,CombinedResultSet
-
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 -
Method Summary
Modifier and TypeMethodDescriptionbooleanabsolute(int row) voidvoidvoidvoidvoidprotected voidbooleanfirst()intintintintgetType()voidbooleanlast()voidvoidbooleanprevious()voidbooleanrelative(int rows) booleanbooleanbooleanvoidsetFetchDirection(int direction) voidupdateArray(int columnIndex, Array x) voidupdateArray(String columnLabel, Array x) voidupdateAsciiStream(int columnIndex, InputStream x) voidupdateAsciiStream(int columnIndex, InputStream x, int length) voidupdateAsciiStream(int columnIndex, InputStream x, long length) voidupdateAsciiStream(String columnLabel, InputStream x) voidupdateAsciiStream(String columnLabel, InputStream x, int length) voidupdateAsciiStream(String columnLabel, InputStream x, long length) voidupdateBigDecimal(int columnIndex, BigDecimal x) voidupdateBigDecimal(String columnLabel, BigDecimal x) voidupdateBinaryStream(int columnIndex, InputStream x) voidupdateBinaryStream(int columnIndex, InputStream x, int length) voidupdateBinaryStream(int columnIndex, InputStream x, long length) voidupdateBinaryStream(String columnLabel, InputStream x) voidupdateBinaryStream(String columnLabel, InputStream x, int length) voidupdateBinaryStream(String columnLabel, InputStream x, long length) voidupdateBlob(int columnIndex, InputStream inputStream) voidupdateBlob(int columnIndex, InputStream inputStream, long length) voidupdateBlob(int columnIndex, Blob x) voidupdateBlob(String columnLabel, InputStream inputStream) voidupdateBlob(String columnLabel, InputStream inputStream, long length) voidupdateBlob(String columnLabel, Blob x) voidupdateBoolean(int columnIndex, boolean x) voidupdateBoolean(String columnLabel, boolean x) voidupdateByte(int columnIndex, byte x) voidupdateByte(String columnLabel, byte x) voidupdateBytes(int columnIndex, byte[] x) voidupdateBytes(String columnLabel, byte[] x) voidupdateCharacterStream(int columnIndex, Reader reader) voidupdateCharacterStream(int columnIndex, Reader reader, int length) voidupdateCharacterStream(int columnIndex, Reader reader, long length) voidupdateCharacterStream(String columnLabel, Reader reader) voidupdateCharacterStream(String columnLabel, Reader reader, int length) voidupdateCharacterStream(String columnLabel, Reader reader, long length) voidupdateClob(int columnIndex, Reader reader) voidupdateClob(int columnIndex, Reader reader, long length) voidupdateClob(int columnIndex, Clob x) voidupdateClob(String columnLabel, Reader reader) voidupdateClob(String columnLabel, Reader reader, long length) voidupdateClob(String columnLabel, Clob x) voidupdateDate(int columnIndex, Date x) voidupdateDate(String columnLabel, Date x) voidupdateDouble(int columnIndex, double x) voidupdateDouble(String columnLabel, double x) voidupdateFloat(int columnIndex, float x) voidupdateFloat(String columnLabel, float x) voidupdateInt(int columnIndex, int x) voidvoidupdateLong(int columnIndex, long x) voidupdateLong(String columnLabel, long x) voidupdateNCharacterStream(int columnIndex, Reader reader) voidupdateNCharacterStream(int columnIndex, Reader reader, long length) voidupdateNCharacterStream(String columnLabel, Reader reader) voidupdateNCharacterStream(String columnLabel, Reader reader, long length) voidupdateNClob(int columnIndex, Reader reader) voidupdateNClob(int columnIndex, Reader reader, long length) voidupdateNClob(int columnIndex, NClob nClob) voidupdateNClob(String columnLabel, Reader reader) voidupdateNClob(String columnLabel, Reader reader, long length) voidupdateNClob(String columnLabel, NClob nClob) voidupdateNString(int columnIndex, String nString) voidupdateNString(String columnLabel, String nString) voidupdateNull(int columnIndex) voidupdateNull(String columnLabel) voidupdateObject(int columnIndex, Object x) voidupdateObject(int columnIndex, Object x, int scaleOrLength) voidupdateObject(int columnIndex, Object x, SQLType targetSqlType) voidupdateObject(int columnIndex, Object x, SQLType targetSqlType, int scaleOrLength) voidupdateObject(String columnLabel, Object x) voidupdateObject(String columnLabel, Object x, int scaleOrLength) voidupdateObject(String columnLabel, Object x, SQLType targetSqlType) voidupdateObject(String columnLabel, Object x, SQLType targetSqlType, int scaleOrLength) voidvoidvoidvoidupdateRowId(int columnIndex, RowId x) voidupdateRowId(String columnLabel, RowId x) voidupdateShort(int columnIndex, short x) voidupdateShort(String columnLabel, short x) voidupdateSQLXML(int columnIndex, SQLXML xmlObject) voidupdateSQLXML(String columnLabel, SQLXML xmlObject) voidupdateString(int columnIndex, String x) voidupdateString(String columnLabel, String x) voidupdateTime(int columnIndex, Time x) voidupdateTime(String columnLabel, Time x) voidupdateTimestamp(int columnIndex, Timestamp x) voidupdateTimestamp(String columnLabel, Timestamp x) Methods inherited from class com.clickhouse.jdbc.JdbcWrapper
isWrapperFor, unwrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.sql.ResultSet
close, findColumn, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBigDecimal, getBigDecimal, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getCursorName, getDate, getDate, getDate, getDate, getDouble, getDouble, getFetchSize, getFloat, getFloat, getInt, getInt, getLong, getLong, getMetaData, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getObject, getObject, getObject, getObject, getObject, getObject, getRef, getRef, getRow, getRowId, getRowId, getShort, getShort, getSQLXML, getSQLXML, getStatement, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getUnicodeStream, getUnicodeStream, getURL, getURL, isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, next, setFetchSize, wasNullMethods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
-
Constructor Details
-
AbstractResultSet
public AbstractResultSet()
-
-
Method Details
-
ensureOpen
- Throws:
SQLException
-
absolute
- Specified by:
absolutein interfaceResultSet- Throws:
SQLException
-
afterLast
- Specified by:
afterLastin interfaceResultSet- Throws:
SQLException
-
beforeFirst
- Specified by:
beforeFirstin interfaceResultSet- Throws:
SQLException
-
cancelRowUpdates
- Specified by:
cancelRowUpdatesin interfaceResultSet- Throws:
SQLException
-
clearWarnings
- Specified by:
clearWarningsin interfaceResultSet- Throws:
SQLException
-
deleteRow
- Specified by:
deleteRowin interfaceResultSet- Throws:
SQLException
-
first
- Specified by:
firstin interfaceResultSet- Throws:
SQLException
-
getConcurrency
- Specified by:
getConcurrencyin interfaceResultSet- Throws:
SQLException
-
getFetchDirection
- Specified by:
getFetchDirectionin interfaceResultSet- Throws:
SQLException
-
getHoldability
- Specified by:
getHoldabilityin interfaceResultSet- Throws:
SQLException
-
getType
- Specified by:
getTypein interfaceResultSet- Throws:
SQLException
-
getWarnings
- Specified by:
getWarningsin interfaceResultSet- Throws:
SQLException
-
insertRow
- Specified by:
insertRowin interfaceResultSet- Throws:
SQLException
-
last
- Specified by:
lastin interfaceResultSet- Throws:
SQLException
-
moveToCurrentRow
- Specified by:
moveToCurrentRowin interfaceResultSet- Throws:
SQLException
-
moveToInsertRow
- Specified by:
moveToInsertRowin interfaceResultSet- Throws:
SQLException
-
previous
- Specified by:
previousin interfaceResultSet- Throws:
SQLException
-
refreshRow
- Specified by:
refreshRowin interfaceResultSet- Throws:
SQLException
-
relative
- Specified by:
relativein interfaceResultSet- Throws:
SQLException
-
rowDeleted
- Specified by:
rowDeletedin interfaceResultSet- Throws:
SQLException
-
rowInserted
- Specified by:
rowInsertedin interfaceResultSet- Throws:
SQLException
-
rowUpdated
- Specified by:
rowUpdatedin interfaceResultSet- Throws:
SQLException
-
setFetchDirection
- Specified by:
setFetchDirectionin interfaceResultSet- Throws:
SQLException
-
updateArray
- Specified by:
updateArrayin interfaceResultSet- Throws:
SQLException
-
updateArray
- Specified by:
updateArrayin interfaceResultSet- Throws:
SQLException
-
updateAsciiStream
- Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLException
-
updateAsciiStream
- Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLException
-
updateAsciiStream
- Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLException
-
updateAsciiStream
- Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLException
-
updateAsciiStream
- Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLException
-
updateAsciiStream
- Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLException
-
updateBigDecimal
- Specified by:
updateBigDecimalin interfaceResultSet- Throws:
SQLException
-
updateBigDecimal
- Specified by:
updateBigDecimalin interfaceResultSet- Throws:
SQLException
-
updateBinaryStream
- Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLException
-
updateBinaryStream
- Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLException
-
updateBinaryStream
- Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLException
-
updateBinaryStream
- Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLException
-
updateBinaryStream
- Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLException
-
updateBinaryStream
- Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLException
-
updateBlob
- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateBlob
- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateBlob
- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateBlob
- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateBlob
- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateBlob
public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException - Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateBoolean
- Specified by:
updateBooleanin interfaceResultSet- Throws:
SQLException
-
updateBoolean
- Specified by:
updateBooleanin interfaceResultSet- Throws:
SQLException
-
updateByte
- Specified by:
updateBytein interfaceResultSet- Throws:
SQLException
-
updateByte
- Specified by:
updateBytein interfaceResultSet- Throws:
SQLException
-
updateBytes
- Specified by:
updateBytesin interfaceResultSet- Throws:
SQLException
-
updateBytes
- Specified by:
updateBytesin interfaceResultSet- Throws:
SQLException
-
updateCharacterStream
- Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateCharacterStream
- Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateCharacterStream
- Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(String columnLabel, Reader reader, int length) throws SQLException - Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateCharacterStream
- Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(String columnLabel, Reader reader, long length) throws SQLException - Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateClob
- Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateClob
- Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateClob
- Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateClob
- Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateClob
- Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateClob
- Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateDate
- Specified by:
updateDatein interfaceResultSet- Throws:
SQLException
-
updateDate
- Specified by:
updateDatein interfaceResultSet- Throws:
SQLException
-
updateDouble
- Specified by:
updateDoublein interfaceResultSet- Throws:
SQLException
-
updateDouble
- Specified by:
updateDoublein interfaceResultSet- Throws:
SQLException
-
updateFloat
- Specified by:
updateFloatin interfaceResultSet- Throws:
SQLException
-
updateFloat
- Specified by:
updateFloatin interfaceResultSet- Throws:
SQLException
-
updateInt
- Specified by:
updateIntin interfaceResultSet- Throws:
SQLException
-
updateInt
- Specified by:
updateIntin interfaceResultSet- Throws:
SQLException
-
updateLong
- Specified by:
updateLongin interfaceResultSet- Throws:
SQLException
-
updateLong
- Specified by:
updateLongin interfaceResultSet- Throws:
SQLException
-
updateNCharacterStream
- Specified by:
updateNCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateNCharacterStream
- Specified by:
updateNCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateNCharacterStream
- Specified by:
updateNCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateNCharacterStream
public void updateNCharacterStream(String columnLabel, Reader reader, long length) throws SQLException - Specified by:
updateNCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateNClob
- Specified by:
updateNClobin interfaceResultSet- Throws:
SQLException
-
updateNClob
- Specified by:
updateNClobin interfaceResultSet- Throws:
SQLException
-
updateNClob
- Specified by:
updateNClobin interfaceResultSet- Throws:
SQLException
-
updateNClob
- Specified by:
updateNClobin interfaceResultSet- Throws:
SQLException
-
updateNClob
- Specified by:
updateNClobin interfaceResultSet- Throws:
SQLException
-
updateNClob
- Specified by:
updateNClobin interfaceResultSet- Throws:
SQLException
-
updateNString
- Specified by:
updateNStringin interfaceResultSet- Throws:
SQLException
-
updateNString
- Specified by:
updateNStringin interfaceResultSet- Throws:
SQLException
-
updateNull
- Specified by:
updateNullin interfaceResultSet- Throws:
SQLException
-
updateNull
- Specified by:
updateNullin interfaceResultSet- Throws:
SQLException
-
updateObject
- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLException
-
updateObject
- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLException
-
updateObject
- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLException
-
updateObject
- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLException
-
updateObject
- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLException
-
updateObject
- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLException
-
updateObject
public void updateObject(int columnIndex, Object x, SQLType targetSqlType, int scaleOrLength) throws SQLException - Specified by:
updateObjectin interfaceResultSet- Throws:
SQLException
-
updateObject
public void updateObject(String columnLabel, Object x, SQLType targetSqlType, int scaleOrLength) throws SQLException - Specified by:
updateObjectin interfaceResultSet- Throws:
SQLException
-
updateRef
- Specified by:
updateRefin interfaceResultSet- Throws:
SQLException
-
updateRef
- Specified by:
updateRefin interfaceResultSet- Throws:
SQLException
-
updateRow
- Specified by:
updateRowin interfaceResultSet- Throws:
SQLException
-
updateRowId
- Specified by:
updateRowIdin interfaceResultSet- Throws:
SQLException
-
updateRowId
- Specified by:
updateRowIdin interfaceResultSet- Throws:
SQLException
-
updateSQLXML
- Specified by:
updateSQLXMLin interfaceResultSet- Throws:
SQLException
-
updateSQLXML
- Specified by:
updateSQLXMLin interfaceResultSet- Throws:
SQLException
-
updateShort
- Specified by:
updateShortin interfaceResultSet- Throws:
SQLException
-
updateShort
- Specified by:
updateShortin interfaceResultSet- Throws:
SQLException
-
updateString
- Specified by:
updateStringin interfaceResultSet- Throws:
SQLException
-
updateString
- Specified by:
updateStringin interfaceResultSet- Throws:
SQLException
-
updateTime
- Specified by:
updateTimein interfaceResultSet- Throws:
SQLException
-
updateTime
- Specified by:
updateTimein interfaceResultSet- Throws:
SQLException
-
updateTimestamp
- Specified by:
updateTimestampin interfaceResultSet- Throws:
SQLException
-
updateTimestamp
- Specified by:
updateTimestampin interfaceResultSet- Throws:
SQLException
-