public class WSConsumerResultSet extends AbstractResultSet
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
columnNames |
protected List<RestfulResultSet.Field> |
fields |
protected boolean |
isClosed |
protected RestfulResultSetMetaData |
metaData |
protected int |
numOfRows |
protected List<List<Object>> |
result |
protected int |
rowIndex |
protected boolean |
varcharAsString |
protected ZoneId |
zoneId |
START_BACKEND_FETCH_BLOCK_NUM, timestampPrecision, wasNullCLOSE_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 and Description |
|---|
WSConsumerResultSet(Transport transport,
TMQRequestFactory factory,
long messageId,
String database,
ZoneId zoneId) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
findColumn(String columnLabel) |
BigDecimal |
getBigDecimal(int columnIndex) |
boolean |
getBoolean(int columnIndex) |
byte |
getByte(int columnIndex) |
byte[] |
getBytes(int columnIndex) |
double |
getDouble(int columnIndex) |
float |
getFloat(int columnIndex) |
int |
getInt(int columnIndex) |
long |
getLong(int columnIndex) |
ResultSetMetaData |
getMetaData() |
String |
getNString(int columnIndex) |
Object |
getObject(int columnIndex) |
short |
getShort(int columnIndex) |
Statement |
getStatement() |
String |
getString(int columnIndex) |
Timestamp |
getTimestamp(int columnIndex) |
Timestamp |
getTimestamp(int columnIndex,
Calendar cal) |
ConsumerRecords<TMQEnhMap> |
handleSubscribeDB(PollResp pollResp) |
boolean |
isClosed() |
boolean |
next() |
Object |
parseValue(int columnIndex) |
void |
reset() |
absolute, afterLast, beforeFirst, cancelRowUpdates, checkAvailability, clearWarnings, deleteRow, first, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBigDecimal, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getByte, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getConcurrency, getCursorName, getDate, getDate, getDate, getDate, getDouble, getFetchDirection, getFetchSize, getFloat, getForkJoinPool, getHoldability, getInt, getLong, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getObject, getObject, getObject, getObject, getObject, getRef, getRef, getRow, getRowId, getRowId, getShort, getSQLXML, getSQLXML, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getType, getUnicodeStream, getUnicodeStream, getURL, getURL, getWarnings, insertRow, isAfterLast, isBeforeFirst, isFirst, isLast, last, moveToCurrentRow, moveToInsertRow, previous, refreshRow, relative, rowDeleted, rowInserted, rowUpdated, setFetchDirection, setFetchSize, setTimestampPrecision, 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, updateRef, updateRef, updateRow, updateRowId, updateRowId, updateShort, updateShort, updateSQLXML, updateSQLXML, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestamp, wasNullisWrapperFor, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitupdateObject, updateObject, updateObject, updateObjectisWrapperFor, unwrapprotected volatile boolean isClosed
protected RestfulResultSetMetaData metaData
protected List<RestfulResultSet.Field> fields
protected int numOfRows
protected int rowIndex
protected final ZoneId zoneId
protected final boolean varcharAsString
public WSConsumerResultSet(Transport transport, TMQRequestFactory factory, long messageId, String database, ZoneId zoneId)
public void reset()
public boolean next()
throws SQLException
SQLExceptionpublic ConsumerRecords<TMQEnhMap> handleSubscribeDB(PollResp pollResp) throws SQLException
SQLExceptionpublic void close()
throws SQLException
SQLExceptionpublic String getString(int columnIndex) throws SQLException
SQLExceptionpublic boolean getBoolean(int columnIndex)
throws SQLException
SQLExceptionpublic byte getByte(int columnIndex)
throws SQLException
SQLExceptionpublic short getShort(int columnIndex)
throws SQLException
SQLExceptionpublic int getInt(int columnIndex)
throws SQLException
SQLExceptionpublic long getLong(int columnIndex)
throws SQLException
SQLExceptionpublic float getFloat(int columnIndex)
throws SQLException
SQLExceptionpublic double getDouble(int columnIndex)
throws SQLException
SQLExceptionpublic byte[] getBytes(int columnIndex)
throws SQLException
SQLExceptionpublic Timestamp getTimestamp(int columnIndex) throws SQLException
SQLExceptionpublic ResultSetMetaData getMetaData() throws SQLException
SQLExceptionpublic Object getObject(int columnIndex) throws SQLException
SQLExceptionpublic int findColumn(String columnLabel) throws SQLException
SQLExceptionpublic BigDecimal getBigDecimal(int columnIndex) throws SQLException
SQLExceptionpublic Statement getStatement() throws SQLException
SQLExceptionpublic Timestamp getTimestamp(int columnIndex, Calendar cal) throws SQLException
SQLExceptionpublic boolean isClosed()
throws SQLException
SQLExceptionpublic String getNString(int columnIndex) throws SQLException
SQLExceptionpublic Object parseValue(int columnIndex) throws SQLException
SQLExceptionCopyright © 2026. All rights reserved.