public class JDBC4ResultSet extends Object implements ResultSetImpl
| Modifier and Type | Class and Description |
|---|---|
static class |
JDBC4ResultSet.ResultSetClass |
| Modifier and Type | Field and Description |
|---|---|
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 |
fetchSize |
protected boolean |
forceAlias |
protected boolean |
isClosed |
protected boolean |
isEof |
protected boolean |
isLastRowSent |
protected boolean |
isModified |
protected int |
lastRowPointer |
protected boolean |
noBackslashEscapes |
protected int |
notInsertRowPointer |
protected Options |
options |
protected Protocol |
protocol |
protected PacketInputStream |
reader |
protected int |
resultSetConcurType |
protected int |
resultSetScrollType |
RowProtocol |
row |
protected int |
rowPointer |
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 TimeZone |
timeZone |
static int |
TINYINT1_IS_BIT |
static String |
UpdatableResultSet_12 |
static int |
YEAR_IS_DATE_TYPE |
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 and Description |
|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
void |
abort()
Connection.abort() has been called, abort result-set.
|
boolean |
absolute(int row) |
void |
addRowData(byte[] rawData) |
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}.
|
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}.
|
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() |
protected boolean |
readNextValue()
Read next value.
|
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) |
protected void |
resetState() |
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.
|
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) |
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, updateObjectpublic 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 int rowPointer
protected int lastRowPointer
protected int discardedRows
protected boolean isEof
protected boolean isLastRowSent
protected boolean isClosed
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()
public void fetchRemaining()
throws SQLException
SQLException - if any error occurprotected SQLException handleIoException(IOException ioe)
public ColumnDefinition[] getColumnsInformation()
protected boolean readNextValue()
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 in interface AutoCloseableclose in interface ResultSetSQLExceptionpublic SQLWarning getWarnings() throws SQLException
getWarnings in interface ResultSetSQLExceptionpublic void clearWarnings()
clearWarnings in interface ResultSetpublic boolean isBeforeFirst()
throws SQLException
isBeforeFirst in interface ResultSetSQLExceptionpublic boolean isAfterLast()
throws SQLException
isAfterLast in interface ResultSetSQLExceptionpublic boolean isFirst()
throws SQLException
isFirst in interface ResultSetSQLExceptionpublic boolean isLast()
throws SQLException
isLast in interface ResultSetSQLExceptionpublic void beforeFirst()
throws SQLException
beforeFirst in interface ResultSetSQLExceptionpublic void afterLast()
throws SQLException
afterLast in interface ResultSetSQLExceptionpublic boolean first()
throws SQLException
first in interface ResultSetSQLExceptionpublic boolean last()
throws SQLException
last in interface ResultSetSQLExceptionpublic boolean absolute(int row)
throws SQLException
absolute in interface ResultSetSQLExceptionpublic boolean relative(int rows)
throws SQLException
relative in interface ResultSetSQLExceptionpublic boolean previous()
throws SQLException
previous in interface ResultSetSQLExceptionpublic boolean next()
throws SQLException
next in interface ResultSetSQLExceptionpublic int getRow()
throws SQLException
getRow in interface ResultSetSQLExceptionpublic int getFetchDirection()
getFetchDirection in interface ResultSetpublic void setFetchDirection(int direction)
throws SQLException
setFetchDirection in interface ResultSetSQLExceptionpublic int getFetchSize()
getFetchSize in interface ResultSetpublic void setFetchSize(int rows)
throws SQLException
setFetchSize in interface ResultSetSQLExceptionpublic JDBC4ResultSet.ResultSetClass getRsClass()
public int getConcurrency()
getConcurrency in interface ResultSetprotected void checkClose()
throws SQLException
SQLExceptionpublic boolean isCallableResult()
public boolean isPsOutParameter()
public OceanBaseStatement getStatement()
getStatement in interface ResultSetpublic void setStatement(OceanBaseStatement statement)
public InputStream getAsciiStream(String columnLabel) throws SQLException
getAsciiStream in interface ResultSetSQLExceptionpublic InputStream getAsciiStream(int columnIndex) throws SQLException
getAsciiStream in interface ResultSetSQLExceptionpublic String getString(int columnIndex) throws SQLException
getString in interface ResultSetSQLExceptionpublic String getString(String columnLabel) throws SQLException
getString in interface ResultSetSQLExceptionpublic InputStream getBinaryStream(int columnIndex) throws SQLException
getBinaryStream in interface ResultSetSQLExceptionpublic InputStream getBinaryStream(String columnLabel) throws SQLException
getBinaryStream in interface ResultSetSQLExceptionpublic int getInt(int columnIndex)
throws SQLException
getInt in interface ResultSetSQLExceptionpublic int getInt(String columnLabel) throws SQLException
getInt in interface ResultSetSQLExceptionpublic long getLong(String columnLabel) throws SQLException
getLong in interface ResultSetSQLExceptionpublic long getLong(int columnIndex)
throws SQLException
getLong in interface ResultSetSQLExceptionpublic float getFloat(String columnLabel) throws SQLException
getFloat in interface ResultSetSQLExceptionpublic float getFloat(int columnIndex)
throws SQLException
getFloat in interface ResultSetSQLExceptionpublic double getDouble(String columnLabel) throws SQLException
getDouble in interface ResultSetSQLExceptionpublic double getDouble(int columnIndex)
throws SQLException
getDouble in interface ResultSetSQLExceptionpublic BigDecimal getBigDecimal(String columnLabel, int scale) throws SQLException
getBigDecimal in interface ResultSetSQLExceptionpublic BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException
getBigDecimal in interface ResultSetSQLExceptionpublic BigDecimal getBigDecimal(int columnIndex) throws SQLException
getBigDecimal in interface ResultSetSQLExceptionpublic BigDecimal getBigDecimal(String columnLabel) throws SQLException
getBigDecimal in interface ResultSetSQLExceptionpublic byte[] getBytes(String columnLabel) throws SQLException
getBytes in interface ResultSetSQLExceptionpublic byte[] getBytes(int columnIndex)
throws SQLException
getBytes in interface ResultSetSQLExceptionpublic Date getDate(int columnIndex) throws SQLException
getDate in interface ResultSetSQLExceptionpublic Date getDate(String columnLabel) throws SQLException
getDate in interface ResultSetSQLExceptionpublic Date getDate(int columnIndex, Calendar cal) throws SQLException
getDate in interface ResultSetSQLExceptionpublic Date getDate(String columnLabel, Calendar cal) throws SQLException
getDate in interface ResultSetSQLExceptionpublic Time getTime(int columnIndex) throws SQLException
getTime in interface ResultSetSQLExceptionpublic Time getTime(String columnLabel) throws SQLException
getTime in interface ResultSetSQLExceptionpublic Time getTime(int columnIndex, Calendar cal) throws SQLException
getTime in interface ResultSetSQLExceptionpublic Time getTime(String columnLabel, Calendar cal) throws SQLException
getTime in interface ResultSetSQLExceptionpublic TIMESTAMP getTIMESTAMP(String columnLabel) throws SQLException
SQLExceptionpublic TIMESTAMP getTIMESTAMP(int columnIndex) throws SQLException
SQLExceptionpublic INTERVALDS getINTERVALDS(String columnLabel) throws SQLException
getINTERVALDS in interface ObResultSetSQLExceptionpublic NUMBER getNUMBER(int columnIndex) throws SQLException
getNUMBER in interface ObResultSetSQLExceptionpublic NUMBER getNUMBER(String columnName) throws SQLException
getNUMBER in interface ObResultSetSQLExceptionpublic INTERVALDS getINTERVALDS(int columnIndex) throws SQLException
getINTERVALDS in interface ObResultSetSQLExceptionpublic INTERVALYM getINTERVALYM(String columnLabel) throws SQLException
getINTERVALYM in interface ObResultSetSQLExceptionpublic INTERVALYM getINTERVALYM(int columnIndex) throws SQLException
getINTERVALYM in interface ObResultSetSQLExceptionpublic TIMESTAMPTZ getTIMESTAMPTZ(String columnLabel) throws SQLException
getTIMESTAMPTZ in interface ObResultSetSQLExceptionpublic TIMESTAMPTZ getTIMESTAMPTZ(int columnIndex) throws SQLException
getTIMESTAMPTZ in interface ObResultSetSQLExceptionpublic TIMESTAMPLTZ getTIMESTAMPLTZ(String columnLabel) throws SQLException
getTIMESTAMPLTZ in interface ObResultSetSQLExceptionpublic TIMESTAMPLTZ getTIMESTAMPLTZ(int columnIndex) throws SQLException
getTIMESTAMPLTZ in interface ObResultSetSQLExceptionpublic Timestamp getTimestamp(String columnLabel) throws SQLException
getTimestamp in interface ResultSetSQLExceptionpublic Timestamp getTimestamp(int columnIndex, Calendar cal) throws SQLException
getTimestamp in interface ResultSetSQLExceptionpublic Timestamp getTimestamp(String columnLabel, Calendar cal) throws SQLException
getTimestamp in interface ResultSetSQLExceptionpublic Timestamp getTimestamp(int columnIndex) throws SQLException
getTimestamp in interface ResultSetSQLExceptionpublic InputStream getUnicodeStream(String columnLabel) throws SQLException
getUnicodeStream in interface ResultSetSQLExceptionpublic InputStream getUnicodeStream(int columnIndex) throws SQLException
getUnicodeStream in interface ResultSetSQLExceptionpublic String getCursorName() throws SQLException
getCursorName in interface ResultSetSQLExceptionpublic ResultSetMetaData getMetaData()
getMetaData in interface ResultSetpublic Object getObject(int columnIndex) throws SQLException
getObject in interface ResultSetSQLExceptionpublic Object getObject(String columnLabel) throws SQLException
getObject in interface ResultSetSQLExceptionpublic Object getObject(int columnIndex, Map<String,Class<?>> map) throws SQLException
getObject in interface ResultSetSQLExceptionpublic Object getObject(String columnLabel, Map<String,Class<?>> map) throws SQLException
getObject in interface ResultSetSQLExceptionpublic <T> T getObject(int columnIndex,
Class<T> type)
throws SQLException
getObject in interface ResultSetSQLExceptionpublic <T> T getObject(String columnLabel, Class<T> type) throws SQLException
getObject in interface ResultSetSQLExceptionpublic int findColumn(String columnLabel) throws SQLException
findColumn in interface ResultSetSQLExceptionpublic Reader getCharacterStream(String columnLabel) throws SQLException
getCharacterStream in interface ResultSetSQLExceptionpublic Reader getCharacterStream(int columnIndex) throws SQLException
getCharacterStream in interface ResultSetSQLExceptionpublic Reader getNCharacterStream(int columnIndex) throws SQLException
getNCharacterStream in interface ResultSetSQLExceptionpublic Reader getNCharacterStream(String columnLabel) throws SQLException
getNCharacterStream in interface ResultSetSQLExceptionpublic Ref getRef(int columnIndex) throws SQLException
getRef in interface ResultSetSQLExceptionpublic Ref getRef(String columnLabel) throws SQLException
getRef in interface ResultSetSQLExceptionpublic Blob getBlob(int columnIndex) throws SQLException
getBlob in interface ResultSetSQLExceptionpublic Blob getBlob(String columnLabel) throws SQLException
getBlob in interface ResultSetSQLExceptionpublic Clob getClob(int columnIndex) throws SQLException
getClob in interface ResultSetSQLExceptionpublic Clob getClob(String columnLabel) throws SQLException
getClob in interface ResultSetSQLExceptionpublic void setComplexData(ComplexData[] complexData)
public Array getArray(int columnIndex) throws SQLException
getArray in interface ResultSetSQLExceptionpublic Object getComplex(int columnIndex) throws SQLException
SQLExceptionpublic Array getArray(String columnLabel) throws SQLException
getArray in interface 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 in interface ResultSetSQLExceptionpublic URL getURL(String columnLabel) throws SQLException
getURL in interface ResultSetSQLExceptionpublic RowId getRowId(int columnIndex) throws SQLException
getRowId in interface ResultSetSQLExceptionpublic RowId getRowId(String columnLabel) throws SQLException
getRowId in interface ResultSetSQLExceptionpublic NClob getNClob(int columnIndex) throws SQLException
getNClob in interface ResultSetSQLExceptionpublic NClob getNClob(String columnLabel) throws SQLException
getNClob in interface ResultSetSQLExceptionpublic SQLXML getSQLXML(int columnIndex) throws SQLException
getSQLXML in interface ResultSetSQLExceptionpublic SQLXML getSQLXML(String columnLabel) throws SQLException
getSQLXML in interface ResultSetSQLExceptionpublic String getNString(int columnIndex) throws SQLException
getNString in interface ResultSetSQLExceptionpublic String getNString(String columnLabel) throws SQLException
getNString in interface ResultSetSQLExceptionpublic boolean getBoolean(int columnIndex)
throws SQLException
getBoolean in interface ResultSetSQLExceptionpublic boolean getBoolean(String columnLabel) throws SQLException
getBoolean in interface ResultSetSQLExceptionpublic byte getByte(int columnIndex)
throws SQLException
getByte in interface ResultSetSQLExceptionpublic byte getByte(String columnLabel) throws SQLException
getByte in interface ResultSetSQLExceptionpublic short getShort(int columnIndex)
throws SQLException
getShort in interface ResultSetSQLExceptionpublic short getShort(String columnLabel) throws SQLException
getShort in interface ResultSetSQLExceptionpublic boolean rowUpdated()
throws SQLException
rowUpdated in interface ResultSetSQLExceptionpublic boolean rowInserted()
throws SQLException
rowInserted in interface ResultSetSQLExceptionpublic boolean rowDeleted()
throws SQLException
rowDeleted in interface ResultSetSQLExceptionprotected boolean checkRefreshable()
throws SQLException
SQLExceptionpublic void insertRow()
throws SQLException
insertRow in interface ResultSetSQLExceptionpublic void updateRow()
throws SQLException
updateRow in interface ResultSetSQLExceptionpublic void deleteRow()
throws SQLException
deleteRow in interface ResultSetSQLExceptionpublic void refreshRow()
throws SQLException
refreshRow in interface ResultSetSQLExceptionprotected int refreshRowInternalOracle(int size)
throws SQLException
SQLExceptionprotected boolean isValidRow(int rowIndex)
throws SQLException
SQLExceptionprotected void cancelRowInserts()
public void cancelRowUpdates()
throws SQLException
cancelRowUpdates in interface ResultSetSQLExceptionpublic void moveToInsertRow()
throws SQLException
moveToInsertRow in interface ResultSetSQLExceptionpublic void moveToCurrentRow()
throws SQLException
moveToCurrentRow in interface ResultSetSQLExceptionpublic void updateNull(int columnIndex)
throws SQLException
updateNull in interface ResultSetSQLExceptionpublic void updateNull(String columnLabel) throws SQLException
updateNull in interface ResultSetSQLExceptionpublic void updateBoolean(int columnIndex,
boolean bool)
throws SQLException
updateBoolean in interface ResultSetSQLExceptionpublic void updateBoolean(String columnLabel, boolean value) throws SQLException
updateBoolean in interface ResultSetSQLExceptionpublic void updateByte(int columnIndex,
byte value)
throws SQLException
updateByte in interface ResultSetSQLExceptionpublic void updateByte(String columnLabel, byte value) throws SQLException
updateByte in interface ResultSetSQLExceptionpublic void updateShort(int columnIndex,
short value)
throws SQLException
updateShort in interface ResultSetSQLExceptionpublic void updateShort(String columnLabel, short value) throws SQLException
updateShort in interface ResultSetSQLExceptionpublic void updateInt(int columnIndex,
int value)
throws SQLException
updateInt in interface ResultSetSQLExceptionpublic void updateInt(String columnLabel, int value) throws SQLException
updateInt in interface ResultSetSQLExceptionpublic void updateFloat(int columnIndex,
float value)
throws SQLException
updateFloat in interface ResultSetSQLExceptionpublic void updateFloat(String columnLabel, float value) throws SQLException
updateFloat in interface ResultSetSQLExceptionpublic void updateDouble(int columnIndex,
double value)
throws SQLException
updateDouble in interface ResultSetSQLExceptionpublic void updateDouble(String columnLabel, double value) throws SQLException
updateDouble in interface ResultSetSQLExceptionpublic void updateBigDecimal(int columnIndex,
BigDecimal value)
throws SQLException
updateBigDecimal in interface ResultSetSQLExceptionpublic void updateBigDecimal(String columnLabel, BigDecimal value) throws SQLException
updateBigDecimal in interface ResultSetSQLExceptionpublic void updateString(int columnIndex,
String value)
throws SQLException
updateString in interface ResultSetSQLExceptionpublic void updateString(String columnLabel, String value) throws SQLException
updateString in interface ResultSetSQLExceptionpublic void updateBytes(int columnIndex,
byte[] value)
throws SQLException
updateBytes in interface ResultSetSQLExceptionpublic void updateBytes(String columnLabel, byte[] value) throws SQLException
updateBytes in interface ResultSetSQLExceptionpublic void updateDate(int columnIndex,
Date date)
throws SQLException
updateDate in interface ResultSetSQLExceptionpublic void updateDate(String columnLabel, Date value) throws SQLException
updateDate in interface ResultSetSQLExceptionpublic void updateTime(int columnIndex,
Time time)
throws SQLException
updateTime in interface ResultSetSQLExceptionpublic void updateTime(String columnLabel, Time value) throws SQLException
updateTime in interface ResultSetSQLExceptionpublic void updateTimestamp(int columnIndex,
Timestamp timeStamp)
throws SQLException
updateTimestamp in interface ResultSetSQLExceptionpublic void updateTimestamp(String columnLabel, Timestamp value) throws SQLException
updateTimestamp in interface ResultSetSQLExceptionpublic void updateAsciiStream(int columnIndex,
InputStream inputStream)
throws SQLException
updateAsciiStream in interface ResultSetSQLExceptionpublic void updateAsciiStream(String columnLabel, InputStream inputStream) throws SQLException
updateAsciiStream in interface ResultSetSQLExceptionpublic void updateAsciiStream(int columnIndex,
InputStream inputStream,
int length)
throws SQLException
updateAsciiStream in interface ResultSetSQLExceptionpublic void updateAsciiStream(String columnLabel, InputStream inputStream, int length) throws SQLException
updateAsciiStream in interface ResultSetSQLExceptionpublic void updateAsciiStream(int columnIndex,
InputStream inputStream,
long length)
throws SQLException
updateAsciiStream in interface ResultSetSQLExceptionpublic void updateAsciiStream(String columnLabel, InputStream inputStream, long length) throws SQLException
updateAsciiStream in interface ResultSetSQLExceptionpublic void updateBinaryStream(int columnIndex,
InputStream inputStream,
int length)
throws SQLException
updateBinaryStream in interface ResultSetSQLExceptionpublic void updateBinaryStream(int columnIndex,
InputStream inputStream,
long length)
throws SQLException
updateBinaryStream in interface ResultSetSQLExceptionpublic void updateBinaryStream(String columnLabel, InputStream inputStream, int length) throws SQLException
updateBinaryStream in interface ResultSetSQLExceptionpublic void updateBinaryStream(String columnLabel, InputStream inputStream, long length) throws SQLException
updateBinaryStream in interface ResultSetSQLExceptionpublic void updateBinaryStream(int columnIndex,
InputStream inputStream)
throws SQLException
updateBinaryStream in interface ResultSetSQLExceptionpublic void updateBinaryStream(String columnLabel, InputStream inputStream) throws SQLException
updateBinaryStream in interface ResultSetSQLExceptionpublic void updateCharacterStream(int columnIndex,
Reader reader,
int length)
throws SQLException
updateCharacterStream in interface ResultSetSQLExceptionpublic void updateCharacterStream(int columnIndex,
Reader value)
throws SQLException
updateCharacterStream in interface ResultSetSQLExceptionpublic void updateCharacterStream(String columnLabel, Reader reader, int length) throws SQLException
updateCharacterStream in interface ResultSetSQLExceptionpublic void updateCharacterStream(int columnIndex,
Reader value,
long length)
throws SQLException
updateCharacterStream in interface ResultSetSQLExceptionpublic void updateCharacterStream(String columnLabel, Reader reader, long length) throws SQLException
updateCharacterStream in interface ResultSetSQLExceptionpublic void updateCharacterStream(String columnLabel, Reader reader) throws SQLException
updateCharacterStream in interface ResultSetSQLExceptionpublic void updateObject(int columnIndex,
Object value,
int scaleOrLength)
throws SQLException
updateObject in interface ResultSetSQLExceptionpublic void updateObject(int columnIndex,
Object value)
throws SQLException
updateObject in interface ResultSetSQLExceptionpublic void updateObject(String columnLabel, Object value, int scaleOrLength) throws SQLException
updateObject in interface ResultSetSQLExceptionpublic void updateObject(String columnLabel, Object value) throws SQLException
updateObject in interface ResultSetSQLExceptionpublic void updateObject(int columnIndex,
Object x,
SQLType targetSqlType)
throws SQLException
updateObject in interface ResultSetSQLExceptionpublic void updateLong(int columnIndex,
long value)
throws SQLException
updateLong in interface ResultSetSQLExceptionpublic void updateLong(String columnLabel, long value) throws SQLException
updateLong in interface ResultSetSQLExceptionpublic void updateRef(int columnIndex,
Ref ref)
throws SQLException
updateRef in interface ResultSetSQLExceptionpublic void updateRef(String columnLabel, Ref ref) throws SQLException
updateRef in interface ResultSetSQLExceptionpublic void updateBlob(int columnIndex,
Blob blob)
throws SQLException
updateBlob in interface ResultSetSQLExceptionpublic void updateBlob(String columnLabel, Blob blob) throws SQLException
updateBlob in interface ResultSetSQLExceptionpublic void updateBlob(String columnLabel, Blob blob) throws SQLException
SQLExceptionpublic void updateBlob(int columnIndex,
InputStream inputStream)
throws SQLException
updateBlob in interface ResultSetSQLExceptionpublic void updateBlob(String columnLabel, InputStream inputStream) throws SQLException
updateBlob in interface ResultSetSQLExceptionpublic void updateBlob(int columnIndex,
InputStream inputStream,
long length)
throws SQLException
updateBlob in interface ResultSetSQLExceptionpublic void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException
updateBlob in interface ResultSetSQLExceptionpublic void updateClob(int columnIndex,
Clob clob)
throws SQLException
updateClob in interface ResultSetSQLExceptionpublic void updateClob(String columnLabel, Clob clob) throws SQLException
updateClob in interface ResultSetSQLExceptionpublic void updateClob(int columnIndex,
Reader reader,
long length)
throws SQLException
updateClob in interface ResultSetSQLExceptionpublic void updateClob(String columnLabel, Reader reader, long length) throws SQLException
updateClob in interface ResultSetSQLExceptionpublic void updateClob(int columnIndex,
Reader reader)
throws SQLException
updateClob in interface ResultSetSQLExceptionpublic void updateClob(String columnLabel, Reader reader) throws SQLException
updateClob in interface ResultSetSQLExceptionpublic void updateArray(int columnIndex,
Array array)
throws SQLException
updateArray in interface ResultSetSQLExceptionpublic void updateArray(String columnLabel, Array array) throws SQLException
updateArray in interface ResultSetSQLExceptionpublic void updateRowId(int columnIndex,
RowId rowId)
throws SQLException
updateRowId in interface ResultSetSQLExceptionpublic void updateRowId(String columnLabel, RowId rowId) throws SQLException
updateRowId in interface ResultSetSQLExceptionpublic void updateNString(int columnIndex,
String nstring)
throws SQLException
updateNString in interface ResultSetSQLExceptionpublic void updateNString(String columnLabel, String nstring) throws SQLException
updateNString in interface ResultSetSQLExceptionpublic void updateNClob(int columnIndex,
NClob nclob)
throws SQLException
updateNClob in interface ResultSetSQLExceptionpublic void updateNClob(String columnLabel, NClob nclob) throws SQLException
updateNClob in interface ResultSetSQLExceptionpublic void updateNClob(int columnIndex,
Reader reader)
throws SQLException
updateNClob in interface ResultSetSQLExceptionpublic void updateNClob(String columnLabel, Reader reader) throws SQLException
updateNClob in interface ResultSetSQLExceptionpublic void updateNClob(int columnIndex,
Reader reader,
long length)
throws SQLException
updateNClob in interface ResultSetSQLExceptionpublic void updateNClob(String columnLabel, Reader reader, long length) throws SQLException
updateNClob in interface ResultSetSQLExceptionpublic void updateSQLXML(int columnIndex,
SQLXML xmlObject)
throws SQLException
updateSQLXML in interface ResultSetSQLExceptionpublic void updateSQLXML(String columnLabel, SQLXML xmlObject) throws SQLException
updateSQLXML in interface ResultSetSQLExceptionpublic void updateNCharacterStream(int columnIndex,
Reader value,
long length)
throws SQLException
updateNCharacterStream in interface ResultSetSQLExceptionpublic void updateNCharacterStream(String columnLabel, Reader reader, long length) throws SQLException
updateNCharacterStream in interface ResultSetSQLExceptionpublic void updateNCharacterStream(int columnIndex,
Reader reader)
throws SQLException
updateNCharacterStream in interface ResultSetSQLExceptionpublic void updateNCharacterStream(String columnLabel, Reader reader) throws SQLException
updateNCharacterStream in interface ResultSetSQLExceptionpublic int getHoldability()
getHoldability in interface ResultSetpublic <T> T unwrap(Class<T> iface) throws SQLException
unwrap in interface WrapperSQLExceptionpublic boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor in interface WrapperSQLExceptionpublic void setForceTableAlias()
public int getRowPointer()
protected void setRowPointer(int pointer)
public int getDataSize()
public boolean isBinaryEncoded()
protected void resetState()
public boolean isEof()
Copyright © 2022 oceanbase.com. All rights reserved.