public class MariaSelectResultSet extends Object implements ResultSet
Modifier and Type | Field and Description |
---|---|
boolean |
callableResult |
static MariaSelectResultSet |
EMPTY |
static int |
TINYINT1_IS_BIT |
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 |
---|
MariaSelectResultSet(ColumnInformation[] columnInformation,
List<byte[][]> resultSet,
Protocol protocol,
int resultSetScrollType)
Create filled resultset.
|
MariaSelectResultSet(ColumnInformation[] columnInformation,
Statement statement,
Protocol protocol,
ReadPacketFetcher fetcher,
boolean isBinaryEncoded,
int resultSetScrollType,
int fetchSize,
boolean isCanHaveCallableResultset)
Create Streaming resultset.
|
Modifier and Type | Method and Description |
---|---|
boolean |
absolute(int row) |
void |
afterLast() |
void |
beforeFirst() |
void |
cancelRowUpdates()
{inheritDoc}.
|
protected byte[] |
checkObjectRange(int position) |
void |
clearWarnings() |
void |
close()
Close resultset.
|
static ResultSet |
createGeneratedData(long[] data,
Protocol protocol,
boolean findColumnReturnsOne)
Create a result set from given data.
|
static ResultSet |
createResultSet(String[] columnNames,
MariaDbType[] columnTypes,
String[][] data,
Protocol protocol)
Create a result set from given data.
|
void |
deleteRow()
{inheritDoc}.
|
void |
fetchAllStreaming()
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)
{inheritDoc}.
|
Array |
getArray(String columnLabel)
{inheritDoc}.
|
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 index)
{inheritDoc}.
|
boolean |
getBoolean(String columnLabel)
{inheritDoc}.
|
byte |
getByte(int index)
{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}.
|
int |
getConcurrency() |
String |
getCursorName()
{inheritDoc}.
|
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}.
|
InputStream |
getInputStream(byte[] rawBytes)
Get inputStream value from raw data.
|
int |
getInt(int columnIndex)
{inheritDoc}.
|
int |
getInt(String columnLabel)
{inheritDoc}.
|
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}.
|
Object |
getObject(int columnIndex)
{inheritDoc}.
|
<T> T |
getObject(int parameterIndex,
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> arg1) |
Object |
getObject(String columnLabel,
Map<String,Class<?>> map)
{inheritDoc}.
|
Ref |
getRef(int columnIndex)
{inheritDoc}.
|
Ref |
getRef(String columnLabel)
{inheritDoc}.
|
int |
getRow() |
RowId |
getRowId(int columnIndex)
{inheritDoc}.
|
RowId |
getRowId(String columnLabel)
{inheritDoc}.
|
short |
getShort(int index)
{inheritDoc}.
|
short |
getShort(String columnLabel)
{inheritDoc}.
|
SQLXML |
getSQLXML(int columnIndex)
{inheritDoc}.
|
SQLXML |
getSQLXML(String columnLabel)
{inheritDoc}.
|
Statement |
getStatement() |
String |
getString(int columnIndex)
{inheritDoc}.
|
String |
getString(String columnLabel)
{inheritDoc}.
|
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,
Calendar cal)
{inheritDoc}.
|
Timestamp |
getTimestamp(String columnLabel)
{inheritDoc}.
|
Timestamp |
getTimestamp(String columnLabel,
Calendar cal)
{inheritDoc}.
|
int |
getType() |
InputStream |
getUnicodeStream(int columnIndex)
{inheritDoc}.
|
InputStream |
getUnicodeStream(String columnLabel)
{inheritDoc}.
|
URL |
getURL(int columnIndex)
{inheritDoc}.
|
URL |
getURL(String columnLabel)
{inheritDoc}.
|
SQLWarning |
getWarnings() |
void |
initFetch()
Initialize and fetch first value.
|
void |
insertRow()
{inheritDoc}.
|
boolean |
isAfterLast() |
boolean |
isBeforeFirst() |
boolean |
isBinaryEncoded() |
boolean |
isCallableResult() |
boolean |
isClosed() |
boolean |
isFirst() |
boolean |
isLast() |
boolean |
isWrapperFor(Class<?> iface)
{inheritDoc}.
|
boolean |
last() |
void |
moveToCurrentRow()
{inheritDoc}.
|
void |
moveToInsertRow()
{inheritDoc}.
|
boolean |
next() |
boolean |
previous() |
boolean |
readNextValue(List<byte[][]> values)
Read next value.
|
void |
refreshRow()
{inheritDoc}.
|
boolean |
relative(int rows) |
boolean |
rowDeleted()
{inheritDoc}.
|
boolean |
rowInserted()
{inheritDoc}.
|
boolean |
rowUpdated()
{inheritDoc}.
|
void |
setCallableResult(boolean callableResult) |
void |
setFetchDirection(int direction) |
void |
setFetchSize(int fetchSize) |
void |
setReturnTableAlias(boolean returnTableAlias) |
void |
setStatement(Statement statement) |
<T> T |
unwrap(Class<T> iface)
{inheritDoc}.
|
void |
updateArray(int columnIndex,
Array array)
{inheritDoc}.
|
void |
updateArray(String columnLabel,
Array array)
{inheritDoc}.
|
void |
updateAsciiStream(int columnIndex,
InputStream inputStream)
{inheritDoc}.
|
void |
updateAsciiStream(int columnIndex,
InputStream inputStream,
int length)
{inheritDoc}.
|
void |
updateAsciiStream(int columnIndex,
InputStream inputStream,
long length)
{inheritDoc}.
|
void |
updateAsciiStream(String columnLabel,
InputStream inputStream)
{inheritDoc}.
|
void |
updateAsciiStream(String columnLabel,
InputStream value,
int length)
{inheritDoc}.
|
void |
updateAsciiStream(String columnLabel,
InputStream inputStream,
long length)
{inheritDoc}.
|
void |
updateBigDecimal(int columnIndex,
BigDecimal value)
{inheritDoc}.
|
void |
updateBigDecimal(String columnLabel,
BigDecimal value)
{inheritDoc}.
|
void |
updateBinaryStream(int columnIndex,
InputStream inputStream)
{inheritDoc}.
|
void |
updateBinaryStream(int columnIndex,
InputStream inputStream,
int length)
{inheritDoc}.
|
void |
updateBinaryStream(int columnIndex,
InputStream inputStream,
long length)
{inheritDoc}.
|
void |
updateBinaryStream(String columnLabel,
InputStream inputStream)
{inheritDoc}.
|
void |
updateBinaryStream(String columnLabel,
InputStream value,
int length)
{inheritDoc}.
|
void |
updateBinaryStream(String columnLabel,
InputStream inputStream,
long length)
{inheritDoc}.
|
void |
updateBlob(int columnIndex,
Blob blob)
{inheritDoc}.
|
void |
updateBlob(int columnIndex,
InputStream inputStream)
{inheritDoc}.
|
void |
updateBlob(int columnIndex,
InputStream inputStream,
long length)
{inheritDoc}.
|
void |
updateBlob(String columnLabel,
Blob blob)
{inheritDoc}.
|
void |
updateBlob(String columnLabel,
InputStream inputStream)
{inheritDoc}.
|
void |
updateBlob(String columnLabel,
InputStream inputStream,
long length)
{inheritDoc}.
|
void |
updateBoolean(int columnIndex,
boolean bool)
{inheritDoc}.
|
void |
updateBoolean(String columnLabel,
boolean value)
{inheritDoc}.
|
void |
updateByte(int columnIndex,
byte value)
{inheritDoc}.
|
void |
updateByte(String columnLabel,
byte value)
{inheritDoc}.
|
void |
updateBytes(int columnIndex,
byte[] value)
{inheritDoc}.
|
void |
updateBytes(String columnLabel,
byte[] value)
{inheritDoc}.
|
void |
updateCharacterStream(int columnIndex,
Reader value)
{inheritDoc}.
|
void |
updateCharacterStream(int columnIndex,
Reader value,
int length)
{inheritDoc}.
|
void |
updateCharacterStream(int columnIndex,
Reader value,
long length)
{inheritDoc}.
|
void |
updateCharacterStream(String columnLabel,
Reader reader)
{inheritDoc}.
|
void |
updateCharacterStream(String columnLabel,
Reader reader,
int length)
{inheritDoc}.
|
void |
updateCharacterStream(String columnLabel,
Reader reader,
long length)
{inheritDoc}.
|
void |
updateClob(int columnIndex,
Clob clob)
{inheritDoc}.
|
void |
updateClob(int columnIndex,
Reader reader)
{inheritDoc}.
|
void |
updateClob(int columnIndex,
Reader reader,
long length)
{inheritDoc}.
|
void |
updateClob(String columnLabel,
Clob clob)
{inheritDoc}.
|
void |
updateClob(String columnLabel,
Reader reader)
{inheritDoc}.
|
void |
updateClob(String columnLabel,
Reader reader,
long length)
{inheritDoc}.
|
void |
updateDate(int columnIndex,
Date date)
{inheritDoc}.
|
void |
updateDate(String columnLabel,
Date value)
{inheritDoc}.
|
void |
updateDouble(int columnIndex,
double value)
{inheritDoc}.
|
void |
updateDouble(String columnLabel,
double value)
{inheritDoc}.
|
void |
updateFloat(int columnIndex,
float value)
{inheritDoc}.
|
void |
updateFloat(String columnLabel,
float value)
{inheritDoc}.
|
void |
updateInt(int columnIndex,
int value)
{inheritDoc}.
|
void |
updateInt(String columnLabel,
int value)
{inheritDoc}.
|
void |
updateLong(int columnIndex,
long value)
{inheritDoc}.
|
void |
updateLong(String columnLabel,
long value)
{inheritDoc}.
|
void |
updateNCharacterStream(int columnIndex,
Reader reader)
{inheritDoc}.
|
void |
updateNCharacterStream(int columnIndex,
Reader value,
long length)
{inheritDoc}.
|
void |
updateNCharacterStream(String columnLabel,
Reader reader)
{inheritDoc}.
|
void |
updateNCharacterStream(String columnLabel,
Reader reader,
long length)
{inheritDoc}.
|
void |
updateNClob(int columnIndex,
NClob nclob)
{inheritDoc}.
|
void |
updateNClob(int columnIndex,
Reader reader)
{inheritDoc}.
|
void |
updateNClob(int columnIndex,
Reader reader,
long length)
{inheritDoc}.
|
void |
updateNClob(String columnLabel,
NClob nclob)
{inheritDoc}.
|
void |
updateNClob(String columnLabel,
Reader reader)
{inheritDoc}.
|
void |
updateNClob(String columnLabel,
Reader reader,
long length)
{inheritDoc}.
|
void |
updateNString(int columnIndex,
String nstring)
{inheritDoc}.
|
void |
updateNString(String columnLabel,
String nstring)
{inheritDoc}.
|
void |
updateNull(int columnIndex)
{inheritDoc}.
|
void |
updateNull(String columnLabel)
{inheritDoc}.
|
void |
updateObject(int columnIndex,
Object value)
{inheritDoc}.
|
void |
updateObject(int columnIndex,
Object value,
int scaleOrLength)
{inheritDoc}.
|
void |
updateObject(String columnLabel,
Object value)
{inheritDoc}.
|
void |
updateObject(String columnLabel,
Object value,
int scaleOrLength)
{inheritDoc}.
|
void |
updateRef(int columnIndex,
Ref ref)
{inheritDoc}.
|
void |
updateRef(String columnLabel,
Ref ref)
{inheritDoc}.
|
void |
updateRow()
{inheritDoc}.
|
void |
updateRowId(int columnIndex,
RowId rowId)
{inheritDoc}.
|
void |
updateRowId(String columnLabel,
RowId rowId)
{inheritDoc}.
|
void |
updateShort(int columnIndex,
short value)
{inheritDoc}.
|
void |
updateShort(String columnLabel,
short value)
{inheritDoc}.
|
void |
updateSQLXML(int columnIndex,
SQLXML xmlObject)
{inheritDoc}.
|
void |
updateSQLXML(String columnLabel,
SQLXML xmlObject)
{inheritDoc}.
|
void |
updateString(int columnIndex,
String value)
{inheritDoc}.
|
void |
updateString(String columnLabel,
String value)
{inheritDoc}.
|
void |
updateTime(int columnIndex,
Time time)
{inheritDoc}.
|
void |
updateTime(String columnLabel,
Time value)
{inheritDoc}.
|
void |
updateTimestamp(int columnIndex,
Timestamp timeStamp)
{inheritDoc}.
|
void |
updateTimestamp(String columnLabel,
Timestamp value)
{inheritDoc}.
|
boolean |
wasNull()
{inheritDoc}.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
updateObject, updateObject, updateObject, updateObject
public static final MariaSelectResultSet EMPTY
public static final int TINYINT1_IS_BIT
public static final int YEAR_IS_DATE_TYPE
public boolean callableResult
public MariaSelectResultSet(ColumnInformation[] columnInformation, Statement statement, Protocol protocol, ReadPacketFetcher fetcher, boolean isBinaryEncoded, int resultSetScrollType, int fetchSize, boolean isCanHaveCallableResultset)
columnInformation
- column informationstatement
- statementprotocol
- current protocolfetcher
- stream fetcherisBinaryEncoded
- is binary protocol ?resultSetScrollType
- one of the following ResultSet
constants: ResultSet.TYPE_FORWARD_ONLY
,
ResultSet.TYPE_SCROLL_INSENSITIVE
, or ResultSet.TYPE_SCROLL_SENSITIVE
fetchSize
- current fetch sizeisCanHaveCallableResultset
- is it from a callableStatement ?public MariaSelectResultSet(ColumnInformation[] columnInformation, List<byte[][]> resultSet, Protocol protocol, int resultSetScrollType)
columnInformation
- column informationresultSet
- resultsetprotocol
- current protocolresultSetScrollType
- one of the following ResultSet
constants: ResultSet.TYPE_FORWARD_ONLY
,
ResultSet.TYPE_SCROLL_INSENSITIVE
, or ResultSet.TYPE_SCROLL_SENSITIVE
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 MySQL 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 ResultSet createResultSet(String[] columnNames, MariaDbType[] 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 MySQL text protocol, except boolean (BIT(1)) values that are represented as "1" or "0" stringsprotocol
- protocolpublic void initFetch() throws IOException, QueryException
IOException
- exceptionQueryException
- exceptionpublic boolean isBinaryEncoded()
public void fetchAllStreaming() throws SQLException
SQLException
- if any error occurpublic boolean readNextValue(List<byte[][]> values) throws IOException, QueryException
values
- valuesIOException
- exceptionQueryException
- exceptionpublic void close() throws SQLException
close
in interface AutoCloseable
close
in interface ResultSet
SQLException
public boolean next() throws SQLException
next
in interface ResultSet
SQLException
protected byte[] checkObjectRange(int position) throws SQLException
SQLException
public SQLWarning getWarnings() throws SQLException
getWarnings
in interface ResultSet
SQLException
public void clearWarnings() throws SQLException
clearWarnings
in interface ResultSet
SQLException
public boolean isBeforeFirst() throws SQLException
isBeforeFirst
in interface ResultSet
SQLException
public boolean isAfterLast() throws SQLException
isAfterLast
in interface ResultSet
SQLException
public boolean isFirst() throws SQLException
isFirst
in interface ResultSet
SQLException
public boolean isLast() throws SQLException
isLast
in interface ResultSet
SQLException
public void beforeFirst() throws SQLException
beforeFirst
in interface ResultSet
SQLException
public void afterLast() throws SQLException
afterLast
in interface ResultSet
SQLException
public boolean first() throws SQLException
first
in interface ResultSet
SQLException
public boolean last() throws SQLException
last
in interface ResultSet
SQLException
public int getRow() throws SQLException
getRow
in interface ResultSet
SQLException
public boolean absolute(int row) throws SQLException
absolute
in interface ResultSet
SQLException
public boolean relative(int rows) throws SQLException
relative
in interface ResultSet
SQLException
public boolean previous() throws SQLException
previous
in interface ResultSet
SQLException
public int getFetchDirection() throws SQLException
getFetchDirection
in interface ResultSet
SQLException
public void setFetchDirection(int direction) throws SQLException
setFetchDirection
in interface ResultSet
SQLException
public int getFetchSize() throws SQLException
getFetchSize
in interface ResultSet
SQLException
public void setFetchSize(int fetchSize) throws SQLException
setFetchSize
in interface ResultSet
SQLException
public int getType() throws SQLException
getType
in interface ResultSet
SQLException
public int getConcurrency() throws SQLException
getConcurrency
in interface ResultSet
SQLException
public boolean isCallableResult()
public void setCallableResult(boolean callableResult)
public Statement getStatement()
getStatement
in interface ResultSet
public void setStatement(Statement statement)
public boolean wasNull() throws SQLException
wasNull
in interface ResultSet
SQLException
public InputStream getAsciiStream(String columnLabel) throws SQLException
getAsciiStream
in interface ResultSet
SQLException
public InputStream getAsciiStream(int columnIndex) throws SQLException
getAsciiStream
in interface ResultSet
SQLException
public String getString(int columnIndex) throws SQLException
getString
in interface ResultSet
SQLException
public String getString(String columnLabel) throws SQLException
getString
in interface ResultSet
SQLException
public InputStream getBinaryStream(int columnIndex) throws SQLException
getBinaryStream
in interface ResultSet
SQLException
public InputStream getBinaryStream(String columnLabel) throws SQLException
getBinaryStream
in interface ResultSet
SQLException
public int getInt(int columnIndex) throws SQLException
getInt
in interface ResultSet
SQLException
public int getInt(String columnLabel) throws SQLException
getInt
in interface ResultSet
SQLException
public long getLong(String columnLabel) throws SQLException
getLong
in interface ResultSet
SQLException
public long getLong(int columnIndex) throws SQLException
getLong
in interface ResultSet
SQLException
public float getFloat(String columnLabel) throws SQLException
getFloat
in interface ResultSet
SQLException
public float getFloat(int columnIndex) throws SQLException
getFloat
in interface ResultSet
SQLException
public double getDouble(String columnLabel) throws SQLException
getDouble
in interface ResultSet
SQLException
public double getDouble(int columnIndex) throws SQLException
getDouble
in interface ResultSet
SQLException
public BigDecimal getBigDecimal(String columnLabel, int scale) throws SQLException
getBigDecimal
in interface ResultSet
SQLException
public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException
getBigDecimal
in interface ResultSet
SQLException
public BigDecimal getBigDecimal(int columnIndex) throws SQLException
getBigDecimal
in interface ResultSet
SQLException
public BigDecimal getBigDecimal(String columnLabel) throws SQLException
getBigDecimal
in interface ResultSet
SQLException
public byte[] getBytes(String columnLabel) throws SQLException
getBytes
in interface ResultSet
SQLException
public byte[] getBytes(int columnIndex) throws SQLException
getBytes
in interface ResultSet
SQLException
public Date getDate(int columnIndex) throws SQLException
getDate
in interface ResultSet
SQLException
public Date getDate(String columnLabel) throws SQLException
getDate
in interface ResultSet
SQLException
public Date getDate(int columnIndex, Calendar cal) throws SQLException
getDate
in interface ResultSet
SQLException
public Date getDate(String columnLabel, Calendar cal) throws SQLException
getDate
in interface ResultSet
SQLException
public Time getTime(int columnIndex) throws SQLException
getTime
in interface ResultSet
SQLException
public Time getTime(String columnLabel) throws SQLException
getTime
in interface ResultSet
SQLException
public Time getTime(int columnIndex, Calendar cal) throws SQLException
getTime
in interface ResultSet
SQLException
public Time getTime(String columnLabel, Calendar cal) throws SQLException
getTime
in interface ResultSet
SQLException
public Timestamp getTimestamp(String columnLabel) throws SQLException
getTimestamp
in interface ResultSet
SQLException
public Timestamp getTimestamp(int columnIndex, Calendar cal) throws SQLException
getTimestamp
in interface ResultSet
SQLException
public Timestamp getTimestamp(String columnLabel, Calendar cal) throws SQLException
getTimestamp
in interface ResultSet
SQLException
public Timestamp getTimestamp(int columnIndex) throws SQLException
getTimestamp
in interface ResultSet
SQLException
public InputStream getUnicodeStream(String columnLabel) throws SQLException
getUnicodeStream
in interface ResultSet
SQLException
public InputStream getUnicodeStream(int columnIndex) throws SQLException
getUnicodeStream
in interface ResultSet
SQLException
public String getCursorName() throws SQLException
getCursorName
in interface ResultSet
SQLException
public ResultSetMetaData getMetaData() throws SQLException
getMetaData
in interface ResultSet
SQLException
public Object getObject(int columnIndex) throws SQLException
getObject
in interface ResultSet
SQLException
public Object getObject(String columnLabel) throws SQLException
getObject
in interface ResultSet
SQLException
public Object getObject(int columnIndex, Map<String,Class<?>> map) throws SQLException
getObject
in interface ResultSet
SQLException
public Object getObject(String columnLabel, Map<String,Class<?>> map) throws SQLException
getObject
in interface ResultSet
SQLException
public <T> T getObject(int parameterIndex, Class<T> type) throws SQLException
getObject
in interface ResultSet
SQLException
public <T> T getObject(String columnLabel, Class<T> arg1) throws SQLException
getObject
in interface ResultSet
SQLException
public int findColumn(String columnLabel) throws SQLException
findColumn
in interface ResultSet
SQLException
public Reader getCharacterStream(String columnLabel) throws SQLException
getCharacterStream
in interface ResultSet
SQLException
public Reader getCharacterStream(int columnIndex) throws SQLException
getCharacterStream
in interface ResultSet
SQLException
public Reader getNCharacterStream(int columnIndex) throws SQLException
getNCharacterStream
in interface ResultSet
SQLException
public Reader getNCharacterStream(String columnLabel) throws SQLException
getNCharacterStream
in interface ResultSet
SQLException
public boolean rowUpdated() throws SQLException
rowUpdated
in interface ResultSet
SQLException
public boolean rowInserted() throws SQLException
rowInserted
in interface ResultSet
SQLException
public boolean rowDeleted() throws SQLException
rowDeleted
in interface ResultSet
SQLException
public void updateNull(int columnIndex) throws SQLException
updateNull
in interface ResultSet
SQLException
public void updateNull(String columnLabel) throws SQLException
updateNull
in interface ResultSet
SQLException
public void updateBoolean(int columnIndex, boolean bool) throws SQLException
updateBoolean
in interface ResultSet
SQLException
public void updateBoolean(String columnLabel, boolean value) throws SQLException
updateBoolean
in interface ResultSet
SQLException
public void updateByte(int columnIndex, byte value) throws SQLException
updateByte
in interface ResultSet
SQLException
public void updateByte(String columnLabel, byte value) throws SQLException
updateByte
in interface ResultSet
SQLException
public void updateShort(int columnIndex, short value) throws SQLException
updateShort
in interface ResultSet
SQLException
public void updateShort(String columnLabel, short value) throws SQLException
updateShort
in interface ResultSet
SQLException
public void updateInt(int columnIndex, int value) throws SQLException
updateInt
in interface ResultSet
SQLException
public void updateInt(String columnLabel, int value) throws SQLException
updateInt
in interface ResultSet
SQLException
public void updateFloat(int columnIndex, float value) throws SQLException
updateFloat
in interface ResultSet
SQLException
public void updateFloat(String columnLabel, float value) throws SQLException
updateFloat
in interface ResultSet
SQLException
public void updateDouble(int columnIndex, double value) throws SQLException
updateDouble
in interface ResultSet
SQLException
public void updateDouble(String columnLabel, double value) throws SQLException
updateDouble
in interface ResultSet
SQLException
public void updateBigDecimal(int columnIndex, BigDecimal value) throws SQLException
updateBigDecimal
in interface ResultSet
SQLException
public void updateBigDecimal(String columnLabel, BigDecimal value) throws SQLException
updateBigDecimal
in interface ResultSet
SQLException
public void updateString(int columnIndex, String value) throws SQLException
updateString
in interface ResultSet
SQLException
public void updateString(String columnLabel, String value) throws SQLException
updateString
in interface ResultSet
SQLException
public void updateBytes(int columnIndex, byte[] value) throws SQLException
updateBytes
in interface ResultSet
SQLException
public void updateBytes(String columnLabel, byte[] value) throws SQLException
updateBytes
in interface ResultSet
SQLException
public void updateDate(int columnIndex, Date date) throws SQLException
updateDate
in interface ResultSet
SQLException
public void updateDate(String columnLabel, Date value) throws SQLException
updateDate
in interface ResultSet
SQLException
public void updateTime(int columnIndex, Time time) throws SQLException
updateTime
in interface ResultSet
SQLException
public void updateTime(String columnLabel, Time value) throws SQLException
updateTime
in interface ResultSet
SQLException
public void updateTimestamp(int columnIndex, Timestamp timeStamp) throws SQLException
updateTimestamp
in interface ResultSet
SQLException
public void updateTimestamp(String columnLabel, Timestamp value) throws SQLException
updateTimestamp
in interface ResultSet
SQLException
public void updateAsciiStream(int columnIndex, InputStream inputStream, int length) throws SQLException
updateAsciiStream
in interface ResultSet
SQLException
public void updateAsciiStream(String columnLabel, InputStream inputStream) throws SQLException
updateAsciiStream
in interface ResultSet
SQLException
public void updateAsciiStream(String columnLabel, InputStream value, int length) throws SQLException
updateAsciiStream
in interface ResultSet
SQLException
public void updateAsciiStream(int columnIndex, InputStream inputStream, long length) throws SQLException
updateAsciiStream
in interface ResultSet
SQLException
public void updateAsciiStream(String columnLabel, InputStream inputStream, long length) throws SQLException
updateAsciiStream
in interface ResultSet
SQLException
public void updateAsciiStream(int columnIndex, InputStream inputStream) throws SQLException
updateAsciiStream
in interface ResultSet
SQLException
public void updateBinaryStream(int columnIndex, InputStream inputStream, int length) throws SQLException
updateBinaryStream
in interface ResultSet
SQLException
public void updateBinaryStream(int columnIndex, InputStream inputStream, long length) throws SQLException
updateBinaryStream
in interface ResultSet
SQLException
public void updateBinaryStream(String columnLabel, InputStream value, int length) throws SQLException
updateBinaryStream
in interface ResultSet
SQLException
public void updateBinaryStream(String columnLabel, InputStream inputStream, long length) throws SQLException
updateBinaryStream
in interface ResultSet
SQLException
public void updateBinaryStream(int columnIndex, InputStream inputStream) throws SQLException
updateBinaryStream
in interface ResultSet
SQLException
public void updateBinaryStream(String columnLabel, InputStream inputStream) throws SQLException
updateBinaryStream
in interface ResultSet
SQLException
public void updateCharacterStream(int columnIndex, Reader value, int length) throws SQLException
updateCharacterStream
in interface ResultSet
SQLException
public void updateCharacterStream(int columnIndex, Reader value) throws SQLException
updateCharacterStream
in interface ResultSet
SQLException
public void updateCharacterStream(String columnLabel, Reader reader, int length) throws SQLException
updateCharacterStream
in interface ResultSet
SQLException
public void updateCharacterStream(int columnIndex, Reader value, long length) throws SQLException
updateCharacterStream
in interface ResultSet
SQLException
public void updateCharacterStream(String columnLabel, Reader reader, long length) throws SQLException
updateCharacterStream
in interface ResultSet
SQLException
public void updateCharacterStream(String columnLabel, Reader reader) throws SQLException
updateCharacterStream
in interface ResultSet
SQLException
public void updateObject(int columnIndex, Object value, int scaleOrLength) throws SQLException
updateObject
in interface ResultSet
SQLException
public void updateObject(int columnIndex, Object value) throws SQLException
updateObject
in interface ResultSet
SQLException
public void updateObject(String columnLabel, Object value, int scaleOrLength) throws SQLException
updateObject
in interface ResultSet
SQLException
public void updateObject(String columnLabel, Object value) throws SQLException
updateObject
in interface ResultSet
SQLException
public void updateLong(String columnLabel, long value) throws SQLException
updateLong
in interface ResultSet
SQLException
public void updateLong(int columnIndex, long value) throws SQLException
updateLong
in interface ResultSet
SQLException
public void insertRow() throws SQLException
insertRow
in interface ResultSet
SQLException
public void updateRow() throws SQLException
updateRow
in interface ResultSet
SQLException
public void deleteRow() throws SQLException
deleteRow
in interface ResultSet
SQLException
public void refreshRow() throws SQLException
refreshRow
in interface ResultSet
SQLException
public void cancelRowUpdates() throws SQLException
cancelRowUpdates
in interface ResultSet
SQLException
public void moveToInsertRow() throws SQLException
moveToInsertRow
in interface ResultSet
SQLException
public void moveToCurrentRow() throws SQLException
moveToCurrentRow
in interface ResultSet
SQLException
public Ref getRef(int columnIndex) throws SQLException
getRef
in interface ResultSet
SQLException
public Ref getRef(String columnLabel) throws SQLException
getRef
in interface ResultSet
SQLException
public Blob getBlob(int columnIndex) throws SQLException
getBlob
in interface ResultSet
SQLException
public Blob getBlob(String columnLabel) throws SQLException
getBlob
in interface ResultSet
SQLException
public Clob getClob(int columnIndex) throws SQLException
getClob
in interface ResultSet
SQLException
public Clob getClob(String columnLabel) throws SQLException
getClob
in interface ResultSet
SQLException
public Array getArray(int columnIndex) throws SQLException
getArray
in interface ResultSet
SQLException
public Array getArray(String columnLabel) throws SQLException
getArray
in interface ResultSet
SQLException
public URL getURL(int columnIndex) throws SQLException
getURL
in interface ResultSet
SQLException
public URL getURL(String columnLabel) throws SQLException
getURL
in interface ResultSet
SQLException
public void updateRef(int columnIndex, Ref ref) throws SQLException
updateRef
in interface ResultSet
SQLException
public void updateRef(String columnLabel, Ref ref) throws SQLException
updateRef
in interface ResultSet
SQLException
public void updateBlob(int columnIndex, Blob blob) throws SQLException
updateBlob
in interface ResultSet
SQLException
public void updateBlob(String columnLabel, Blob blob) throws SQLException
updateBlob
in interface ResultSet
SQLException
public void updateBlob(int columnIndex, InputStream inputStream) throws SQLException
updateBlob
in interface ResultSet
SQLException
public void updateBlob(String columnLabel, InputStream inputStream) throws SQLException
updateBlob
in interface ResultSet
SQLException
public void updateBlob(int columnIndex, InputStream inputStream, long length) throws SQLException
updateBlob
in interface ResultSet
SQLException
public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException
updateBlob
in interface ResultSet
SQLException
public void updateClob(int columnIndex, Clob clob) throws SQLException
updateClob
in interface ResultSet
SQLException
public void updateClob(String columnLabel, Clob clob) throws SQLException
updateClob
in interface ResultSet
SQLException
public void updateClob(int columnIndex, Reader reader, long length) throws SQLException
updateClob
in interface ResultSet
SQLException
public void updateClob(String columnLabel, Reader reader, long length) throws SQLException
updateClob
in interface ResultSet
SQLException
public void updateClob(int columnIndex, Reader reader) throws SQLException
updateClob
in interface ResultSet
SQLException
public void updateClob(String columnLabel, Reader reader) throws SQLException
updateClob
in interface ResultSet
SQLException
public void updateArray(int columnIndex, Array array) throws SQLException
updateArray
in interface ResultSet
SQLException
public void updateArray(String columnLabel, Array array) throws SQLException
updateArray
in interface ResultSet
SQLException
public RowId getRowId(int columnIndex) throws SQLException
getRowId
in interface ResultSet
SQLException
public RowId getRowId(String columnLabel) throws SQLException
getRowId
in interface ResultSet
SQLException
public void updateRowId(int columnIndex, RowId rowId) throws SQLException
updateRowId
in interface ResultSet
SQLException
public void updateRowId(String columnLabel, RowId rowId) throws SQLException
updateRowId
in interface ResultSet
SQLException
public int getHoldability() throws SQLException
getHoldability
in interface ResultSet
SQLException
public void updateNString(int columnIndex, String nstring) throws SQLException
updateNString
in interface ResultSet
SQLException
public void updateNString(String columnLabel, String nstring) throws SQLException
updateNString
in interface ResultSet
SQLException
public void updateNClob(int columnIndex, NClob nclob) throws SQLException
updateNClob
in interface ResultSet
SQLException
public void updateNClob(String columnLabel, NClob nclob) throws SQLException
updateNClob
in interface ResultSet
SQLException
public void updateNClob(int columnIndex, Reader reader) throws SQLException
updateNClob
in interface ResultSet
SQLException
public void updateNClob(String columnLabel, Reader reader) throws SQLException
updateNClob
in interface ResultSet
SQLException
public void updateNClob(int columnIndex, Reader reader, long length) throws SQLException
updateNClob
in interface ResultSet
SQLException
public void updateNClob(String columnLabel, Reader reader, long length) throws SQLException
updateNClob
in interface ResultSet
SQLException
public NClob getNClob(int columnIndex) throws SQLException
getNClob
in interface ResultSet
SQLException
public NClob getNClob(String columnLabel) throws SQLException
getNClob
in interface ResultSet
SQLException
public SQLXML getSQLXML(int columnIndex) throws SQLException
getSQLXML
in interface ResultSet
SQLException
public SQLXML getSQLXML(String columnLabel) throws SQLException
getSQLXML
in interface ResultSet
SQLException
public void updateSQLXML(int columnIndex, SQLXML xmlObject) throws SQLException
updateSQLXML
in interface ResultSet
SQLException
public void updateSQLXML(String columnLabel, SQLXML xmlObject) throws SQLException
updateSQLXML
in interface ResultSet
SQLException
public String getNString(int columnIndex) throws SQLException
getNString
in interface ResultSet
SQLException
public String getNString(String columnLabel) throws SQLException
getNString
in interface ResultSet
SQLException
public void updateNCharacterStream(int columnIndex, Reader value, long length) throws SQLException
updateNCharacterStream
in interface ResultSet
SQLException
public void updateNCharacterStream(String columnLabel, Reader reader, long length) throws SQLException
updateNCharacterStream
in interface ResultSet
SQLException
public void updateNCharacterStream(int columnIndex, Reader reader) throws SQLException
updateNCharacterStream
in interface ResultSet
SQLException
public void updateNCharacterStream(String columnLabel, Reader reader) throws SQLException
updateNCharacterStream
in interface ResultSet
SQLException
public boolean getBoolean(int index) throws SQLException
getBoolean
in interface ResultSet
SQLException
public boolean getBoolean(String columnLabel) throws SQLException
getBoolean
in interface ResultSet
SQLException
public byte getByte(int index) throws SQLException
getByte
in interface ResultSet
SQLException
public byte getByte(String columnLabel) throws SQLException
getByte
in interface ResultSet
SQLException
public short getShort(int index) throws SQLException
getShort
in interface ResultSet
SQLException
public short getShort(String columnLabel) throws SQLException
getShort
in interface ResultSet
SQLException
public <T> T unwrap(Class<T> iface) throws SQLException
unwrap
in interface Wrapper
SQLException
public boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor
in interface Wrapper
SQLException
public void setReturnTableAlias(boolean returnTableAlias)
public InputStream getInputStream(byte[] rawBytes)
rawBytes
- rowdataCopyright © 2016. All rights reserved.