Class SelectResultSet
java.lang.Object
org.mariadb.jdbc.internal.com.read.resultset.SelectResultSet
- All Implemented Interfaces:
AutoCloseable
,ResultSet
,Wrapper
- Direct Known Subclasses:
UpdatableResultSet
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
protected int
private ColumnLabelIndexer
protected ColumnDefinition[]
private byte[][]
private int
private int
private int
private boolean
private int
private boolean
private static final ColumnDefinition[]
private boolean
private boolean
private int
private ReentrantLock
private static final int
protected boolean
private static final String
protected Options
private Protocol
private PacketInputStream
private int
protected RowProtocol
private int
private MariaDbStatement
private boolean
protected TimeZone
static final int
static final int
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
ConstructorsConstructorDescriptionSelectResultSet
(ColumnDefinition[] columnDefinition, List<byte[]> resultSet, Protocol protocol, int resultSetScrollType) Create filled result-set.SelectResultSet
(ColumnDefinition[] columnDefinition, Results results, Protocol protocol, PacketInputStream reader, boolean callableResult, boolean eofDeprecated) Create Streaming resultSet. -
Method Summary
Modifier and TypeMethodDescriptionvoid
abort()
Connection.abort() has been called, abort result-set.boolean
absolute
(int row) protected void
addRowData
(byte[] rawData) private void
This permit to add next streaming values to existing resultSet.void
void
void
{inheritDoc}.private void
private void
checkObjectRange
(int position) void
void
close()
Close resultSet.static SelectResultSet
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.protected void
Delete current data.void
{inheritDoc}.private void
void
When protocol has a current Streaming result (this) fetch all to permit another query is executing.int
findColumn
(String columnLabel) {inheritDoc}.boolean
first()
getArray
(int columnIndex) {inheritDoc}.{inheritDoc}.getAsciiStream
(int columnIndex) {inheritDoc}.getAsciiStream
(String columnLabel) {inheritDoc}.getBigDecimal
(int columnIndex) {inheritDoc}.getBigDecimal
(int columnIndex, int scale) {inheritDoc}.getBigDecimal
(String columnLabel) {inheritDoc}.getBigDecimal
(String columnLabel, int scale) {inheritDoc}.getBinaryStream
(int columnIndex) {inheritDoc}.getBinaryStream
(String columnLabel) {inheritDoc}.getBlob
(int columnIndex) {inheritDoc}.{inheritDoc}.boolean
getBoolean
(int index) {inheritDoc}.boolean
getBoolean
(String columnLabel) {inheritDoc}.byte
getByte
(int index) {inheritDoc}.byte
{inheritDoc}.byte[]
getBytes
(int columnIndex) {inheritDoc}.byte[]
{inheritDoc}.getCharacterStream
(int columnIndex) {inheritDoc}.getCharacterStream
(String columnLabel) {inheritDoc}.getClob
(int columnIndex) {inheritDoc}.{inheritDoc}.int
protected byte[]
Get current row's raw bytes.{inheritDoc}.int
getDate
(int columnIndex) {inheritDoc}.{inheritDoc}.{inheritDoc}.{inheritDoc}.double
getDouble
(int columnIndex) {inheritDoc}.double
{inheritDoc}.int
int
float
getFloat
(int columnIndex) {inheritDoc}.float
{inheritDoc}.int
{inheritDoc}.int
getInt
(int columnIndex) {inheritDoc}.int
{inheritDoc}.long
getLong
(int columnIndex) {inheritDoc}.long
{inheritDoc}.{inheritDoc}.getNCharacterStream
(int columnIndex) {inheritDoc}.getNCharacterStream
(String columnLabel) {inheritDoc}.getNClob
(int columnIndex) {inheritDoc}.{inheritDoc}.getNString
(int columnIndex) {inheritDoc}.getNString
(String columnLabel) {inheritDoc}.getObject
(int columnIndex) {inheritDoc}.<T> T
{inheritDoc}.{inheritDoc}.{inheritDoc}.<T> T
{inheritDoc}.getRef
(int columnIndex) {inheritDoc}.{inheritDoc}.int
getRow()
getRowId
(int columnIndex) {inheritDoc}.{inheritDoc}.int
short
getShort
(int index) {inheritDoc}.short
{inheritDoc}.getSQLXML
(int columnIndex) {inheritDoc}.{inheritDoc}.getString
(int columnIndex) {inheritDoc}.{inheritDoc}.getTime
(int columnIndex) {inheritDoc}.{inheritDoc}.{inheritDoc}.{inheritDoc}.getTimestamp
(int columnIndex) {inheritDoc}.getTimestamp
(int columnIndex, Calendar cal) {inheritDoc}.getTimestamp
(String columnLabel) {inheritDoc}.getTimestamp
(String columnLabel, Calendar cal) {inheritDoc}.int
getType()
getUnicodeStream
(int columnIndex) {inheritDoc}.getUnicodeStream
(String columnLabel) {inheritDoc}.getURL
(int columnIndex) {inheritDoc}.{inheritDoc}.private void
Grow data array.private SQLException
void
{inheritDoc}.boolean
boolean
boolean
boolean
boolean
isClosed()
boolean
isFirst()
boolean
Indicate if result-set is still streaming results from server.boolean
isLast()
boolean
isWrapperFor
(Class<?> iface) {inheritDoc}.boolean
last()
void
{inheritDoc}.void
{inheritDoc}.boolean
next()
private void
This permit to replace current stream results by next ones.boolean
previous()
private void
rangeCheck
(Object className, long minValue, long maxValue, long value, ColumnDefinition columnInfo) private boolean
Read next value.void
{inheritDoc}.boolean
relative
(int rows) private void
boolean
{inheritDoc}.boolean
{inheritDoc}.boolean
{inheritDoc}.void
setFetchDirection
(int direction) void
setFetchSize
(int fetchSize) void
Force metadata getTableName to return table alias, not original table name.protected void
setRowPointer
(int pointer) void
setStatement
(MariaDbStatement statement) private int
skipLengthEncodedValue
(byte[] buf, int pos) <T> T
{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, InputStream inputStream) {inheritDoc}.void
updateBlob
(int columnIndex, InputStream inputStream, long length) {inheritDoc}.void
updateBlob
(int columnIndex, Blob blob) {inheritDoc}.void
updateBlob
(String columnLabel, InputStream inputStream) {inheritDoc}.void
updateBlob
(String columnLabel, InputStream inputStream, long length) {inheritDoc}.void
updateBlob
(String columnLabel, Blob blob) {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, Reader reader) {inheritDoc}.void
updateClob
(int columnIndex, Reader reader, long length) {inheritDoc}.void
updateClob
(int columnIndex, Clob clob) {inheritDoc}.void
updateClob
(String columnLabel, Reader reader) {inheritDoc}.void
updateClob
(String columnLabel, Reader reader, long length) {inheritDoc}.void
updateClob
(String columnLabel, Clob clob) {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
{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, Reader reader) {inheritDoc}.void
updateNClob
(int columnIndex, Reader reader, long length) {inheritDoc}.void
updateNClob
(int columnIndex, NClob nclob) {inheritDoc}.void
updateNClob
(String columnLabel, Reader reader) {inheritDoc}.void
updateNClob
(String columnLabel, Reader reader, long length) {inheritDoc}.void
updateNClob
(String columnLabel, NClob nclob) {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
{inheritDoc}.void
{inheritDoc}.void
{inheritDoc}.protected void
updateRowData
(byte[] rawData) Update row's raw bytes.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}.private String
zeroFillingIfNeeded
(String value, ColumnDefinition columnDefinition) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.sql.ResultSet
updateObject, updateObject, updateObject, updateObject
-
Field Details
-
TINYINT1_IS_BIT
public static final int TINYINT1_IS_BIT- See Also:
-
YEAR_IS_DATE_TYPE
public static final int YEAR_IS_DATE_TYPE- See Also:
-
NOT_UPDATABLE_ERROR
- See Also:
-
INSERT_ID_COLUMNS
-
MAX_ARRAY_SIZE
private static final int MAX_ARRAY_SIZE- See Also:
-
timeZone
-
options
-
columnsInformation
-
columnInformationLength
protected int columnInformationLength -
noBackslashEscapes
protected boolean noBackslashEscapes -
protocol
-
reader
-
isEof
private boolean isEof -
callableResult
private boolean callableResult -
statement
-
row
-
dataFetchTime
private int dataFetchTime -
streaming
private boolean streaming -
data
private byte[][] data -
dataSize
private int dataSize -
fetchSize
private int fetchSize -
resultSetScrollType
private int resultSetScrollType -
rowPointer
private int rowPointer -
discardedRows
private int discardedRows -
columnLabelIndexer
-
lastRowPointer
private int lastRowPointer -
isClosed
private boolean isClosed -
eofDeprecated
private boolean eofDeprecated -
lock
-
forceAlias
private boolean forceAlias
-
-
Constructor Details
-
SelectResultSet
public SelectResultSet(ColumnDefinition[] columnDefinition, Results results, Protocol protocol, PacketInputStream reader, boolean callableResult, boolean eofDeprecated) throws IOException, SQLException Create Streaming resultSet.- Parameters:
columnDefinition
- column informationresults
- resultsprotocol
- current protocolreader
- stream fetchercallableResult
- is it from a callableStatement ?eofDeprecated
- is EOF deprecated- Throws:
IOException
- if any connection error occurSQLException
- if any connection error occur
-
SelectResultSet
public SelectResultSet(ColumnDefinition[] columnDefinition, List<byte[]> resultSet, Protocol protocol, int resultSetScrollType) Create filled result-set.- Parameters:
columnDefinition
- column informationresultSet
- result-set dataprotocol
- current protocolresultSetScrollType
- one of the followingResultSet
constants:ResultSet.TYPE_FORWARD_ONLY
,ResultSet.TYPE_SCROLL_INSENSITIVE
, orResultSet.TYPE_SCROLL_SENSITIVE
-
-
Method Details
-
createGeneratedData
public static ResultSet createGeneratedData(long[] data, Protocol protocol, boolean findColumnReturnsOne) Create a result set from given data. Useful for creating "fake" resultsets for DatabaseMetaData, (one example is MariaDbDatabaseMetaData.getTypeInfo())- Parameters:
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 sets- Returns:
- resultset
-
createResultSet
public static ResultSet createResultSet(String[] columnNames, ColumnType[] columnTypes, String[][] data, Protocol protocol) Create a result set from given data. Useful for creating "fake" resultSets for DatabaseMetaData, (one example is MariaDbDatabaseMetaData.getTypeInfo())- Parameters:
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
- protocol- Returns:
- resultset
-
createEmptyResultSet
-
isFullyLoaded
public boolean isFullyLoaded()Indicate if result-set is still streaming results from server.- Returns:
- true if streaming is finished
-
fetchAllResults
- Throws:
IOException
SQLException
-
fetchRemaining
When protocol has a current Streaming result (this) fetch all to permit another query is executing.- Throws:
SQLException
- if any error occur
-
handleIoException
-
nextStreamingValue
This permit to replace current stream results by next ones.- Throws:
IOException
- if socket exception occurSQLException
- if server return an unexpected error
-
addStreamingValue
This permit to add next streaming values to existing resultSet.- Throws:
IOException
- if socket exception occurSQLException
- if server return an unexpected error
-
readNextValue
Read next value.- Returns:
- true if have a new value
- Throws:
IOException
- exceptionSQLException
- exception
-
getCurrentRowData
protected byte[] getCurrentRowData()Get current row's raw bytes.- Returns:
- row's raw bytes
-
updateRowData
protected void updateRowData(byte[] rawData) Update row's raw bytes. in case of row update, refresh the data. (format must correspond to current resultset binary/text row encryption)- Parameters:
rawData
- new row's raw data.
-
deleteCurrentRowData
Delete current data. Position cursor to the previous row.- Throws:
SQLException
- if previous() fail.
-
addRowData
protected void addRowData(byte[] rawData) -
skipLengthEncodedValue
private int skipLengthEncodedValue(byte[] buf, int pos) -
growDataArray
private void growDataArray()Grow data array. -
abort
Connection.abort() has been called, abort result-set.- Throws:
SQLException
- exception
-
close
Close resultSet.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceResultSet
- Throws:
SQLException
-
resetVariables
private void resetVariables() -
next
- Specified by:
next
in interfaceResultSet
- Throws:
SQLException
-
checkObjectRange
- Throws:
SQLException
-
getWarnings
- Specified by:
getWarnings
in interfaceResultSet
- Throws:
SQLException
-
clearWarnings
public void clearWarnings()- Specified by:
clearWarnings
in interfaceResultSet
-
isBeforeFirst
- Specified by:
isBeforeFirst
in interfaceResultSet
- Throws:
SQLException
-
isAfterLast
- Specified by:
isAfterLast
in interfaceResultSet
- Throws:
SQLException
-
isFirst
- Specified by:
isFirst
in interfaceResultSet
- Throws:
SQLException
-
isLast
- Specified by:
isLast
in interfaceResultSet
- Throws:
SQLException
-
beforeFirst
- Specified by:
beforeFirst
in interfaceResultSet
- Throws:
SQLException
-
afterLast
- Specified by:
afterLast
in interfaceResultSet
- Throws:
SQLException
-
first
- Specified by:
first
in interfaceResultSet
- Throws:
SQLException
-
last
- Specified by:
last
in interfaceResultSet
- Throws:
SQLException
-
getRow
- Specified by:
getRow
in interfaceResultSet
- Throws:
SQLException
-
absolute
- Specified by:
absolute
in interfaceResultSet
- Throws:
SQLException
-
relative
- Specified by:
relative
in interfaceResultSet
- Throws:
SQLException
-
previous
- Specified by:
previous
in interfaceResultSet
- Throws:
SQLException
-
getFetchDirection
public int getFetchDirection()- Specified by:
getFetchDirection
in interfaceResultSet
-
setFetchDirection
- Specified by:
setFetchDirection
in interfaceResultSet
- Throws:
SQLException
-
getFetchSize
public int getFetchSize()- Specified by:
getFetchSize
in interfaceResultSet
-
setFetchSize
- Specified by:
setFetchSize
in interfaceResultSet
- Throws:
SQLException
-
getType
public int getType() -
getConcurrency
public int getConcurrency()- Specified by:
getConcurrency
in interfaceResultSet
-
checkClose
- Throws:
SQLException
-
isCallableResult
public boolean isCallableResult() -
isClosed
public boolean isClosed() -
getStatement
- Specified by:
getStatement
in interfaceResultSet
-
setStatement
-
wasNull
public boolean wasNull(){inheritDoc}. -
getAsciiStream
{inheritDoc}.- Specified by:
getAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
getAsciiStream
{inheritDoc}.- Specified by:
getAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
getString
{inheritDoc}.- Specified by:
getString
in interfaceResultSet
- Throws:
SQLException
-
getString
{inheritDoc}.- Specified by:
getString
in interfaceResultSet
- Throws:
SQLException
-
zeroFillingIfNeeded
-
getBinaryStream
{inheritDoc}.- Specified by:
getBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
getBinaryStream
{inheritDoc}.- Specified by:
getBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
getInt
{inheritDoc}.- Specified by:
getInt
in interfaceResultSet
- Throws:
SQLException
-
getInt
{inheritDoc}.- Specified by:
getInt
in interfaceResultSet
- Throws:
SQLException
-
getLong
{inheritDoc}.- Specified by:
getLong
in interfaceResultSet
- Throws:
SQLException
-
getLong
{inheritDoc}.- Specified by:
getLong
in interfaceResultSet
- Throws:
SQLException
-
getFloat
{inheritDoc}.- Specified by:
getFloat
in interfaceResultSet
- Throws:
SQLException
-
getFloat
{inheritDoc}.- Specified by:
getFloat
in interfaceResultSet
- Throws:
SQLException
-
getDouble
{inheritDoc}.- Specified by:
getDouble
in interfaceResultSet
- Throws:
SQLException
-
getDouble
{inheritDoc}.- Specified by:
getDouble
in interfaceResultSet
- Throws:
SQLException
-
getBigDecimal
{inheritDoc}.- Specified by:
getBigDecimal
in interfaceResultSet
- Throws:
SQLException
-
getBigDecimal
{inheritDoc}.- Specified by:
getBigDecimal
in interfaceResultSet
- Throws:
SQLException
-
getBigDecimal
{inheritDoc}.- Specified by:
getBigDecimal
in interfaceResultSet
- Throws:
SQLException
-
getBigDecimal
{inheritDoc}.- Specified by:
getBigDecimal
in interfaceResultSet
- Throws:
SQLException
-
getBytes
{inheritDoc}.- Specified by:
getBytes
in interfaceResultSet
- Throws:
SQLException
-
getBytes
{inheritDoc}.- Specified by:
getBytes
in interfaceResultSet
- Throws:
SQLException
-
getDate
{inheritDoc}.- Specified by:
getDate
in interfaceResultSet
- Throws:
SQLException
-
getDate
{inheritDoc}.- Specified by:
getDate
in interfaceResultSet
- Throws:
SQLException
-
getDate
{inheritDoc}.- Specified by:
getDate
in interfaceResultSet
- Throws:
SQLException
-
getDate
{inheritDoc}.- Specified by:
getDate
in interfaceResultSet
- Throws:
SQLException
-
getTime
{inheritDoc}.- Specified by:
getTime
in interfaceResultSet
- Throws:
SQLException
-
getTime
{inheritDoc}.- Specified by:
getTime
in interfaceResultSet
- Throws:
SQLException
-
getTime
{inheritDoc}.- Specified by:
getTime
in interfaceResultSet
- Throws:
SQLException
-
getTime
{inheritDoc}.- Specified by:
getTime
in interfaceResultSet
- Throws:
SQLException
-
getTimestamp
{inheritDoc}.- Specified by:
getTimestamp
in interfaceResultSet
- Throws:
SQLException
-
getTimestamp
{inheritDoc}.- Specified by:
getTimestamp
in interfaceResultSet
- Throws:
SQLException
-
getTimestamp
{inheritDoc}.- Specified by:
getTimestamp
in interfaceResultSet
- Throws:
SQLException
-
getTimestamp
{inheritDoc}.- Specified by:
getTimestamp
in interfaceResultSet
- Throws:
SQLException
-
getUnicodeStream
{inheritDoc}.- Specified by:
getUnicodeStream
in interfaceResultSet
- Throws:
SQLException
-
getUnicodeStream
{inheritDoc}.- Specified by:
getUnicodeStream
in interfaceResultSet
- Throws:
SQLException
-
getCursorName
{inheritDoc}.- Specified by:
getCursorName
in interfaceResultSet
- Throws:
SQLException
-
getMetaData
{inheritDoc}.- Specified by:
getMetaData
in interfaceResultSet
-
getObject
{inheritDoc}.- Specified by:
getObject
in interfaceResultSet
- Throws:
SQLException
-
getObject
{inheritDoc}.- Specified by:
getObject
in interfaceResultSet
- Throws:
SQLException
-
getObject
{inheritDoc}.- Specified by:
getObject
in interfaceResultSet
- Throws:
SQLException
-
getObject
{inheritDoc}.- Specified by:
getObject
in interfaceResultSet
- Throws:
SQLException
-
getObject
{inheritDoc}.- Specified by:
getObject
in interfaceResultSet
- Throws:
SQLException
-
getObject
- Specified by:
getObject
in interfaceResultSet
- Throws:
SQLException
-
findColumn
{inheritDoc}.- Specified by:
findColumn
in interfaceResultSet
- Throws:
SQLException
-
getCharacterStream
{inheritDoc}.- Specified by:
getCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
getCharacterStream
{inheritDoc}.- Specified by:
getCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
getNCharacterStream
{inheritDoc}.- Specified by:
getNCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
getNCharacterStream
{inheritDoc}.- Specified by:
getNCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
getRef
{inheritDoc}.- Specified by:
getRef
in interfaceResultSet
- Throws:
SQLException
-
getRef
{inheritDoc}.- Specified by:
getRef
in interfaceResultSet
- Throws:
SQLException
-
getBlob
{inheritDoc}.- Specified by:
getBlob
in interfaceResultSet
- Throws:
SQLException
-
getBlob
{inheritDoc}.- Specified by:
getBlob
in interfaceResultSet
- Throws:
SQLException
-
getClob
{inheritDoc}.- Specified by:
getClob
in interfaceResultSet
- Throws:
SQLException
-
getClob
{inheritDoc}.- Specified by:
getClob
in interfaceResultSet
- Throws:
SQLException
-
getArray
{inheritDoc}.- Specified by:
getArray
in interfaceResultSet
- Throws:
SQLException
-
getArray
{inheritDoc}.- Specified by:
getArray
in interfaceResultSet
- Throws:
SQLException
-
getURL
{inheritDoc}.- Specified by:
getURL
in interfaceResultSet
- Throws:
SQLException
-
getURL
{inheritDoc}.- Specified by:
getURL
in interfaceResultSet
- Throws:
SQLException
-
getRowId
{inheritDoc}.- Specified by:
getRowId
in interfaceResultSet
- Throws:
SQLException
-
getRowId
{inheritDoc}.- Specified by:
getRowId
in interfaceResultSet
- Throws:
SQLException
-
getNClob
{inheritDoc}.- Specified by:
getNClob
in interfaceResultSet
- Throws:
SQLException
-
getNClob
{inheritDoc}.- Specified by:
getNClob
in interfaceResultSet
- Throws:
SQLException
-
getSQLXML
{inheritDoc}.- Specified by:
getSQLXML
in interfaceResultSet
- Throws:
SQLException
-
getSQLXML
{inheritDoc}.- Specified by:
getSQLXML
in interfaceResultSet
- Throws:
SQLException
-
getNString
{inheritDoc}.- Specified by:
getNString
in interfaceResultSet
- Throws:
SQLException
-
getNString
{inheritDoc}.- Specified by:
getNString
in interfaceResultSet
- Throws:
SQLException
-
getBoolean
{inheritDoc}.- Specified by:
getBoolean
in interfaceResultSet
- Throws:
SQLException
-
getBoolean
{inheritDoc}.- Specified by:
getBoolean
in interfaceResultSet
- Throws:
SQLException
-
getByte
{inheritDoc}.- Specified by:
getByte
in interfaceResultSet
- Throws:
SQLException
-
getByte
{inheritDoc}.- Specified by:
getByte
in interfaceResultSet
- Throws:
SQLException
-
getShort
{inheritDoc}.- Specified by:
getShort
in interfaceResultSet
- Throws:
SQLException
-
getShort
{inheritDoc}.- Specified by:
getShort
in interfaceResultSet
- Throws:
SQLException
-
rowUpdated
{inheritDoc}.- Specified by:
rowUpdated
in interfaceResultSet
- Throws:
SQLException
-
rowInserted
{inheritDoc}.- Specified by:
rowInserted
in interfaceResultSet
- Throws:
SQLException
-
rowDeleted
{inheritDoc}.- Specified by:
rowDeleted
in interfaceResultSet
- Throws:
SQLException
-
insertRow
{inheritDoc}.- Specified by:
insertRow
in interfaceResultSet
- Throws:
SQLException
-
deleteRow
{inheritDoc}.- Specified by:
deleteRow
in interfaceResultSet
- Throws:
SQLException
-
refreshRow
{inheritDoc}.- Specified by:
refreshRow
in interfaceResultSet
- Throws:
SQLException
-
cancelRowUpdates
{inheritDoc}.- Specified by:
cancelRowUpdates
in interfaceResultSet
- Throws:
SQLException
-
moveToInsertRow
{inheritDoc}.- Specified by:
moveToInsertRow
in interfaceResultSet
- Throws:
SQLException
-
moveToCurrentRow
{inheritDoc}.- Specified by:
moveToCurrentRow
in interfaceResultSet
- Throws:
SQLException
-
updateNull
{inheritDoc}.- Specified by:
updateNull
in interfaceResultSet
- Throws:
SQLException
-
updateNull
{inheritDoc}.- Specified by:
updateNull
in interfaceResultSet
- Throws:
SQLException
-
updateBoolean
{inheritDoc}.- Specified by:
updateBoolean
in interfaceResultSet
- Throws:
SQLException
-
updateBoolean
{inheritDoc}.- Specified by:
updateBoolean
in interfaceResultSet
- Throws:
SQLException
-
updateByte
{inheritDoc}.- Specified by:
updateByte
in interfaceResultSet
- Throws:
SQLException
-
updateByte
{inheritDoc}.- Specified by:
updateByte
in interfaceResultSet
- Throws:
SQLException
-
updateShort
{inheritDoc}.- Specified by:
updateShort
in interfaceResultSet
- Throws:
SQLException
-
updateShort
{inheritDoc}.- Specified by:
updateShort
in interfaceResultSet
- Throws:
SQLException
-
updateInt
{inheritDoc}.- Specified by:
updateInt
in interfaceResultSet
- Throws:
SQLException
-
updateInt
{inheritDoc}.- Specified by:
updateInt
in interfaceResultSet
- Throws:
SQLException
-
updateFloat
{inheritDoc}.- Specified by:
updateFloat
in interfaceResultSet
- Throws:
SQLException
-
updateFloat
{inheritDoc}.- Specified by:
updateFloat
in interfaceResultSet
- Throws:
SQLException
-
updateDouble
{inheritDoc}.- Specified by:
updateDouble
in interfaceResultSet
- Throws:
SQLException
-
updateDouble
{inheritDoc}.- Specified by:
updateDouble
in interfaceResultSet
- Throws:
SQLException
-
updateBigDecimal
{inheritDoc}.- Specified by:
updateBigDecimal
in interfaceResultSet
- Throws:
SQLException
-
updateBigDecimal
{inheritDoc}.- Specified by:
updateBigDecimal
in interfaceResultSet
- Throws:
SQLException
-
updateString
{inheritDoc}.- Specified by:
updateString
in interfaceResultSet
- Throws:
SQLException
-
updateString
{inheritDoc}.- Specified by:
updateString
in interfaceResultSet
- Throws:
SQLException
-
updateBytes
{inheritDoc}.- Specified by:
updateBytes
in interfaceResultSet
- Throws:
SQLException
-
updateBytes
{inheritDoc}.- Specified by:
updateBytes
in interfaceResultSet
- Throws:
SQLException
-
updateDate
{inheritDoc}.- Specified by:
updateDate
in interfaceResultSet
- Throws:
SQLException
-
updateDate
{inheritDoc}.- Specified by:
updateDate
in interfaceResultSet
- Throws:
SQLException
-
updateTime
{inheritDoc}.- Specified by:
updateTime
in interfaceResultSet
- Throws:
SQLException
-
updateTime
{inheritDoc}.- Specified by:
updateTime
in interfaceResultSet
- Throws:
SQLException
-
updateTimestamp
{inheritDoc}.- Specified by:
updateTimestamp
in interfaceResultSet
- Throws:
SQLException
-
updateTimestamp
{inheritDoc}.- Specified by:
updateTimestamp
in interfaceResultSet
- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, InputStream inputStream, int length) throws SQLException {inheritDoc}.- Specified by:
updateAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
updateAsciiStream
{inheritDoc}.- Specified by:
updateAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(String columnLabel, InputStream value, int length) throws SQLException {inheritDoc}.- Specified by:
updateAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, InputStream inputStream, long length) throws SQLException {inheritDoc}.- Specified by:
updateAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(String columnLabel, InputStream inputStream, long length) throws SQLException {inheritDoc}.- Specified by:
updateAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
updateAsciiStream
{inheritDoc}.- Specified by:
updateAsciiStream
in interfaceResultSet
- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, InputStream inputStream, int length) throws SQLException {inheritDoc}.- Specified by:
updateBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, InputStream inputStream, long length) throws SQLException {inheritDoc}.- Specified by:
updateBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(String columnLabel, InputStream value, int length) throws SQLException {inheritDoc}.- Specified by:
updateBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(String columnLabel, InputStream inputStream, long length) throws SQLException {inheritDoc}.- Specified by:
updateBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
updateBinaryStream
{inheritDoc}.- Specified by:
updateBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
updateBinaryStream
{inheritDoc}.- Specified by:
updateBinaryStream
in interfaceResultSet
- Throws:
SQLException
-
updateCharacterStream
{inheritDoc}.- Specified by:
updateCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateCharacterStream
{inheritDoc}.- Specified by:
updateCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(String columnLabel, Reader reader, int length) throws SQLException {inheritDoc}.- Specified by:
updateCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateCharacterStream
{inheritDoc}.- Specified by:
updateCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(String columnLabel, Reader reader, long length) throws SQLException {inheritDoc}.- Specified by:
updateCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateCharacterStream
{inheritDoc}.- Specified by:
updateCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateObject
{inheritDoc}.- Specified by:
updateObject
in interfaceResultSet
- Throws:
SQLException
-
updateObject
{inheritDoc}.- Specified by:
updateObject
in interfaceResultSet
- Throws:
SQLException
-
updateObject
{inheritDoc}.- Specified by:
updateObject
in interfaceResultSet
- Throws:
SQLException
-
updateObject
{inheritDoc}.- Specified by:
updateObject
in interfaceResultSet
- Throws:
SQLException
-
updateLong
{inheritDoc}.- Specified by:
updateLong
in interfaceResultSet
- Throws:
SQLException
-
updateLong
{inheritDoc}.- Specified by:
updateLong
in interfaceResultSet
- Throws:
SQLException
-
updateRow
{inheritDoc}.- Specified by:
updateRow
in interfaceResultSet
- Throws:
SQLException
-
updateRef
{inheritDoc}.- Specified by:
updateRef
in interfaceResultSet
- Throws:
SQLException
-
updateRef
{inheritDoc}.- Specified by:
updateRef
in interfaceResultSet
- Throws:
SQLException
-
updateBlob
{inheritDoc}.- Specified by:
updateBlob
in interfaceResultSet
- Throws:
SQLException
-
updateBlob
{inheritDoc}.- Specified by:
updateBlob
in interfaceResultSet
- Throws:
SQLException
-
updateBlob
{inheritDoc}.- Specified by:
updateBlob
in interfaceResultSet
- Throws:
SQLException
-
updateBlob
{inheritDoc}.- Specified by:
updateBlob
in interfaceResultSet
- Throws:
SQLException
-
updateBlob
{inheritDoc}.- Specified by:
updateBlob
in interfaceResultSet
- Throws:
SQLException
-
updateBlob
public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException {inheritDoc}.- Specified by:
updateBlob
in interfaceResultSet
- Throws:
SQLException
-
updateClob
{inheritDoc}.- Specified by:
updateClob
in interfaceResultSet
- Throws:
SQLException
-
updateClob
{inheritDoc}.- Specified by:
updateClob
in interfaceResultSet
- Throws:
SQLException
-
updateClob
{inheritDoc}.- Specified by:
updateClob
in interfaceResultSet
- Throws:
SQLException
-
updateClob
{inheritDoc}.- Specified by:
updateClob
in interfaceResultSet
- Throws:
SQLException
-
updateClob
{inheritDoc}.- Specified by:
updateClob
in interfaceResultSet
- Throws:
SQLException
-
updateClob
{inheritDoc}.- Specified by:
updateClob
in interfaceResultSet
- Throws:
SQLException
-
updateArray
{inheritDoc}.- Specified by:
updateArray
in interfaceResultSet
- Throws:
SQLException
-
updateArray
{inheritDoc}.- Specified by:
updateArray
in interfaceResultSet
- Throws:
SQLException
-
updateRowId
{inheritDoc}.- Specified by:
updateRowId
in interfaceResultSet
- Throws:
SQLException
-
updateRowId
{inheritDoc}.- Specified by:
updateRowId
in interfaceResultSet
- Throws:
SQLException
-
updateNString
{inheritDoc}.- Specified by:
updateNString
in interfaceResultSet
- Throws:
SQLException
-
updateNString
{inheritDoc}.- Specified by:
updateNString
in interfaceResultSet
- Throws:
SQLException
-
updateNClob
{inheritDoc}.- Specified by:
updateNClob
in interfaceResultSet
- Throws:
SQLException
-
updateNClob
{inheritDoc}.- Specified by:
updateNClob
in interfaceResultSet
- Throws:
SQLException
-
updateNClob
{inheritDoc}.- Specified by:
updateNClob
in interfaceResultSet
- Throws:
SQLException
-
updateNClob
{inheritDoc}.- Specified by:
updateNClob
in interfaceResultSet
- Throws:
SQLException
-
updateNClob
{inheritDoc}.- Specified by:
updateNClob
in interfaceResultSet
- Throws:
SQLException
-
updateNClob
{inheritDoc}.- Specified by:
updateNClob
in interfaceResultSet
- Throws:
SQLException
-
updateSQLXML
{inheritDoc}.- Specified by:
updateSQLXML
in interfaceResultSet
- Throws:
SQLException
-
updateSQLXML
{inheritDoc}.- Specified by:
updateSQLXML
in interfaceResultSet
- Throws:
SQLException
-
updateNCharacterStream
{inheritDoc}.- Specified by:
updateNCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateNCharacterStream
public void updateNCharacterStream(String columnLabel, Reader reader, long length) throws SQLException {inheritDoc}.- Specified by:
updateNCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateNCharacterStream
{inheritDoc}.- Specified by:
updateNCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
updateNCharacterStream
{inheritDoc}.- Specified by:
updateNCharacterStream
in interfaceResultSet
- Throws:
SQLException
-
getHoldability
public int getHoldability(){inheritDoc}.- Specified by:
getHoldability
in interfaceResultSet
-
unwrap
{inheritDoc}.- Specified by:
unwrap
in interfaceWrapper
- Throws:
SQLException
-
isWrapperFor
{inheritDoc}.- Specified by:
isWrapperFor
in interfaceWrapper
- Throws:
SQLException
-
setForceTableAlias
public void setForceTableAlias()Force metadata getTableName to return table alias, not original table name. -
rangeCheck
private void rangeCheck(Object className, long minValue, long maxValue, long value, ColumnDefinition columnInfo) throws SQLException - Throws:
SQLException
-
getRowPointer
public int getRowPointer() -
setRowPointer
protected void setRowPointer(int pointer) -
getDataSize
public int getDataSize() -
isBinaryEncoded
public boolean isBinaryEncoded()
-