@Deprecated public class RestfulResultSet extends AbstractResultSet
| Modifier and Type | Class and Description |
|---|---|
static class |
RestfulResultSet.Field
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
static DateTimeFormatter |
rfc3339Parser
Deprecated.
|
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 |
|---|
RestfulResultSet(String database,
Statement statement,
com.fasterxml.jackson.databind.JsonNode resultJson)
Deprecated.
由一个result的Json构造结果集,对应执行show databases, show tables等这些语句,返回结果集,但无法获取结果集对应的meta,统一当成String处理
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
absolute(int row)
Deprecated.
|
void |
afterLast()
Deprecated.
|
void |
beforeFirst()
Deprecated.
|
void |
close()
Deprecated.
|
int |
findColumn(String columnLabel)
Deprecated.
|
boolean |
first()
Deprecated.
|
BigDecimal |
getBigDecimal(int columnIndex)
Deprecated.
|
boolean |
getBoolean(int columnIndex)
Deprecated.
|
byte |
getByte(int columnIndex)
Deprecated.
|
byte[] |
getBytes(int columnIndex)
Deprecated.
|
Date |
getDate(int columnIndex)
Deprecated.
|
double |
getDouble(int columnIndex)
Deprecated.
|
float |
getFloat(int columnIndex)
Deprecated.
|
int |
getInt(int columnIndex)
Deprecated.
|
long |
getLong(int columnIndex)
Deprecated.
|
ResultSetMetaData |
getMetaData()
Deprecated.
|
String |
getNString(int columnIndex)
Deprecated.
|
Object |
getObject(int columnIndex)
Deprecated.
|
int |
getRow()
Deprecated.
|
short |
getShort(int columnIndex)
Deprecated.
|
Statement |
getStatement()
Deprecated.
|
String |
getString(int columnIndex)
Deprecated.
|
Time |
getTime(int columnIndex)
Deprecated.
|
Timestamp |
getTimestamp(int columnIndex)
Deprecated.
|
Timestamp |
getTimestamp(int columnIndex,
Calendar cal)
Deprecated.
|
boolean |
isAfterLast()
Deprecated.
|
boolean |
isBeforeFirst()
Deprecated.
|
boolean |
isClosed()
Deprecated.
|
boolean |
isFirst()
Deprecated.
|
boolean |
isLast()
Deprecated.
|
boolean |
last()
Deprecated.
|
boolean |
next()
Deprecated.
|
Timestamp |
parseTimestampColumnData(com.fasterxml.jackson.databind.JsonNode row,
int colIndex)
Deprecated.
|
boolean |
previous()
Deprecated.
|
boolean |
relative(int rows)
Deprecated.
|
cancelRowUpdates, checkAvailability, clearWarnings, deleteRow, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBigDecimal, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getByte, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getConcurrency, getCursorName, getDate, getDate, getDate, getDouble, getFetchDirection, getFetchSize, getFloat, getForkJoinPool, getHoldability, getInt, getLong, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getObject, getObject, getObject, getObject, getObject, getRef, getRef, getRowId, getRowId, getShort, getSQLXML, getSQLXML, getString, getTime, getTime, getTime, getTimestamp, getTimestamp, getType, getUnicodeStream, getUnicodeStream, getURL, getURL, getWarnings, insertRow, moveToCurrentRow, moveToInsertRow, refreshRow, 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, unwrappublic static final DateTimeFormatter rfc3339Parser
public RestfulResultSet(String database, Statement statement, com.fasterxml.jackson.databind.JsonNode resultJson) throws SQLException
resultJson: - 包含data信息的结果集,有sql返回的结果集SQLExceptionpublic Timestamp parseTimestampColumnData(com.fasterxml.jackson.databind.JsonNode row, int colIndex) throws SQLException
SQLExceptionpublic boolean next()
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 Date getDate(int columnIndex) throws SQLException
getDate in interface ResultSetgetDate in class AbstractResultSetSQLExceptionpublic Time getTime(int columnIndex) throws SQLException
getTime in interface ResultSetgetTime in class AbstractResultSetSQLExceptionpublic 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 boolean isBeforeFirst()
throws SQLException
isBeforeFirst in interface ResultSetisBeforeFirst in class AbstractResultSetSQLExceptionpublic boolean isAfterLast()
throws SQLException
isAfterLast in interface ResultSetisAfterLast in class AbstractResultSetSQLExceptionpublic boolean isFirst()
throws SQLException
isFirst in interface ResultSetisFirst in class AbstractResultSetSQLExceptionpublic boolean isLast()
throws SQLException
isLast in interface ResultSetisLast in class AbstractResultSetSQLExceptionpublic void beforeFirst()
throws SQLException
beforeFirst in interface ResultSetbeforeFirst in class AbstractResultSetSQLExceptionpublic void afterLast()
throws SQLException
afterLast in interface ResultSetafterLast in class AbstractResultSetSQLExceptionpublic boolean first()
throws SQLException
first in interface ResultSetfirst in class AbstractResultSetSQLExceptionpublic boolean last()
throws SQLException
last in interface ResultSetlast in class AbstractResultSetSQLExceptionpublic int getRow()
throws SQLException
getRow in interface ResultSetgetRow in class AbstractResultSetSQLExceptionpublic boolean absolute(int row)
throws SQLException
absolute in interface ResultSetabsolute in class AbstractResultSetSQLExceptionpublic boolean relative(int rows)
throws SQLException
relative in interface ResultSetrelative in class AbstractResultSetSQLExceptionpublic boolean previous()
throws SQLException
previous in interface ResultSetprevious in class AbstractResultSetSQLExceptionpublic String getNString(int columnIndex) throws SQLException
SQLExceptionpublic Statement getStatement() throws SQLException
SQLExceptionpublic Timestamp getTimestamp(int columnIndex, Calendar cal) throws SQLException
SQLExceptionpublic boolean isClosed()
throws SQLException
SQLExceptionCopyright © 2026. All rights reserved.