public class JDBC4ResultSet extends Object implements ResultSetImpl
| 限定符和类型 | 类和说明 |
|---|---|
static class |
JDBC4ResultSet.ResultSetClass |
| 限定符和类型 | 字段和说明 |
|---|---|
protected int |
columnIndexOffset |
protected int |
columnInformationLength |
protected ColumnLabelIndexer |
columnLabelIndexer |
protected ColumnDefinition[] |
columnsInformation |
ComplexData[] |
complexData |
int[] |
complexEndPos |
protected OceanBaseConnection |
connection |
protected byte[][] |
data |
protected int |
dataSize
dataSize can be -1, 0, 1, ..., n
|
protected int |
discardedRows |
protected int |
endIndexInEntireResult |
protected int |
fetchSize |
protected boolean |
forceAlias |
protected boolean |
isEof |
protected boolean |
isLastRowSent |
protected boolean |
isModified |
protected int |
lastRowPointer |
protected static Logger |
lockLogger |
protected boolean |
noBackslashEscapes |
protected int |
notInsertRowPointer |
protected Options |
options |
protected long |
processedRows
reset before fetch, used for oracle mode
|
protected Protocol |
protocol |
protected PacketInputStream |
reader |
protected int |
resultSetConcurType |
protected int |
resultSetScrollType |
RowProtocol |
row |
protected int |
rowPointer |
protected int |
startIndexInEntireResult
Mark the absolute position in entire result for the first row in cache.
|
protected int |
state |
protected static int |
STATE_INSERT |
protected static int |
STATE_STANDARD
updatable characters
|
protected static int |
STATE_UPDATE |
protected static int |
STATE_UPDATED |
protected OceanBaseStatement |
statement |
protected ResourceStatus |
status |
protected TimeZone |
timeZone |
static int |
TINYINT1_IS_BIT |
static String |
UpdatableResultSet_12 |
static int |
YEAR_IS_DATE_TYPE |
| 构造器和说明 |
|---|
JDBC4ResultSet(ColumnDefinition[] columnDefinition,
List<byte[]> resultSet,
Protocol protocol,
int resultSetScrollType)
Create filled result-set.
|
JDBC4ResultSet(ColumnDefinition[] columnDefinition,
Results results,
Protocol protocol,
boolean callableResult,
boolean eofDeprecated,
boolean isPsOutParameter)
Create a cursor resultSet
|
JDBC4ResultSet(ColumnDefinition[] columnDefinition,
Results results,
Protocol protocol,
PacketInputStream reader,
boolean callableResult,
boolean eofDeprecated,
boolean isPsOutParameter)
Create a complete or streaming resultSet
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
abort()
Connection.abort() has been called, abort result-set.
|
boolean |
absolute(int row) |
void |
addRowData(byte[] rawData) |
protected void |
addStreamingValue()
This permit to add next streaming values to existing resultSet.
|
void |
afterLast() |
boolean |
assign(JDBC4ResultSet opt) |
void |
beforeFirst() |
protected void |
cancelRowInserts() |
void |
cancelRowUpdates() |
void |
changeRowProtocol(RowProtocol row) |
protected void |
checkClose() |
protected boolean |
checkRefreshable() |
void |
clearWarnings() |
void |
close()
Close resultSet.
|
static JDBC4ResultSet |
createEmptyResultSet() |
static ResultSet |
createGeneratedData(long[] data,
Protocol protocol,
boolean findColumnReturnsOne)
Create a result set from given data.
|
static JDBC4ResultSet |
createResultSet(String[] columnNames,
ColumnType[] columnTypes,
String[][] data,
Protocol protocol)
Create a result set from given data.
|
protected void |
deleteCurrentRowData()
Delete current data.
|
void |
deleteRow() |
void |
fetchRemaining()
When protocol has a current Streaming result (this) fetch all to permit another query is executing.
|
int |
findColumn(String columnLabel)
{inheritDoc}.
|
boolean |
first() |
Array |
getArray(int columnIndex) |
Array |
getArray(String columnLabel) |
InputStream |
getAsciiStream(int columnIndex)
{inheritDoc}.
|
InputStream |
getAsciiStream(String columnLabel)
{inheritDoc}.
|
BigDecimal |
getBigDecimal(int columnIndex)
{inheritDoc}.
|
BigDecimal |
getBigDecimal(int columnIndex,
int scale)
{inheritDoc}.
|
BigDecimal |
getBigDecimal(String columnLabel)
{inheritDoc}.
|
BigDecimal |
getBigDecimal(String columnLabel,
int scale)
{inheritDoc}.
|
InputStream |
getBinaryStream(int columnIndex)
{inheritDoc}.
|
InputStream |
getBinaryStream(String columnLabel)
{inheritDoc}.
|
Blob |
getBlob(int columnIndex)
{inheritDoc}.
|
Blob |
getBlob(String columnLabel)
{inheritDoc}.
|
boolean |
getBoolean(int columnIndex)
{inheritDoc}.
|
boolean |
getBoolean(String columnLabel)
{inheritDoc}.
|
byte |
getByte(int columnIndex)
{inheritDoc}.
|
byte |
getByte(String columnLabel)
{inheritDoc}.
|
byte[] |
getBytes(int columnIndex)
{inheritDoc}.
|
byte[] |
getBytes(String columnLabel)
{inheritDoc}.
|
Reader |
getCharacterStream(int columnIndex)
{inheritDoc}.
|
Reader |
getCharacterStream(String columnLabel)
{inheritDoc}.
|
Clob |
getClob(int columnIndex)
{inheritDoc}.
|
Clob |
getClob(String columnLabel)
{inheritDoc}.
|
ColumnDefinition[] |
getColumnsInformation() |
Object |
getComplex(int columnIndex) |
RefCursor |
getComplexCursor(int columnIndex) |
int |
getConcurrency() |
byte[] |
getCurrentRowData()
Get current row's raw bytes.
|
String |
getCursorName()
{inheritDoc}.
|
int |
getDataSize() |
Date |
getDate(int columnIndex)
{inheritDoc}.
|
Date |
getDate(int columnIndex,
Calendar cal)
{inheritDoc}.
|
Date |
getDate(String columnLabel)
{inheritDoc}.
|
Date |
getDate(String columnLabel,
Calendar cal)
{inheritDoc}.
|
double |
getDouble(int columnIndex)
{inheritDoc}.
|
double |
getDouble(String columnLabel)
{inheritDoc}.
|
int |
getFetchDirection() |
int |
getFetchSize() |
float |
getFloat(int columnIndex)
{inheritDoc}.
|
float |
getFloat(String columnLabel)
{inheritDoc}.
|
int |
getHoldability()
{inheritDoc}.
|
int |
getInt(int columnIndex)
{inheritDoc}.
|
int |
getInt(String columnLabel)
{inheritDoc}.
|
INTERVALDS |
getINTERVALDS(int columnIndex) |
INTERVALDS |
getINTERVALDS(String columnLabel) |
INTERVALYM |
getINTERVALYM(int columnIndex) |
INTERVALYM |
getINTERVALYM(String columnLabel) |
long |
getLong(int columnIndex)
{inheritDoc}.
|
long |
getLong(String columnLabel)
{inheritDoc}.
|
ResultSetMetaData |
getMetaData()
{inheritDoc}.
|
Reader |
getNCharacterStream(int columnIndex)
{inheritDoc}.
|
Reader |
getNCharacterStream(String columnLabel)
{inheritDoc}.
|
NClob |
getNClob(int columnIndex)
{inheritDoc}.
|
NClob |
getNClob(String columnLabel)
{inheritDoc}.
|
protected byte[] |
getNextRow()
Read next value.
|
String |
getNString(int columnIndex)
{inheritDoc}.
|
String |
getNString(String columnLabel)
{inheritDoc}.
|
NUMBER |
getNUMBER(int columnIndex) |
NUMBER |
getNUMBER(String columnName) |
Object |
getObject(int columnIndex)
{inheritDoc}.
|
<T> T |
getObject(int columnIndex,
Class<T> type)
{inheritDoc}.
|
Object |
getObject(int columnIndex,
Map<String,Class<?>> map)
{inheritDoc}.
|
Object |
getObject(String columnLabel)
{inheritDoc}.
|
<T> T |
getObject(String columnLabel,
Class<T> type) |
Object |
getObject(String columnLabel,
Map<String,Class<?>> map)
{inheritDoc}.
|
long |
getProcessedRows() |
Protocol |
getProtocol() |
Ref |
getRef(int columnIndex)
{inheritDoc}.
|
Ref |
getRef(String columnLabel)
{inheritDoc}.
|
int |
getRow() |
RowId |
getRowId(int columnIndex)
{inheritDoc}.
|
RowId |
getRowId(String columnLabel)
{inheritDoc}.
|
int |
getRowPointer() |
JDBC4ResultSet.ResultSetClass |
getRsClass() |
short |
getShort(int columnIndex)
{inheritDoc}.
|
short |
getShort(String columnLabel)
{inheritDoc}.
|
SQLXML |
getSQLXML(int columnIndex)
{inheritDoc}.
|
SQLXML |
getSQLXML(String columnLabel)
{inheritDoc}.
|
OceanBaseStatement |
getStatement() |
String |
getString(int columnIndex)
{inheritDoc}.
|
String |
getString(String columnLabel)
{inheritDoc}.
|
Struct |
getStruct(int columnIndex) |
Struct |
getStruct(String columnLabel) |
Time |
getTime(int columnIndex)
{inheritDoc}.
|
Time |
getTime(int columnIndex,
Calendar cal)
{inheritDoc}.
|
Time |
getTime(String columnLabel)
{inheritDoc}.
|
Time |
getTime(String columnLabel,
Calendar cal)
{inheritDoc}.
|
Timestamp |
getTimestamp(int columnIndex)
{inheritDoc}.
|
TIMESTAMP |
getTIMESTAMP(int columnIndex) |
Timestamp |
getTimestamp(int columnIndex,
Calendar cal)
{inheritDoc}.
|
Timestamp |
getTimestamp(String columnLabel)
{inheritDoc}.
|
TIMESTAMP |
getTIMESTAMP(String columnLabel) |
Timestamp |
getTimestamp(String columnLabel,
Calendar cal)
{inheritDoc}.
|
TIMESTAMPLTZ |
getTIMESTAMPLTZ(int columnIndex) |
TIMESTAMPLTZ |
getTIMESTAMPLTZ(String columnLabel) |
TIMESTAMPTZ |
getTIMESTAMPTZ(int columnIndex) |
TIMESTAMPTZ |
getTIMESTAMPTZ(String columnLabel) |
int |
getType() |
InputStream |
getUnicodeStream(int columnIndex)
{inheritDoc}.
|
InputStream |
getUnicodeStream(String columnLabel)
{inheritDoc}.
|
URL |
getURL(int columnIndex)
{inheritDoc}.
|
URL |
getURL(String columnLabel)
{inheritDoc}.
|
SQLWarning |
getWarnings() |
protected SQLException |
handleIoException(IOException ioe) |
void |
insertRow() |
boolean |
isAfterLast() |
boolean |
isBeforeFirst() |
boolean |
isBinaryEncoded() |
boolean |
isCallableResult() |
boolean |
isClosed() |
boolean |
isEof() |
boolean |
isFirst() |
boolean |
isFullyLoaded()
Indicate if result-set is still streaming results from server.
|
boolean |
isLast() |
boolean |
isPsOutParameter() |
protected boolean |
isValidRow(int rowIndex) |
boolean |
isWrapperFor(Class<?> iface)
{inheritDoc}.
|
boolean |
last() |
void |
moveToCurrentRow() |
void |
moveToInsertRow() |
boolean |
next() |
boolean |
previous() |
void |
realClose(boolean calledExplicitly) |
void |
refreshRow()
SQLException –
if a database access error occurs;
this method is called on a closed result set;
the result set type is TYPE_FORWARD_ONLY, or (TYPE_SCROLL_INSENSITIVE and CONCUR_READ_ONLY) for Oracle mode
the result set type is CONCUR_READ_ONLY for MySQL mode
or if this method is called when the cursor is on the insert row
support FETCH_FORWARD direction for Oracle mode now
|
protected int |
refreshRowInternalOracle(int size) |
boolean |
relative(int rows) |
boolean |
rowDeleted() |
boolean |
rowInserted() |
boolean |
rowUpdated() |
void |
setComplexData(ComplexData[] complexData) |
void |
setFetchDirection(int direction) |
void |
setFetchSize(int rows) |
void |
setForceTableAlias()
Force metadata getTableName to return table alias, not original table name.
|
void |
setProtocol(Protocol protocol) |
protected void |
setRowPointer(int pointer) |
void |
setStatement(OceanBaseStatement statement) |
<T> T |
unwrap(Class<T> iface)
{inheritDoc}.
|
void |
updateArray(int columnIndex,
Array array) |
void |
updateArray(String columnLabel,
Array array) |
void |
updateAsciiStream(int columnIndex,
InputStream inputStream) |
void |
updateAsciiStream(int columnIndex,
InputStream inputStream,
int length) |
void |
updateAsciiStream(int columnIndex,
InputStream inputStream,
long length) |
void |
updateAsciiStream(String columnLabel,
InputStream inputStream) |
void |
updateAsciiStream(String columnLabel,
InputStream inputStream,
int length) |
void |
updateAsciiStream(String columnLabel,
InputStream inputStream,
long length) |
void |
updateBigDecimal(int columnIndex,
BigDecimal value) |
void |
updateBigDecimal(String columnLabel,
BigDecimal value) |
void |
updateBinaryStream(int columnIndex,
InputStream inputStream) |
void |
updateBinaryStream(int columnIndex,
InputStream inputStream,
int length) |
void |
updateBinaryStream(int columnIndex,
InputStream inputStream,
long length) |
void |
updateBinaryStream(String columnLabel,
InputStream inputStream) |
void |
updateBinaryStream(String columnLabel,
InputStream inputStream,
int length) |
void |
updateBinaryStream(String columnLabel,
InputStream inputStream,
long length) |
void |
updateBlob(int columnIndex,
Blob blob) |
void |
updateBlob(int columnIndex,
InputStream inputStream) |
void |
updateBlob(int columnIndex,
InputStream inputStream,
long length) |
void |
updateBlob(String columnLabel,
Blob blob) |
void |
updateBlob(String columnLabel,
Blob blob) |
void |
updateBlob(String columnLabel,
InputStream inputStream) |
void |
updateBlob(String columnLabel,
InputStream inputStream,
long length) |
void |
updateBoolean(int columnIndex,
boolean bool) |
void |
updateBoolean(String columnLabel,
boolean value) |
void |
updateByte(int columnIndex,
byte value) |
void |
updateByte(String columnLabel,
byte value) |
void |
updateBytes(int columnIndex,
byte[] value) |
void |
updateBytes(String columnLabel,
byte[] value) |
void |
updateCharacterStream(int columnIndex,
Reader value) |
void |
updateCharacterStream(int columnIndex,
Reader reader,
int length) |
void |
updateCharacterStream(int columnIndex,
Reader value,
long length) |
void |
updateCharacterStream(String columnLabel,
Reader reader) |
void |
updateCharacterStream(String columnLabel,
Reader reader,
int length) |
void |
updateCharacterStream(String columnLabel,
Reader reader,
long length) |
void |
updateClob(int columnIndex,
Clob clob) |
void |
updateClob(int columnIndex,
Reader reader) |
void |
updateClob(int columnIndex,
Reader reader,
long length) |
void |
updateClob(String columnLabel,
Clob clob) |
void |
updateClob(String columnLabel,
Reader reader) |
void |
updateClob(String columnLabel,
Reader reader,
long length) |
void |
updateDate(int columnIndex,
Date date) |
void |
updateDate(String columnLabel,
Date value) |
void |
updateDouble(int columnIndex,
double value) |
void |
updateDouble(String columnLabel,
double value) |
void |
updateFloat(int columnIndex,
float value) |
void |
updateFloat(String columnLabel,
float value) |
void |
updateInt(int columnIndex,
int value) |
void |
updateInt(String columnLabel,
int value) |
void |
updateLong(int columnIndex,
long value) |
void |
updateLong(String columnLabel,
long value) |
void |
updateNCharacterStream(int columnIndex,
Reader reader) |
void |
updateNCharacterStream(int columnIndex,
Reader value,
long length) |
void |
updateNCharacterStream(String columnLabel,
Reader reader) |
void |
updateNCharacterStream(String columnLabel,
Reader reader,
long length) |
void |
updateNClob(int columnIndex,
NClob nclob) |
void |
updateNClob(int columnIndex,
Reader reader) |
void |
updateNClob(int columnIndex,
Reader reader,
long length) |
void |
updateNClob(String columnLabel,
NClob nclob) |
void |
updateNClob(String columnLabel,
Reader reader) |
void |
updateNClob(String columnLabel,
Reader reader,
long length) |
void |
updateNString(int columnIndex,
String nstring) |
void |
updateNString(String columnLabel,
String nstring) |
void |
updateNull(int columnIndex) |
void |
updateNull(String columnLabel) |
void |
updateObject(int columnIndex,
Object value) |
void |
updateObject(int columnIndex,
Object value,
int scaleOrLength) |
void |
updateObject(int columnIndex,
Object x,
SQLType targetSqlType) |
void |
updateObject(String columnLabel,
Object value) |
void |
updateObject(String columnLabel,
Object value,
int scaleOrLength) |
void |
updateRef(int columnIndex,
Ref ref) |
void |
updateRef(String columnLabel,
Ref ref) |
void |
updateRow() |
protected void |
updateRowData(byte[] rawData)
Update row's raw bytes. in case of row update, refresh the data.
|
void |
updateRowId(int columnIndex,
RowId rowId) |
void |
updateRowId(String columnLabel,
RowId rowId) |
void |
updateShort(int columnIndex,
short value) |
void |
updateShort(String columnLabel,
short value) |
void |
updateSQLXML(int columnIndex,
SQLXML xmlObject) |
void |
updateSQLXML(String columnLabel,
SQLXML xmlObject) |
protected void |
updateStartIndexInEntireResult() |
void |
updateString(int columnIndex,
String value) |
void |
updateString(String columnLabel,
String value) |
void |
updateTime(int columnIndex,
Time time) |
void |
updateTime(String columnLabel,
Time value) |
void |
updateTimestamp(int columnIndex,
Timestamp timeStamp) |
void |
updateTimestamp(String columnLabel,
Timestamp value) |
boolean |
wasNull()
{inheritDoc}.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitupdateObject, updateObject, updateObjectprotected static final Logger lockLogger
public static final int TINYINT1_IS_BIT
public static final int YEAR_IS_DATE_TYPE
public static String UpdatableResultSet_12
protected TimeZone timeZone
protected Options options
protected ColumnDefinition[] columnsInformation
protected int columnInformationLength
protected int columnIndexOffset
protected boolean noBackslashEscapes
protected Protocol protocol
protected PacketInputStream reader
protected OceanBaseStatement statement
protected int fetchSize
protected int resultSetScrollType
protected int resultSetConcurType
protected ColumnLabelIndexer columnLabelIndexer
public RowProtocol row
protected byte[][] data
protected int dataSize
protected long processedRows
protected int discardedRows
protected int rowPointer
protected int lastRowPointer
protected int startIndexInEntireResult
protected int endIndexInEntireResult
protected boolean isEof
protected boolean isLastRowSent
protected ResourceStatus status
protected boolean isModified
protected boolean forceAlias
public ComplexData[] complexData
public int[] complexEndPos
protected static final int STATE_STANDARD
protected static final int STATE_UPDATE
protected static final int STATE_UPDATED
protected static final int STATE_INSERT
protected OceanBaseConnection connection
protected int notInsertRowPointer
protected int state
public JDBC4ResultSet(ColumnDefinition[] columnDefinition, Results results, Protocol protocol, PacketInputStream reader, boolean callableResult, boolean eofDeprecated, boolean isPsOutParameter) throws IOException, SQLException
columnDefinition - column informationresults - resultsprotocol - current protocolreader - stream fetchercallableResult - is it from a callableStatement ?eofDeprecated - is EOF deprecatedIOException - if any connection error occurSQLException - if any connection error occurpublic JDBC4ResultSet(ColumnDefinition[] columnDefinition, Results results, Protocol protocol, boolean callableResult, boolean eofDeprecated, boolean isPsOutParameter) throws IOException, SQLException
columnDefinition - results - protocol - callableResult - eofDeprecated - isPsOutParameter - IOExceptionSQLExceptionpublic JDBC4ResultSet(ColumnDefinition[] columnDefinition, List<byte[]> resultSet, Protocol protocol, int resultSetScrollType)
columnDefinition - column informationresultSet - result-set dataprotocol - current protocolresultSetScrollType - one of the following ResultSet constants:
ResultSet.TYPE_FORWARD_ONLY, ResultSet.TYPE_SCROLL_INSENSITIVE, or
ResultSet.TYPE_SCROLL_SENSITIVEpublic boolean assign(JDBC4ResultSet opt)
public void changeRowProtocol(RowProtocol row)
public void setProtocol(Protocol protocol)
public Protocol getProtocol()
public static ResultSet createGeneratedData(long[] data, Protocol protocol, boolean findColumnReturnsOne)
data - - each element of this array represents a complete row in the ResultSet. Each value
is given in its string representation, as in MariaDB text protocol, except boolean (BIT(1))
values that are represented as "1" or "0" stringsprotocol - protocolfindColumnReturnsOne - - special parameter, used only in generated key result setspublic static JDBC4ResultSet createResultSet(String[] columnNames, ColumnType[] columnTypes, String[][] data, Protocol protocol)
columnNames - - string array of column namescolumnTypes - - column typesdata - - each element of this array represents a complete row in the ResultSet. Each value
is given in its string representation, as in MariaDB text protocol, except boolean (BIT(1))
values that are represented as "1" or "0" stringsprotocol - protocolpublic static JDBC4ResultSet createEmptyResultSet()
public boolean isFullyLoaded()
protected SQLException handleIoException(IOException ioe)
public ColumnDefinition[] getColumnsInformation()
public void fetchRemaining()
throws SQLException
SQLException - if any error occurprotected void addStreamingValue()
throws IOException,
SQLException
IOException - if socket exception occurSQLException - if server return an unexpected errorprotected void updateStartIndexInEntireResult()
protected byte[] getNextRow()
throws IOException,
SQLException
IOException - exceptionSQLException - exceptionpublic byte[] getCurrentRowData()
protected void updateRowData(byte[] rawData)
rawData - new row's raw data.protected void deleteCurrentRowData()
throws SQLException
SQLException - if previous() fail.public void addRowData(byte[] rawData)
public void abort()
throws SQLException
SQLException - exceptionpublic void close()
throws SQLException
close 在接口中 AutoCloseableclose 在接口中 ResultSetSQLExceptionpublic void realClose(boolean calledExplicitly)
throws SQLException
SQLExceptionpublic SQLWarning getWarnings() throws SQLException
getWarnings 在接口中 ResultSetSQLExceptionpublic void clearWarnings()
throws SQLException
clearWarnings 在接口中 ResultSetSQLExceptionpublic boolean isBeforeFirst()
throws SQLException
isBeforeFirst 在接口中 ResultSetSQLExceptionpublic boolean isAfterLast()
throws SQLException
isAfterLast 在接口中 ResultSetSQLExceptionpublic boolean isFirst()
throws SQLException
isFirst 在接口中 ResultSetSQLExceptionpublic boolean isLast()
throws SQLException
isLast 在接口中 ResultSetSQLExceptionpublic void beforeFirst()
throws SQLException
beforeFirst 在接口中 ResultSetSQLExceptionpublic void afterLast()
throws SQLException
afterLast 在接口中 ResultSetSQLExceptionpublic boolean first()
throws SQLException
first 在接口中 ResultSetSQLExceptionpublic boolean last()
throws SQLException
last 在接口中 ResultSetSQLExceptionpublic boolean absolute(int row)
throws SQLException
absolute 在接口中 ResultSetSQLExceptionpublic boolean relative(int rows)
throws SQLException
relative 在接口中 ResultSetSQLExceptionpublic boolean previous()
throws SQLException
previous 在接口中 ResultSetSQLExceptionpublic boolean next()
throws SQLException
next 在接口中 ResultSetSQLExceptionpublic int getRow()
throws SQLException
getRow 在接口中 ResultSetSQLExceptionpublic int getFetchDirection()
throws SQLException
getFetchDirection 在接口中 ResultSetSQLExceptionpublic void setFetchDirection(int direction)
throws SQLException
setFetchDirection 在接口中 ResultSetSQLExceptionpublic int getFetchSize()
throws SQLException
getFetchSize 在接口中 ResultSetSQLExceptionpublic void setFetchSize(int rows)
throws SQLException
setFetchSize 在接口中 ResultSetSQLExceptionpublic JDBC4ResultSet.ResultSetClass getRsClass()
public int getConcurrency()
getConcurrency 在接口中 ResultSetprotected void checkClose()
throws SQLException
SQLExceptionpublic boolean isCallableResult()
public boolean isPsOutParameter()
public OceanBaseStatement getStatement() throws SQLException
getStatement 在接口中 ResultSetSQLExceptionpublic void setStatement(OceanBaseStatement statement)
public boolean wasNull()
throws SQLException
wasNull 在接口中 ResultSetSQLExceptionpublic InputStream getAsciiStream(String columnLabel) throws SQLException
getAsciiStream 在接口中 ResultSetSQLExceptionpublic InputStream getAsciiStream(int columnIndex) throws SQLException
getAsciiStream 在接口中 ResultSetSQLExceptionpublic String getString(int columnIndex) throws SQLException
getString 在接口中 ResultSetSQLExceptionpublic String getString(String columnLabel) throws SQLException
getString 在接口中 ResultSetSQLExceptionpublic InputStream getBinaryStream(int columnIndex) throws SQLException
getBinaryStream 在接口中 ResultSetSQLExceptionpublic InputStream getBinaryStream(String columnLabel) throws SQLException
getBinaryStream 在接口中 ResultSetSQLExceptionpublic int getInt(int columnIndex)
throws SQLException
getInt 在接口中 ResultSetSQLExceptionpublic int getInt(String columnLabel) throws SQLException
getInt 在接口中 ResultSetSQLExceptionpublic long getLong(String columnLabel) throws SQLException
getLong 在接口中 ResultSetSQLExceptionpublic long getLong(int columnIndex)
throws SQLException
getLong 在接口中 ResultSetSQLExceptionpublic float getFloat(String columnLabel) throws SQLException
getFloat 在接口中 ResultSetSQLExceptionpublic float getFloat(int columnIndex)
throws SQLException
getFloat 在接口中 ResultSetSQLExceptionpublic double getDouble(String columnLabel) throws SQLException
getDouble 在接口中 ResultSetSQLExceptionpublic double getDouble(int columnIndex)
throws SQLException
getDouble 在接口中 ResultSetSQLExceptionpublic BigDecimal getBigDecimal(String columnLabel, int scale) throws SQLException
getBigDecimal 在接口中 ResultSetSQLExceptionpublic BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException
getBigDecimal 在接口中 ResultSetSQLExceptionpublic BigDecimal getBigDecimal(int columnIndex) throws SQLException
getBigDecimal 在接口中 ResultSetSQLExceptionpublic BigDecimal getBigDecimal(String columnLabel) throws SQLException
getBigDecimal 在接口中 ResultSetSQLExceptionpublic byte[] getBytes(String columnLabel) throws SQLException
getBytes 在接口中 ResultSetSQLExceptionpublic byte[] getBytes(int columnIndex)
throws SQLException
getBytes 在接口中 ResultSetSQLExceptionpublic Date getDate(int columnIndex) throws SQLException
getDate 在接口中 ResultSetSQLExceptionpublic Date getDate(String columnLabel) throws SQLException
getDate 在接口中 ResultSetSQLExceptionpublic Date getDate(int columnIndex, Calendar cal) throws SQLException
getDate 在接口中 ResultSetSQLExceptionpublic Date getDate(String columnLabel, Calendar cal) throws SQLException
getDate 在接口中 ResultSetSQLExceptionpublic Time getTime(int columnIndex) throws SQLException
getTime 在接口中 ResultSetSQLExceptionpublic Time getTime(String columnLabel) throws SQLException
getTime 在接口中 ResultSetSQLExceptionpublic Time getTime(int columnIndex, Calendar cal) throws SQLException
getTime 在接口中 ResultSetSQLExceptionpublic Time getTime(String columnLabel, Calendar cal) throws SQLException
getTime 在接口中 ResultSetSQLExceptionpublic TIMESTAMP getTIMESTAMP(String columnLabel) throws SQLException
SQLExceptionpublic TIMESTAMP getTIMESTAMP(int columnIndex) throws SQLException
SQLExceptionpublic INTERVALDS getINTERVALDS(String columnLabel) throws SQLException
getINTERVALDS 在接口中 ObResultSetSQLExceptionpublic NUMBER getNUMBER(int columnIndex) throws SQLException
getNUMBER 在接口中 ObResultSetSQLExceptionpublic NUMBER getNUMBER(String columnName) throws SQLException
getNUMBER 在接口中 ObResultSetSQLExceptionpublic INTERVALDS getINTERVALDS(int columnIndex) throws SQLException
getINTERVALDS 在接口中 ObResultSetSQLExceptionpublic INTERVALYM getINTERVALYM(String columnLabel) throws SQLException
getINTERVALYM 在接口中 ObResultSetSQLExceptionpublic INTERVALYM getINTERVALYM(int columnIndex) throws SQLException
getINTERVALYM 在接口中 ObResultSetSQLExceptionpublic TIMESTAMPTZ getTIMESTAMPTZ(String columnLabel) throws SQLException
getTIMESTAMPTZ 在接口中 ObResultSetSQLExceptionpublic TIMESTAMPTZ getTIMESTAMPTZ(int columnIndex) throws SQLException
getTIMESTAMPTZ 在接口中 ObResultSetSQLExceptionpublic TIMESTAMPLTZ getTIMESTAMPLTZ(String columnLabel) throws SQLException
getTIMESTAMPLTZ 在接口中 ObResultSetSQLExceptionpublic TIMESTAMPLTZ getTIMESTAMPLTZ(int columnIndex) throws SQLException
getTIMESTAMPLTZ 在接口中 ObResultSetSQLExceptionpublic Timestamp getTimestamp(String columnLabel) throws SQLException
getTimestamp 在接口中 ResultSetSQLExceptionpublic Timestamp getTimestamp(int columnIndex, Calendar cal) throws SQLException
getTimestamp 在接口中 ResultSetSQLExceptionpublic Timestamp getTimestamp(String columnLabel, Calendar cal) throws SQLException
getTimestamp 在接口中 ResultSetSQLExceptionpublic Timestamp getTimestamp(int columnIndex) throws SQLException
getTimestamp 在接口中 ResultSetSQLExceptionpublic InputStream getUnicodeStream(String columnLabel) throws SQLException
getUnicodeStream 在接口中 ResultSetSQLExceptionpublic InputStream getUnicodeStream(int columnIndex) throws SQLException
getUnicodeStream 在接口中 ResultSetSQLExceptionpublic String getCursorName() throws SQLException
getCursorName 在接口中 ResultSetSQLExceptionpublic ResultSetMetaData getMetaData() throws SQLException
getMetaData 在接口中 ResultSetSQLExceptionpublic Object getObject(int columnIndex) throws SQLException
getObject 在接口中 ResultSetSQLExceptionpublic Object getObject(String columnLabel) throws SQLException
getObject 在接口中 ResultSetSQLExceptionpublic Object getObject(int columnIndex, Map<String,Class<?>> map) throws SQLException
getObject 在接口中 ResultSetSQLExceptionpublic Object getObject(String columnLabel, Map<String,Class<?>> map) throws SQLException
getObject 在接口中 ResultSetSQLExceptionpublic <T> T getObject(int columnIndex,
Class<T> type)
throws SQLException
getObject 在接口中 ResultSetSQLExceptionpublic <T> T getObject(String columnLabel, Class<T> type) throws SQLException
getObject 在接口中 ResultSetSQLExceptionpublic int findColumn(String columnLabel) throws SQLException
findColumn 在接口中 ResultSetSQLExceptionpublic Reader getCharacterStream(String columnLabel) throws SQLException
getCharacterStream 在接口中 ResultSetSQLExceptionpublic Reader getCharacterStream(int columnIndex) throws SQLException
getCharacterStream 在接口中 ResultSetSQLExceptionpublic Reader getNCharacterStream(int columnIndex) throws SQLException
getNCharacterStream 在接口中 ResultSetSQLExceptionpublic Reader getNCharacterStream(String columnLabel) throws SQLException
getNCharacterStream 在接口中 ResultSetSQLExceptionpublic Ref getRef(int columnIndex) throws SQLException
getRef 在接口中 ResultSetSQLExceptionpublic Ref getRef(String columnLabel) throws SQLException
getRef 在接口中 ResultSetSQLExceptionpublic Blob getBlob(int columnIndex) throws SQLException
getBlob 在接口中 ResultSetSQLExceptionpublic Blob getBlob(String columnLabel) throws SQLException
getBlob 在接口中 ResultSetSQLExceptionpublic Clob getClob(int columnIndex) throws SQLException
getClob 在接口中 ResultSetSQLExceptionpublic Clob getClob(String columnLabel) throws SQLException
getClob 在接口中 ResultSetSQLExceptionpublic void setComplexData(ComplexData[] complexData)
public Array getArray(int columnIndex) throws SQLException
getArray 在接口中 ResultSetSQLExceptionpublic Object getComplex(int columnIndex) throws SQLException
SQLExceptionpublic Array getArray(String columnLabel) throws SQLException
getArray 在接口中 ResultSetSQLExceptionpublic Struct getStruct(int columnIndex) throws SQLException
SQLExceptionpublic Struct getStruct(String columnLabel) throws SQLException
SQLExceptionpublic RefCursor getComplexCursor(int columnIndex) throws SQLException
SQLExceptionpublic URL getURL(int columnIndex) throws SQLException
getURL 在接口中 ResultSetSQLExceptionpublic URL getURL(String columnLabel) throws SQLException
getURL 在接口中 ResultSetSQLExceptionpublic RowId getRowId(int columnIndex) throws SQLException
getRowId 在接口中 ResultSetSQLExceptionpublic RowId getRowId(String columnLabel) throws SQLException
getRowId 在接口中 ResultSetSQLExceptionpublic NClob getNClob(int columnIndex) throws SQLException
getNClob 在接口中 ResultSetSQLExceptionpublic NClob getNClob(String columnLabel) throws SQLException
getNClob 在接口中 ResultSetSQLExceptionpublic SQLXML getSQLXML(int columnIndex) throws SQLException
getSQLXML 在接口中 ResultSetSQLExceptionpublic SQLXML getSQLXML(String columnLabel) throws SQLException
getSQLXML 在接口中 ResultSetSQLExceptionpublic String getNString(int columnIndex) throws SQLException
getNString 在接口中 ResultSetSQLExceptionpublic String getNString(String columnLabel) throws SQLException
getNString 在接口中 ResultSetSQLExceptionpublic boolean getBoolean(int columnIndex)
throws SQLException
getBoolean 在接口中 ResultSetSQLExceptionpublic boolean getBoolean(String columnLabel) throws SQLException
getBoolean 在接口中 ResultSetSQLExceptionpublic byte getByte(int columnIndex)
throws SQLException
getByte 在接口中 ResultSetSQLExceptionpublic byte getByte(String columnLabel) throws SQLException
getByte 在接口中 ResultSetSQLExceptionpublic short getShort(int columnIndex)
throws SQLException
getShort 在接口中 ResultSetSQLExceptionpublic short getShort(String columnLabel) throws SQLException
getShort 在接口中 ResultSetSQLExceptionpublic boolean rowUpdated()
throws SQLException
rowUpdated 在接口中 ResultSetSQLExceptionpublic boolean rowInserted()
throws SQLException
rowInserted 在接口中 ResultSetSQLExceptionpublic boolean rowDeleted()
throws SQLException
rowDeleted 在接口中 ResultSetSQLExceptionprotected boolean checkRefreshable()
throws SQLException
SQLExceptionpublic void insertRow()
throws SQLException
insertRow 在接口中 ResultSetSQLExceptionpublic void updateRow()
throws SQLException
updateRow 在接口中 ResultSetSQLExceptionpublic void deleteRow()
throws SQLException
deleteRow 在接口中 ResultSetSQLExceptionpublic void refreshRow()
throws SQLException
refreshRow 在接口中 ResultSetSQLExceptionprotected int refreshRowInternalOracle(int size)
throws SQLException
SQLExceptionprotected boolean isValidRow(int rowIndex)
throws SQLException
SQLExceptionprotected void cancelRowInserts()
public void cancelRowUpdates()
throws SQLException
cancelRowUpdates 在接口中 ResultSetSQLExceptionpublic void moveToInsertRow()
throws SQLException
moveToInsertRow 在接口中 ResultSetSQLExceptionpublic void moveToCurrentRow()
throws SQLException
moveToCurrentRow 在接口中 ResultSetSQLExceptionpublic void updateNull(int columnIndex)
throws SQLException
updateNull 在接口中 ResultSetSQLExceptionpublic void updateNull(String columnLabel) throws SQLException
updateNull 在接口中 ResultSetSQLExceptionpublic void updateBoolean(int columnIndex,
boolean bool)
throws SQLException
updateBoolean 在接口中 ResultSetSQLExceptionpublic void updateBoolean(String columnLabel, boolean value) throws SQLException
updateBoolean 在接口中 ResultSetSQLExceptionpublic void updateByte(int columnIndex,
byte value)
throws SQLException
updateByte 在接口中 ResultSetSQLExceptionpublic void updateByte(String columnLabel, byte value) throws SQLException
updateByte 在接口中 ResultSetSQLExceptionpublic void updateShort(int columnIndex,
short value)
throws SQLException
updateShort 在接口中 ResultSetSQLExceptionpublic void updateShort(String columnLabel, short value) throws SQLException
updateShort 在接口中 ResultSetSQLExceptionpublic void updateInt(int columnIndex,
int value)
throws SQLException
updateInt 在接口中 ResultSetSQLExceptionpublic void updateInt(String columnLabel, int value) throws SQLException
updateInt 在接口中 ResultSetSQLExceptionpublic void updateFloat(int columnIndex,
float value)
throws SQLException
updateFloat 在接口中 ResultSetSQLExceptionpublic void updateFloat(String columnLabel, float value) throws SQLException
updateFloat 在接口中 ResultSetSQLExceptionpublic void updateDouble(int columnIndex,
double value)
throws SQLException
updateDouble 在接口中 ResultSetSQLExceptionpublic void updateDouble(String columnLabel, double value) throws SQLException
updateDouble 在接口中 ResultSetSQLExceptionpublic void updateBigDecimal(int columnIndex,
BigDecimal value)
throws SQLException
updateBigDecimal 在接口中 ResultSetSQLExceptionpublic void updateBigDecimal(String columnLabel, BigDecimal value) throws SQLException
updateBigDecimal 在接口中 ResultSetSQLExceptionpublic void updateString(int columnIndex,
String value)
throws SQLException
updateString 在接口中 ResultSetSQLExceptionpublic void updateString(String columnLabel, String value) throws SQLException
updateString 在接口中 ResultSetSQLExceptionpublic void updateBytes(int columnIndex,
byte[] value)
throws SQLException
updateBytes 在接口中 ResultSetSQLExceptionpublic void updateBytes(String columnLabel, byte[] value) throws SQLException
updateBytes 在接口中 ResultSetSQLExceptionpublic void updateDate(int columnIndex,
Date date)
throws SQLException
updateDate 在接口中 ResultSetSQLExceptionpublic void updateDate(String columnLabel, Date value) throws SQLException
updateDate 在接口中 ResultSetSQLExceptionpublic void updateTime(int columnIndex,
Time time)
throws SQLException
updateTime 在接口中 ResultSetSQLExceptionpublic void updateTime(String columnLabel, Time value) throws SQLException
updateTime 在接口中 ResultSetSQLExceptionpublic void updateTimestamp(int columnIndex,
Timestamp timeStamp)
throws SQLException
updateTimestamp 在接口中 ResultSetSQLExceptionpublic void updateTimestamp(String columnLabel, Timestamp value) throws SQLException
updateTimestamp 在接口中 ResultSetSQLExceptionpublic void updateAsciiStream(int columnIndex,
InputStream inputStream)
throws SQLException
updateAsciiStream 在接口中 ResultSetSQLExceptionpublic void updateAsciiStream(String columnLabel, InputStream inputStream) throws SQLException
updateAsciiStream 在接口中 ResultSetSQLExceptionpublic void updateAsciiStream(int columnIndex,
InputStream inputStream,
int length)
throws SQLException
updateAsciiStream 在接口中 ResultSetSQLExceptionpublic void updateAsciiStream(String columnLabel, InputStream inputStream, int length) throws SQLException
updateAsciiStream 在接口中 ResultSetSQLExceptionpublic void updateAsciiStream(int columnIndex,
InputStream inputStream,
long length)
throws SQLException
updateAsciiStream 在接口中 ResultSetSQLExceptionpublic void updateAsciiStream(String columnLabel, InputStream inputStream, long length) throws SQLException
updateAsciiStream 在接口中 ResultSetSQLExceptionpublic void updateBinaryStream(int columnIndex,
InputStream inputStream,
int length)
throws SQLException
updateBinaryStream 在接口中 ResultSetSQLExceptionpublic void updateBinaryStream(int columnIndex,
InputStream inputStream,
long length)
throws SQLException
updateBinaryStream 在接口中 ResultSetSQLExceptionpublic void updateBinaryStream(String columnLabel, InputStream inputStream, int length) throws SQLException
updateBinaryStream 在接口中 ResultSetSQLExceptionpublic void updateBinaryStream(String columnLabel, InputStream inputStream, long length) throws SQLException
updateBinaryStream 在接口中 ResultSetSQLExceptionpublic void updateBinaryStream(int columnIndex,
InputStream inputStream)
throws SQLException
updateBinaryStream 在接口中 ResultSetSQLExceptionpublic void updateBinaryStream(String columnLabel, InputStream inputStream) throws SQLException
updateBinaryStream 在接口中 ResultSetSQLExceptionpublic void updateCharacterStream(int columnIndex,
Reader reader,
int length)
throws SQLException
updateCharacterStream 在接口中 ResultSetSQLExceptionpublic void updateCharacterStream(int columnIndex,
Reader value)
throws SQLException
updateCharacterStream 在接口中 ResultSetSQLExceptionpublic void updateCharacterStream(String columnLabel, Reader reader, int length) throws SQLException
updateCharacterStream 在接口中 ResultSetSQLExceptionpublic void updateCharacterStream(int columnIndex,
Reader value,
long length)
throws SQLException
updateCharacterStream 在接口中 ResultSetSQLExceptionpublic void updateCharacterStream(String columnLabel, Reader reader, long length) throws SQLException
updateCharacterStream 在接口中 ResultSetSQLExceptionpublic void updateCharacterStream(String columnLabel, Reader reader) throws SQLException
updateCharacterStream 在接口中 ResultSetSQLExceptionpublic void updateObject(int columnIndex,
Object value,
int scaleOrLength)
throws SQLException
updateObject 在接口中 ResultSetSQLExceptionpublic void updateObject(int columnIndex,
Object value)
throws SQLException
updateObject 在接口中 ResultSetSQLExceptionpublic void updateObject(String columnLabel, Object value, int scaleOrLength) throws SQLException
updateObject 在接口中 ResultSetSQLExceptionpublic void updateObject(String columnLabel, Object value) throws SQLException
updateObject 在接口中 ResultSetSQLExceptionpublic void updateObject(int columnIndex,
Object x,
SQLType targetSqlType)
throws SQLException
updateObject 在接口中 ResultSetSQLExceptionpublic void updateLong(int columnIndex,
long value)
throws SQLException
updateLong 在接口中 ResultSetSQLExceptionpublic void updateLong(String columnLabel, long value) throws SQLException
updateLong 在接口中 ResultSetSQLExceptionpublic void updateRef(int columnIndex,
Ref ref)
throws SQLException
updateRef 在接口中 ResultSetSQLExceptionpublic void updateRef(String columnLabel, Ref ref) throws SQLException
updateRef 在接口中 ResultSetSQLExceptionpublic void updateBlob(int columnIndex,
Blob blob)
throws SQLException
updateBlob 在接口中 ResultSetSQLExceptionpublic void updateBlob(String columnLabel, Blob blob) throws SQLException
updateBlob 在接口中 ResultSetSQLExceptionpublic void updateBlob(String columnLabel, Blob blob) throws SQLException
SQLExceptionpublic void updateBlob(int columnIndex,
InputStream inputStream)
throws SQLException
updateBlob 在接口中 ResultSetSQLExceptionpublic void updateBlob(String columnLabel, InputStream inputStream) throws SQLException
updateBlob 在接口中 ResultSetSQLExceptionpublic void updateBlob(int columnIndex,
InputStream inputStream,
long length)
throws SQLException
updateBlob 在接口中 ResultSetSQLExceptionpublic void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException
updateBlob 在接口中 ResultSetSQLExceptionpublic void updateClob(int columnIndex,
Clob clob)
throws SQLException
updateClob 在接口中 ResultSetSQLExceptionpublic void updateClob(String columnLabel, Clob clob) throws SQLException
updateClob 在接口中 ResultSetSQLExceptionpublic void updateClob(int columnIndex,
Reader reader,
long length)
throws SQLException
updateClob 在接口中 ResultSetSQLExceptionpublic void updateClob(String columnLabel, Reader reader, long length) throws SQLException
updateClob 在接口中 ResultSetSQLExceptionpublic void updateClob(int columnIndex,
Reader reader)
throws SQLException
updateClob 在接口中 ResultSetSQLExceptionpublic void updateClob(String columnLabel, Reader reader) throws SQLException
updateClob 在接口中 ResultSetSQLExceptionpublic void updateArray(int columnIndex,
Array array)
throws SQLException
updateArray 在接口中 ResultSetSQLExceptionpublic void updateArray(String columnLabel, Array array) throws SQLException
updateArray 在接口中 ResultSetSQLExceptionpublic void updateRowId(int columnIndex,
RowId rowId)
throws SQLException
updateRowId 在接口中 ResultSetSQLExceptionpublic void updateRowId(String columnLabel, RowId rowId) throws SQLException
updateRowId 在接口中 ResultSetSQLExceptionpublic void updateNString(int columnIndex,
String nstring)
throws SQLException
updateNString 在接口中 ResultSetSQLExceptionpublic void updateNString(String columnLabel, String nstring) throws SQLException
updateNString 在接口中 ResultSetSQLExceptionpublic void updateNClob(int columnIndex,
NClob nclob)
throws SQLException
updateNClob 在接口中 ResultSetSQLExceptionpublic void updateNClob(String columnLabel, NClob nclob) throws SQLException
updateNClob 在接口中 ResultSetSQLExceptionpublic void updateNClob(int columnIndex,
Reader reader)
throws SQLException
updateNClob 在接口中 ResultSetSQLExceptionpublic void updateNClob(String columnLabel, Reader reader) throws SQLException
updateNClob 在接口中 ResultSetSQLExceptionpublic void updateNClob(int columnIndex,
Reader reader,
long length)
throws SQLException
updateNClob 在接口中 ResultSetSQLExceptionpublic void updateNClob(String columnLabel, Reader reader, long length) throws SQLException
updateNClob 在接口中 ResultSetSQLExceptionpublic void updateSQLXML(int columnIndex,
SQLXML xmlObject)
throws SQLException
updateSQLXML 在接口中 ResultSetSQLExceptionpublic void updateSQLXML(String columnLabel, SQLXML xmlObject) throws SQLException
updateSQLXML 在接口中 ResultSetSQLExceptionpublic void updateNCharacterStream(int columnIndex,
Reader value,
long length)
throws SQLException
updateNCharacterStream 在接口中 ResultSetSQLExceptionpublic void updateNCharacterStream(String columnLabel, Reader reader, long length) throws SQLException
updateNCharacterStream 在接口中 ResultSetSQLExceptionpublic void updateNCharacterStream(int columnIndex,
Reader reader)
throws SQLException
updateNCharacterStream 在接口中 ResultSetSQLExceptionpublic void updateNCharacterStream(String columnLabel, Reader reader) throws SQLException
updateNCharacterStream 在接口中 ResultSetSQLExceptionpublic int getHoldability()
throws SQLException
getHoldability 在接口中 ResultSetSQLExceptionpublic <T> T unwrap(Class<T> iface) throws SQLException
unwrap 在接口中 WrapperSQLExceptionpublic boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor 在接口中 WrapperSQLExceptionpublic void setForceTableAlias()
public int getRowPointer()
protected void setRowPointer(int pointer)
public int getDataSize()
public long getProcessedRows()
public boolean isBinaryEncoded()
public boolean isEof()
Copyright © 2024 oceanbase.com. All rights reserved.