Package com.clickhouse.jdbc
Class CombinedResultSet
java.lang.Object
com.clickhouse.jdbc.JdbcWrapper
com.clickhouse.jdbc.AbstractResultSet
com.clickhouse.jdbc.CombinedResultSet
- All Implemented Interfaces:
AutoCloseable,ResultSet,Wrapper
Wrapper of multiple ResultSets.
-
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
ConstructorsConstructorDescriptionCombinedResultSet(ResultSet... results) CombinedResultSet(Collection<ResultSet> results) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected ResultSetcurrent()intfindColumn(String columnLabel) getArray(int columnIndex) getAsciiStream(int columnIndex) getAsciiStream(String columnLabel) getBigDecimal(int columnIndex) getBigDecimal(int columnIndex, int scale) getBigDecimal(String columnLabel) getBigDecimal(String columnLabel, int scale) getBinaryStream(int columnIndex) getBinaryStream(String columnLabel) getBlob(int columnIndex) booleangetBoolean(int columnIndex) booleangetBoolean(String columnLabel) bytegetByte(int columnIndex) bytebyte[]getBytes(int columnIndex) byte[]getCharacterStream(int columnIndex) getCharacterStream(String columnLabel) getClob(int columnIndex) getDate(int columnIndex) doublegetDouble(int columnIndex) doubleintfloatgetFloat(int columnIndex) floatintgetInt(int columnIndex) intlonggetLong(int columnIndex) longgetNCharacterStream(int columnIndex) getNCharacterStream(String columnLabel) getNClob(int columnIndex) getNString(int columnIndex) getNString(String columnLabel) getObject(int columnIndex) <T> T<T> TgetRef(int columnIndex) intgetRow()getRowId(int columnIndex) shortgetShort(int columnIndex) shortgetSQLXML(int columnIndex) getString(int columnIndex) getTime(int columnIndex) getTimestamp(int columnIndex) getTimestamp(int columnIndex, Calendar cal) getTimestamp(String columnLabel) getTimestamp(String columnLabel, Calendar cal) getUnicodeStream(int columnIndex) getUnicodeStream(String columnLabel) getURL(int columnIndex) protected booleanhasNext()booleanbooleanbooleanisClosed()booleanisFirst()booleanisLast()booleannext()booleanbooleanbooleanvoidsetFetchSize(int rows) booleanwasNull()Methods inherited from class com.clickhouse.jdbc.AbstractResultSet
absolute, afterLast, beforeFirst, cancelRowUpdates, clearWarnings, deleteRow, ensureOpen, first, getConcurrency, getFetchDirection, getHoldability, getType, getWarnings, insertRow, last, moveToCurrentRow, moveToInsertRow, previous, refreshRow, relative, 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, updateTimestampMethods 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.Wrapper
isWrapperFor, unwrap
-
Constructor Details
-
CombinedResultSet
-
CombinedResultSet
-
-
Method Details
-
current
- Throws:
SQLException
-
hasNext
- Throws:
SQLException
-
next
- Throws:
SQLException
-
close
- Throws:
SQLException
-
wasNull
- Throws:
SQLException
-
getString
- Throws:
SQLException
-
getBoolean
- Throws:
SQLException
-
getByte
- Throws:
SQLException
-
getShort
- Throws:
SQLException
-
getInt
- Throws:
SQLException
-
getLong
- Throws:
SQLException
-
getFloat
- Throws:
SQLException
-
getDouble
- Throws:
SQLException
-
getBigDecimal
- Throws:
SQLException
-
getBytes
- Throws:
SQLException
-
getDate
- Throws:
SQLException
-
getTime
- Throws:
SQLException
-
getTimestamp
- Throws:
SQLException
-
getAsciiStream
- Throws:
SQLException
-
getUnicodeStream
- Throws:
SQLException
-
getBinaryStream
- Throws:
SQLException
-
getString
- Throws:
SQLException
-
getBoolean
- Throws:
SQLException
-
getByte
- Throws:
SQLException
-
getShort
- Throws:
SQLException
-
getInt
- Throws:
SQLException
-
getLong
- Throws:
SQLException
-
getFloat
- Throws:
SQLException
-
getDouble
- Throws:
SQLException
-
getBigDecimal
- Throws:
SQLException
-
getBytes
- Throws:
SQLException
-
getDate
- Throws:
SQLException
-
getTime
- Throws:
SQLException
-
getTimestamp
- Throws:
SQLException
-
getAsciiStream
- Throws:
SQLException
-
getUnicodeStream
- Throws:
SQLException
-
getBinaryStream
- Throws:
SQLException
-
getCursorName
- Throws:
SQLException
-
getMetaData
- Throws:
SQLException
-
getObject
- Throws:
SQLException
-
getObject
- Throws:
SQLException
-
findColumn
- Throws:
SQLException
-
getCharacterStream
- Throws:
SQLException
-
getCharacterStream
- Throws:
SQLException
-
getBigDecimal
- Throws:
SQLException
-
getBigDecimal
- Throws:
SQLException
-
isBeforeFirst
- Throws:
SQLException
-
isAfterLast
- Throws:
SQLException
-
isFirst
- Throws:
SQLException
-
isLast
- Throws:
SQLException
-
getRow
- Throws:
SQLException
-
setFetchSize
- Throws:
SQLException
-
getFetchSize
- Throws:
SQLException
-
rowUpdated
- Specified by:
rowUpdatedin interfaceResultSet- Overrides:
rowUpdatedin classAbstractResultSet- Throws:
SQLException
-
rowInserted
- Specified by:
rowInsertedin interfaceResultSet- Overrides:
rowInsertedin classAbstractResultSet- Throws:
SQLException
-
rowDeleted
- Specified by:
rowDeletedin interfaceResultSet- Overrides:
rowDeletedin classAbstractResultSet- Throws:
SQLException
-
getStatement
- Throws:
SQLException
-
getObject
- Throws:
SQLException
-
getRef
- Throws:
SQLException
-
getBlob
- Throws:
SQLException
-
getClob
- Throws:
SQLException
-
getArray
- Throws:
SQLException
-
getObject
- Throws:
SQLException
-
getRef
- Throws:
SQLException
-
getBlob
- Throws:
SQLException
-
getClob
- Throws:
SQLException
-
getArray
- Throws:
SQLException
-
getDate
- Throws:
SQLException
-
getDate
- Throws:
SQLException
-
getTime
- Throws:
SQLException
-
getTime
- Throws:
SQLException
-
getTimestamp
- Throws:
SQLException
-
getTimestamp
- Throws:
SQLException
-
getURL
- Throws:
SQLException
-
getURL
- Throws:
SQLException
-
getRowId
- Throws:
SQLException
-
getRowId
- Throws:
SQLException
-
isClosed
- Throws:
SQLException
-
getNClob
- Throws:
SQLException
-
getNClob
- Throws:
SQLException
-
getSQLXML
- Throws:
SQLException
-
getSQLXML
- Throws:
SQLException
-
getNString
- Throws:
SQLException
-
getNString
- Throws:
SQLException
-
getNCharacterStream
- Throws:
SQLException
-
getNCharacterStream
- Throws:
SQLException
-
getObject
- Throws:
SQLException
-
getObject
- Throws:
SQLException
-