|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mariadb.jdbc.internal.com.read.resultset.SelectResultSet
public class SelectResultSet
| Field Summary | |
|---|---|
protected boolean |
isBinaryEncoded
|
protected Options |
options
|
protected TimeZone |
timeZone
|
static int |
TINYINT1_IS_BIT
|
static int |
YEAR_IS_DATE_TYPE
|
| Fields inherited from interface java.sql.ResultSet |
|---|
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 Summary | |
|---|---|
SelectResultSet(ColumnInformation[] columnInformation,
List<byte[]> resultSet,
Protocol protocol,
int resultSetScrollType)
Create filled result-set. |
|
SelectResultSet(ColumnInformation[] columnInformation,
Results results,
Protocol protocol,
PacketInputStream reader,
boolean callableResult,
boolean eofDeprecated)
Create Streaming resultSet. |
|
| Method Summary | ||
|---|---|---|
boolean |
absolute(int row)
|
|
void |
afterLast()
|
|
void |
beforeFirst()
|
|
void |
cancelRowUpdates()
{inheritDoc}. |
|
void |
clearWarnings()
|
|
void |
close()
Close resultSet. |
|
static SelectResultSet |
createEmptyResultSet()
|
|
static ResultSet |
createGeneratedData(long[] data,
Protocol protocol,
boolean findColumnReturnsOne)
Create a result set from given data. |
|
static ResultSet |
createResultSet(String[] columnNames,
ColumnType[] columnTypes,
String[][] data,
Protocol protocol)
Create a result set from given data. |
|
void |
deleteRow()
{inheritDoc}. |
|
protected int |
extractNanos(String timestring)
|
|
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)
{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}. |
|
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}. |
|
|
getObject(int columnIndex,
Class<T> type)
{inheritDoc}. |
|
Object |
getObject(int columnIndex,
Map<String,Class<?>> map)
{inheritDoc}. |
|
Object |
getObject(String columnLabel)
{inheritDoc}. |
|
|
getObject(String columnLabel,
Class<T> type)
|
|
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}. |
|
MariaDbStatement |
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 |
insertRow()
{inheritDoc}. |
|
boolean |
isAfterLast()
|
|
boolean |
isBeforeFirst()
|
|
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()
Read next value. |
|
void |
refreshRow()
{inheritDoc}. |
|
boolean |
relative(int rows)
|
|
boolean |
rowDeleted()
{inheritDoc}. |
|
boolean |
rowInserted()
{inheritDoc}. |
|
boolean |
rowUpdated()
{inheritDoc}. |
|
void |
setFetchDirection(int direction)
|
|
void |
setFetchSize(int fetchSize)
|
|
void |
setReturnTableAlias(boolean returnTableAlias)
|
|
void |
setStatement(MariaDbStatement statement)
|
|
|
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}. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int TINYINT1_IS_BIT
public static final int YEAR_IS_DATE_TYPE
protected boolean isBinaryEncoded
protected TimeZone timeZone
protected Options options
| Constructor Detail |
|---|
public SelectResultSet(ColumnInformation[] columnInformation,
Results results,
Protocol protocol,
PacketInputStream reader,
boolean callableResult,
boolean eofDeprecated)
throws IOException,
SQLException
columnInformation - column informationresults - resultsprotocol - current protocolreader - stream fetchercallableResult - is it from a callableStatement ?eofDeprecated - is EOF deprecated
IOException - if any connection error occur
SQLException - if any connection error occur
public SelectResultSet(ColumnInformation[] columnInformation,
List<byte[]> resultSet,
Protocol protocol,
int resultSetScrollType)
columnInformation - 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_SENSITIVE| Method Detail |
|---|
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 sets
public static ResultSet 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 MySQL text protocol, except boolean (BIT(1)) values that are represented as "1" or "0" stringsprotocol - protocol
public static SelectResultSet createEmptyResultSet()
public void fetchRemaining()
throws SQLException
SQLException - if any error occur
public boolean readNextValue()
throws IOException,
SQLException
IOException - exception
SQLException - exception
public void close()
throws SQLException
close in interface ResultSetSQLException
public boolean next()
throws SQLException
next in interface ResultSetSQLException
public SQLWarning getWarnings()
throws SQLException
getWarnings in interface ResultSetSQLException
public void clearWarnings()
throws SQLException
clearWarnings in interface ResultSetSQLException
public boolean isBeforeFirst()
throws SQLException
isBeforeFirst in interface ResultSetSQLException
public boolean isAfterLast()
throws SQLException
isAfterLast in interface ResultSetSQLException
public boolean isFirst()
throws SQLException
isFirst in interface ResultSetSQLException
public boolean isLast()
throws SQLException
isLast in interface ResultSetSQLException
public void beforeFirst()
throws SQLException
beforeFirst in interface ResultSetSQLException
public void afterLast()
throws SQLException
afterLast in interface ResultSetSQLException
public boolean first()
throws SQLException
first in interface ResultSetSQLException
public boolean last()
throws SQLException
last in interface ResultSetSQLException
public int getRow()
throws SQLException
getRow in interface ResultSetSQLException
public boolean absolute(int row)
throws SQLException
absolute in interface ResultSetSQLException
public boolean relative(int rows)
throws SQLException
relative in interface ResultSetSQLException
public boolean previous()
throws SQLException
previous in interface ResultSetSQLException
public int getFetchDirection()
throws SQLException
getFetchDirection in interface ResultSetSQLException
public void setFetchDirection(int direction)
throws SQLException
setFetchDirection in interface ResultSetSQLException
public int getFetchSize()
throws SQLException
getFetchSize in interface ResultSetSQLException
public void setFetchSize(int fetchSize)
throws SQLException
setFetchSize in interface ResultSetSQLException
public int getType()
throws SQLException
getType in interface ResultSetSQLException
public int getConcurrency()
throws SQLException
getConcurrency in interface ResultSetSQLExceptionpublic boolean isCallableResult()
public boolean isClosed()
isClosed in interface ResultSetpublic MariaDbStatement getStatement()
getStatement in interface ResultSetpublic void setStatement(MariaDbStatement statement)
public boolean wasNull()
throws SQLException
wasNull in interface ResultSetSQLException
public InputStream getAsciiStream(String columnLabel)
throws SQLException
getAsciiStream in interface ResultSetSQLException
public InputStream getAsciiStream(int columnIndex)
throws SQLException
getAsciiStream in interface ResultSetSQLException
public String getString(int columnIndex)
throws SQLException
getString in interface ResultSetSQLException
public String getString(String columnLabel)
throws SQLException
getString in interface ResultSetSQLException
public InputStream getBinaryStream(int columnIndex)
throws SQLException
getBinaryStream in interface ResultSetSQLException
public InputStream getBinaryStream(String columnLabel)
throws SQLException
getBinaryStream in interface ResultSetSQLException
public int getInt(int columnIndex)
throws SQLException
getInt in interface ResultSetSQLException
public int getInt(String columnLabel)
throws SQLException
getInt in interface ResultSetSQLException
public long getLong(String columnLabel)
throws SQLException
getLong in interface ResultSetSQLException
public long getLong(int columnIndex)
throws SQLException
getLong in interface ResultSetSQLException
public float getFloat(String columnLabel)
throws SQLException
getFloat in interface ResultSetSQLException
public float getFloat(int columnIndex)
throws SQLException
getFloat in interface ResultSetSQLException
public double getDouble(String columnLabel)
throws SQLException
getDouble in interface ResultSetSQLException
public double getDouble(int columnIndex)
throws SQLException
getDouble in interface ResultSetSQLException
public BigDecimal getBigDecimal(String columnLabel,
int scale)
throws SQLException
getBigDecimal in interface ResultSetSQLException
public BigDecimal getBigDecimal(int columnIndex,
int scale)
throws SQLException
getBigDecimal in interface ResultSetSQLException
public BigDecimal getBigDecimal(int columnIndex)
throws SQLException
getBigDecimal in interface ResultSetSQLException
public BigDecimal getBigDecimal(String columnLabel)
throws SQLException
getBigDecimal in interface ResultSetSQLException
public byte[] getBytes(String columnLabel)
throws SQLException
getBytes in interface ResultSetSQLException
public byte[] getBytes(int columnIndex)
throws SQLException
getBytes in interface ResultSetSQLException
public Date getDate(int columnIndex)
throws SQLException
getDate in interface ResultSetSQLException
public Date getDate(String columnLabel)
throws SQLException
getDate in interface ResultSetSQLException
public Date getDate(int columnIndex,
Calendar cal)
throws SQLException
getDate in interface ResultSetSQLException
public Date getDate(String columnLabel,
Calendar cal)
throws SQLException
getDate in interface ResultSetSQLException
public Time getTime(int columnIndex)
throws SQLException
getTime in interface ResultSetSQLException
public Time getTime(String columnLabel)
throws SQLException
getTime in interface ResultSetSQLException
public Time getTime(int columnIndex,
Calendar cal)
throws SQLException
getTime in interface ResultSetSQLException
public Time getTime(String columnLabel,
Calendar cal)
throws SQLException
getTime in interface ResultSetSQLException
public Timestamp getTimestamp(String columnLabel)
throws SQLException
getTimestamp in interface ResultSetSQLException
public Timestamp getTimestamp(int columnIndex,
Calendar cal)
throws SQLException
getTimestamp in interface ResultSetSQLException
public Timestamp getTimestamp(String columnLabel,
Calendar cal)
throws SQLException
getTimestamp in interface ResultSetSQLException
public Timestamp getTimestamp(int columnIndex)
throws SQLException
getTimestamp in interface ResultSetSQLException
public InputStream getUnicodeStream(String columnLabel)
throws SQLException
getUnicodeStream in interface ResultSetSQLException
public InputStream getUnicodeStream(int columnIndex)
throws SQLException
getUnicodeStream in interface ResultSetSQLException
public String getCursorName()
throws SQLException
getCursorName in interface ResultSetSQLException
public ResultSetMetaData getMetaData()
throws SQLException
getMetaData in interface ResultSetSQLException
public Object getObject(int columnIndex)
throws SQLException
getObject in interface ResultSetSQLException
public Object getObject(String columnLabel)
throws SQLException
getObject in interface ResultSetSQLException
public Object getObject(int columnIndex,
Map<String,Class<?>> map)
throws SQLException
getObject in interface ResultSetSQLException
public Object getObject(String columnLabel,
Map<String,Class<?>> map)
throws SQLException
getObject in interface ResultSetSQLException
public <T> T getObject(int columnIndex,
Class<T> type)
throws SQLException
SQLException
public <T> T getObject(String columnLabel,
Class<T> type)
throws SQLException
SQLException
public int findColumn(String columnLabel)
throws SQLException
findColumn in interface ResultSetSQLException
public Reader getCharacterStream(String columnLabel)
throws SQLException
getCharacterStream in interface ResultSetSQLException
public Reader getCharacterStream(int columnIndex)
throws SQLException
getCharacterStream in interface ResultSetSQLException
public Reader getNCharacterStream(int columnIndex)
throws SQLException
getNCharacterStream in interface ResultSetSQLException
public Reader getNCharacterStream(String columnLabel)
throws SQLException
getNCharacterStream in interface ResultSetSQLException
public boolean rowUpdated()
throws SQLException
rowUpdated in interface ResultSetSQLException
public boolean rowInserted()
throws SQLException
rowInserted in interface ResultSetSQLException
public boolean rowDeleted()
throws SQLException
rowDeleted in interface ResultSetSQLException
public void updateNull(int columnIndex)
throws SQLException
updateNull in interface ResultSetSQLException
public void updateNull(String columnLabel)
throws SQLException
updateNull in interface ResultSetSQLException
public void updateBoolean(int columnIndex,
boolean bool)
throws SQLException
updateBoolean in interface ResultSetSQLException
public void updateBoolean(String columnLabel,
boolean value)
throws SQLException
updateBoolean in interface ResultSetSQLException
public void updateByte(int columnIndex,
byte value)
throws SQLException
updateByte in interface ResultSetSQLException
public void updateByte(String columnLabel,
byte value)
throws SQLException
updateByte in interface ResultSetSQLException
public void updateShort(int columnIndex,
short value)
throws SQLException
updateShort in interface ResultSetSQLException
public void updateShort(String columnLabel,
short value)
throws SQLException
updateShort in interface ResultSetSQLException
public void updateInt(int columnIndex,
int value)
throws SQLException
updateInt in interface ResultSetSQLException
public void updateInt(String columnLabel,
int value)
throws SQLException
updateInt in interface ResultSetSQLException
public void updateFloat(int columnIndex,
float value)
throws SQLException
updateFloat in interface ResultSetSQLException
public void updateFloat(String columnLabel,
float value)
throws SQLException
updateFloat in interface ResultSetSQLException
public void updateDouble(int columnIndex,
double value)
throws SQLException
updateDouble in interface ResultSetSQLException
public void updateDouble(String columnLabel,
double value)
throws SQLException
updateDouble in interface ResultSetSQLException
public void updateBigDecimal(int columnIndex,
BigDecimal value)
throws SQLException
updateBigDecimal in interface ResultSetSQLException
public void updateBigDecimal(String columnLabel,
BigDecimal value)
throws SQLException
updateBigDecimal in interface ResultSetSQLException
public void updateString(int columnIndex,
String value)
throws SQLException
updateString in interface ResultSetSQLException
public void updateString(String columnLabel,
String value)
throws SQLException
updateString in interface ResultSetSQLException
public void updateBytes(int columnIndex,
byte[] value)
throws SQLException
updateBytes in interface ResultSetSQLException
public void updateBytes(String columnLabel,
byte[] value)
throws SQLException
updateBytes in interface ResultSetSQLException
public void updateDate(int columnIndex,
Date date)
throws SQLException
updateDate in interface ResultSetSQLException
public void updateDate(String columnLabel,
Date value)
throws SQLException
updateDate in interface ResultSetSQLException
public void updateTime(int columnIndex,
Time time)
throws SQLException
updateTime in interface ResultSetSQLException
public void updateTime(String columnLabel,
Time value)
throws SQLException
updateTime in interface ResultSetSQLException
public void updateTimestamp(int columnIndex,
Timestamp timeStamp)
throws SQLException
updateTimestamp in interface ResultSetSQLException
public void updateTimestamp(String columnLabel,
Timestamp value)
throws SQLException
updateTimestamp in interface ResultSetSQLException
public void updateAsciiStream(int columnIndex,
InputStream inputStream,
int length)
throws SQLException
updateAsciiStream in interface ResultSetSQLException
public void updateAsciiStream(String columnLabel,
InputStream inputStream)
throws SQLException
updateAsciiStream in interface ResultSetSQLException
public void updateAsciiStream(String columnLabel,
InputStream value,
int length)
throws SQLException
updateAsciiStream in interface ResultSetSQLException
public void updateAsciiStream(int columnIndex,
InputStream inputStream,
long length)
throws SQLException
updateAsciiStream in interface ResultSetSQLException
public void updateAsciiStream(String columnLabel,
InputStream inputStream,
long length)
throws SQLException
updateAsciiStream in interface ResultSetSQLException
public void updateAsciiStream(int columnIndex,
InputStream inputStream)
throws SQLException
updateAsciiStream in interface ResultSetSQLException
public void updateBinaryStream(int columnIndex,
InputStream inputStream,
int length)
throws SQLException
updateBinaryStream in interface ResultSetSQLException
public void updateBinaryStream(int columnIndex,
InputStream inputStream,
long length)
throws SQLException
updateBinaryStream in interface ResultSetSQLException
public void updateBinaryStream(String columnLabel,
InputStream value,
int length)
throws SQLException
updateBinaryStream in interface ResultSetSQLException
public void updateBinaryStream(String columnLabel,
InputStream inputStream,
long length)
throws SQLException
updateBinaryStream in interface ResultSetSQLException
public void updateBinaryStream(int columnIndex,
InputStream inputStream)
throws SQLException
updateBinaryStream in interface ResultSetSQLException
public void updateBinaryStream(String columnLabel,
InputStream inputStream)
throws SQLException
updateBinaryStream in interface ResultSetSQLException
public void updateCharacterStream(int columnIndex,
Reader value,
int length)
throws SQLException
updateCharacterStream in interface ResultSetSQLException
public void updateCharacterStream(int columnIndex,
Reader value)
throws SQLException
updateCharacterStream in interface ResultSetSQLException
public void updateCharacterStream(String columnLabel,
Reader reader,
int length)
throws SQLException
updateCharacterStream in interface ResultSetSQLException
public void updateCharacterStream(int columnIndex,
Reader value,
long length)
throws SQLException
updateCharacterStream in interface ResultSetSQLException
public void updateCharacterStream(String columnLabel,
Reader reader,
long length)
throws SQLException
updateCharacterStream in interface ResultSetSQLException
public void updateCharacterStream(String columnLabel,
Reader reader)
throws SQLException
updateCharacterStream in interface ResultSetSQLException
public void updateObject(int columnIndex,
Object value,
int scaleOrLength)
throws SQLException
updateObject in interface ResultSetSQLException
public void updateObject(int columnIndex,
Object value)
throws SQLException
updateObject in interface ResultSetSQLException
public void updateObject(String columnLabel,
Object value,
int scaleOrLength)
throws SQLException
updateObject in interface ResultSetSQLException
public void updateObject(String columnLabel,
Object value)
throws SQLException
updateObject in interface ResultSetSQLException
public void updateLong(String columnLabel,
long value)
throws SQLException
updateLong in interface ResultSetSQLException
public void updateLong(int columnIndex,
long value)
throws SQLException
updateLong in interface ResultSetSQLException
public void insertRow()
throws SQLException
insertRow in interface ResultSetSQLException
public void updateRow()
throws SQLException
updateRow in interface ResultSetSQLException
public void deleteRow()
throws SQLException
deleteRow in interface ResultSetSQLException
public void refreshRow()
throws SQLException
refreshRow in interface ResultSetSQLException
public void cancelRowUpdates()
throws SQLException
cancelRowUpdates in interface ResultSetSQLException
public void moveToInsertRow()
throws SQLException
moveToInsertRow in interface ResultSetSQLException
public void moveToCurrentRow()
throws SQLException
moveToCurrentRow in interface ResultSetSQLException
public Ref getRef(int columnIndex)
throws SQLException
getRef in interface ResultSetSQLException
public Ref getRef(String columnLabel)
throws SQLException
getRef in interface ResultSetSQLException
public Blob getBlob(int columnIndex)
throws SQLException
getBlob in interface ResultSetSQLException
public Blob getBlob(String columnLabel)
throws SQLException
getBlob in interface ResultSetSQLException
public Clob getClob(int columnIndex)
throws SQLException
getClob in interface ResultSetSQLException
public Clob getClob(String columnLabel)
throws SQLException
getClob in interface ResultSetSQLException
public Array getArray(int columnIndex)
throws SQLException
getArray in interface ResultSetSQLException
public Array getArray(String columnLabel)
throws SQLException
getArray in interface ResultSetSQLException
public URL getURL(int columnIndex)
throws SQLException
getURL in interface ResultSetSQLException
public URL getURL(String columnLabel)
throws SQLException
getURL in interface ResultSetSQLException
public void updateRef(int columnIndex,
Ref ref)
throws SQLException
updateRef in interface ResultSetSQLException
public void updateRef(String columnLabel,
Ref ref)
throws SQLException
updateRef in interface ResultSetSQLException
public void updateBlob(int columnIndex,
Blob blob)
throws SQLException
updateBlob in interface ResultSetSQLException
public void updateBlob(String columnLabel,
Blob blob)
throws SQLException
updateBlob in interface ResultSetSQLException
public void updateBlob(int columnIndex,
InputStream inputStream)
throws SQLException
updateBlob in interface ResultSetSQLException
public void updateBlob(String columnLabel,
InputStream inputStream)
throws SQLException
updateBlob in interface ResultSetSQLException
public void updateBlob(int columnIndex,
InputStream inputStream,
long length)
throws SQLException
updateBlob in interface ResultSetSQLException
public void updateBlob(String columnLabel,
InputStream inputStream,
long length)
throws SQLException
updateBlob in interface ResultSetSQLException
public void updateClob(int columnIndex,
Clob clob)
throws SQLException
updateClob in interface ResultSetSQLException
public void updateClob(String columnLabel,
Clob clob)
throws SQLException
updateClob in interface ResultSetSQLException
public void updateClob(int columnIndex,
Reader reader,
long length)
throws SQLException
updateClob in interface ResultSetSQLException
public void updateClob(String columnLabel,
Reader reader,
long length)
throws SQLException
updateClob in interface ResultSetSQLException
public void updateClob(int columnIndex,
Reader reader)
throws SQLException
updateClob in interface ResultSetSQLException
public void updateClob(String columnLabel,
Reader reader)
throws SQLException
updateClob in interface ResultSetSQLException
public void updateArray(int columnIndex,
Array array)
throws SQLException
updateArray in interface ResultSetSQLException
public void updateArray(String columnLabel,
Array array)
throws SQLException
updateArray in interface ResultSetSQLException
public RowId getRowId(int columnIndex)
throws SQLException
getRowId in interface ResultSetSQLException
public RowId getRowId(String columnLabel)
throws SQLException
getRowId in interface ResultSetSQLException
public void updateRowId(int columnIndex,
RowId rowId)
throws SQLException
updateRowId in interface ResultSetSQLException
public void updateRowId(String columnLabel,
RowId rowId)
throws SQLException
updateRowId in interface ResultSetSQLException
public int getHoldability()
throws SQLException
getHoldability in interface ResultSetSQLException
public void updateNString(int columnIndex,
String nstring)
throws SQLException
updateNString in interface ResultSetSQLException
public void updateNString(String columnLabel,
String nstring)
throws SQLException
updateNString in interface ResultSetSQLException
public void updateNClob(int columnIndex,
NClob nclob)
throws SQLException
updateNClob in interface ResultSetSQLException
public void updateNClob(String columnLabel,
NClob nclob)
throws SQLException
updateNClob in interface ResultSetSQLException
public void updateNClob(int columnIndex,
Reader reader)
throws SQLException
updateNClob in interface ResultSetSQLException
public void updateNClob(String columnLabel,
Reader reader)
throws SQLException
updateNClob in interface ResultSetSQLException
public void updateNClob(int columnIndex,
Reader reader,
long length)
throws SQLException
updateNClob in interface ResultSetSQLException
public void updateNClob(String columnLabel,
Reader reader,
long length)
throws SQLException
updateNClob in interface ResultSetSQLException
public NClob getNClob(int columnIndex)
throws SQLException
getNClob in interface ResultSetSQLException
public NClob getNClob(String columnLabel)
throws SQLException
getNClob in interface ResultSetSQLException
public SQLXML getSQLXML(int columnIndex)
throws SQLException
getSQLXML in interface ResultSetSQLException
public SQLXML getSQLXML(String columnLabel)
throws SQLException
getSQLXML in interface ResultSetSQLException
public void updateSQLXML(int columnIndex,
SQLXML xmlObject)
throws SQLException
updateSQLXML in interface ResultSetSQLException
public void updateSQLXML(String columnLabel,
SQLXML xmlObject)
throws SQLException
updateSQLXML in interface ResultSetSQLException
public String getNString(int columnIndex)
throws SQLException
getNString in interface ResultSetSQLException
public String getNString(String columnLabel)
throws SQLException
getNString in interface ResultSetSQLException
public void updateNCharacterStream(int columnIndex,
Reader value,
long length)
throws SQLException
updateNCharacterStream in interface ResultSetSQLException
public void updateNCharacterStream(String columnLabel,
Reader reader,
long length)
throws SQLException
updateNCharacterStream in interface ResultSetSQLException
public void updateNCharacterStream(int columnIndex,
Reader reader)
throws SQLException
updateNCharacterStream in interface ResultSetSQLException
public void updateNCharacterStream(String columnLabel,
Reader reader)
throws SQLException
updateNCharacterStream in interface ResultSetSQLException
public boolean getBoolean(int index)
throws SQLException
getBoolean in interface ResultSetSQLException
public boolean getBoolean(String columnLabel)
throws SQLException
getBoolean in interface ResultSetSQLException
public byte getByte(int index)
throws SQLException
getByte in interface ResultSetSQLException
public byte getByte(String columnLabel)
throws SQLException
getByte in interface ResultSetSQLException
public short getShort(int index)
throws SQLException
getShort in interface ResultSetSQLException
public short getShort(String columnLabel)
throws SQLException
getShort in interface ResultSetSQLException
public <T> T unwrap(Class<T> iface)
throws SQLException
unwrap in interface WrapperSQLException
public boolean isWrapperFor(Class<?> iface)
throws SQLException
isWrapperFor in interface WrapperSQLExceptionpublic void setReturnTableAlias(boolean returnTableAlias)
protected int extractNanos(String timestring)
throws SQLException
SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||