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 booleanprotected intprivate ColumnNameMapprotected ColumnInformation[]private byte[][]private intprivate intprivate booleanprivate intprivate booleanprivate static final ColumnInformation[]private booleanprivate booleanprivate intprivate ReentrantLockprivate static final intprotected booleanprivate static final Stringprotected Optionsprivate Protocolprivate PacketInputStreamprivate intprivate RowProtocolprivate intprivate MariaDbStatementprivate booleanprotected TimeZonestatic final intstatic final intFields 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(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
Modifier and TypeMethodDescriptionvoidabort()Connection.abort() has been called, abort result-set.booleanabsolute(int row) protected voidaddRowData(byte[] rawData) private voidThis permit to add next streaming values to existing resultSet.voidvoidvoid{inheritDoc}.private voidprivate voidcheckObjectRange(int position) voidvoidclose()Close resultSet.static SelectResultSetstatic ResultSetcreateGeneratedData(long[] data, Protocol protocol, boolean findColumnReturnsOne) Create a result set from given data.static ResultSetcreateResultSet(String[] columnNames, ColumnType[] columnTypes, String[][] data, Protocol protocol) Create a result set from given data.protected voidDelete current data.void{inheritDoc}.private voidvoidWhen protocol has a current Streaming result (this) fetch all to permit another query is executing.intfindColumn(String columnLabel) {inheritDoc}.booleanfirst()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}.booleangetBoolean(int index) {inheritDoc}.booleangetBoolean(String columnLabel) {inheritDoc}.bytegetByte(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}.intprotected byte[]Get current row's raw bytes.{inheritDoc}.intgetDate(int columnIndex) {inheritDoc}.{inheritDoc}.{inheritDoc}.{inheritDoc}.doublegetDouble(int columnIndex) {inheritDoc}.double{inheritDoc}.intintfloatgetFloat(int columnIndex) {inheritDoc}.float{inheritDoc}.int{inheritDoc}.intgetInt(int columnIndex) {inheritDoc}.int{inheritDoc}.longgetLong(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}.intgetRow()getRowId(int columnIndex) {inheritDoc}.{inheritDoc}.intshortgetShort(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}.intgetType()getUnicodeStream(int columnIndex) {inheritDoc}.getUnicodeStream(String columnLabel) {inheritDoc}.getURL(int columnIndex) {inheritDoc}.{inheritDoc}.private voidGrow data array.private SQLExceptionvoid{inheritDoc}.booleanbooleanbooleanbooleanbooleanisClosed()booleanisFirst()booleanIndicate if result-set is still streaming results from server.booleanisLast()booleanisWrapperFor(Class<?> iface) {inheritDoc}.booleanlast()void{inheritDoc}.void{inheritDoc}.booleannext()private voidThis permit to replace current stream results by next ones.booleanprevious()private voidrangeCheck(Object className, long minValue, long maxValue, long value, ColumnInformation columnInfo) private booleanRead next value.void{inheritDoc}.booleanrelative(int rows) private voidboolean{inheritDoc}.boolean{inheritDoc}.boolean{inheritDoc}.voidsetFetchDirection(int direction) voidsetFetchSize(int fetchSize) voidForce metadata getTableName to return table alias, not original table name.protected voidsetRowPointer(int pointer) voidsetStatement(MariaDbStatement statement) private intskipLengthEncodedValue(byte[] buf, int pos) <T> T{inheritDoc}.voidupdateArray(int columnIndex, Array array) {inheritDoc}.voidupdateArray(String columnLabel, Array array) {inheritDoc}.voidupdateAsciiStream(int columnIndex, InputStream inputStream) {inheritDoc}.voidupdateAsciiStream(int columnIndex, InputStream inputStream, int length) {inheritDoc}.voidupdateAsciiStream(int columnIndex, InputStream inputStream, long length) {inheritDoc}.voidupdateAsciiStream(String columnLabel, InputStream inputStream) {inheritDoc}.voidupdateAsciiStream(String columnLabel, InputStream value, int length) {inheritDoc}.voidupdateAsciiStream(String columnLabel, InputStream inputStream, long length) {inheritDoc}.voidupdateBigDecimal(int columnIndex, BigDecimal value) {inheritDoc}.voidupdateBigDecimal(String columnLabel, BigDecimal value) {inheritDoc}.voidupdateBinaryStream(int columnIndex, InputStream inputStream) {inheritDoc}.voidupdateBinaryStream(int columnIndex, InputStream inputStream, int length) {inheritDoc}.voidupdateBinaryStream(int columnIndex, InputStream inputStream, long length) {inheritDoc}.voidupdateBinaryStream(String columnLabel, InputStream inputStream) {inheritDoc}.voidupdateBinaryStream(String columnLabel, InputStream value, int length) {inheritDoc}.voidupdateBinaryStream(String columnLabel, InputStream inputStream, long length) {inheritDoc}.voidupdateBlob(int columnIndex, InputStream inputStream) {inheritDoc}.voidupdateBlob(int columnIndex, InputStream inputStream, long length) {inheritDoc}.voidupdateBlob(int columnIndex, Blob blob) {inheritDoc}.voidupdateBlob(String columnLabel, InputStream inputStream) {inheritDoc}.voidupdateBlob(String columnLabel, InputStream inputStream, long length) {inheritDoc}.voidupdateBlob(String columnLabel, Blob blob) {inheritDoc}.voidupdateBoolean(int columnIndex, boolean bool) {inheritDoc}.voidupdateBoolean(String columnLabel, boolean value) {inheritDoc}.voidupdateByte(int columnIndex, byte value) {inheritDoc}.voidupdateByte(String columnLabel, byte value) {inheritDoc}.voidupdateBytes(int columnIndex, byte[] value) {inheritDoc}.voidupdateBytes(String columnLabel, byte[] value) {inheritDoc}.voidupdateCharacterStream(int columnIndex, Reader value) {inheritDoc}.voidupdateCharacterStream(int columnIndex, Reader value, int length) {inheritDoc}.voidupdateCharacterStream(int columnIndex, Reader value, long length) {inheritDoc}.voidupdateCharacterStream(String columnLabel, Reader reader) {inheritDoc}.voidupdateCharacterStream(String columnLabel, Reader reader, int length) {inheritDoc}.voidupdateCharacterStream(String columnLabel, Reader reader, long length) {inheritDoc}.voidupdateClob(int columnIndex, Reader reader) {inheritDoc}.voidupdateClob(int columnIndex, Reader reader, long length) {inheritDoc}.voidupdateClob(int columnIndex, Clob clob) {inheritDoc}.voidupdateClob(String columnLabel, Reader reader) {inheritDoc}.voidupdateClob(String columnLabel, Reader reader, long length) {inheritDoc}.voidupdateClob(String columnLabel, Clob clob) {inheritDoc}.voidupdateDate(int columnIndex, Date date) {inheritDoc}.voidupdateDate(String columnLabel, Date value) {inheritDoc}.voidupdateDouble(int columnIndex, double value) {inheritDoc}.voidupdateDouble(String columnLabel, double value) {inheritDoc}.voidupdateFloat(int columnIndex, float value) {inheritDoc}.voidupdateFloat(String columnLabel, float value) {inheritDoc}.voidupdateInt(int columnIndex, int value) {inheritDoc}.void{inheritDoc}.voidupdateLong(int columnIndex, long value) {inheritDoc}.voidupdateLong(String columnLabel, long value) {inheritDoc}.voidupdateNCharacterStream(int columnIndex, Reader reader) {inheritDoc}.voidupdateNCharacterStream(int columnIndex, Reader value, long length) {inheritDoc}.voidupdateNCharacterStream(String columnLabel, Reader reader) {inheritDoc}.voidupdateNCharacterStream(String columnLabel, Reader reader, long length) {inheritDoc}.voidupdateNClob(int columnIndex, Reader reader) {inheritDoc}.voidupdateNClob(int columnIndex, Reader reader, long length) {inheritDoc}.voidupdateNClob(int columnIndex, NClob nclob) {inheritDoc}.voidupdateNClob(String columnLabel, Reader reader) {inheritDoc}.voidupdateNClob(String columnLabel, Reader reader, long length) {inheritDoc}.voidupdateNClob(String columnLabel, NClob nclob) {inheritDoc}.voidupdateNString(int columnIndex, String nstring) {inheritDoc}.voidupdateNString(String columnLabel, String nstring) {inheritDoc}.voidupdateNull(int columnIndex) {inheritDoc}.voidupdateNull(String columnLabel) {inheritDoc}.voidupdateObject(int columnIndex, Object value) {inheritDoc}.voidupdateObject(int columnIndex, Object value, int scaleOrLength) {inheritDoc}.voidupdateObject(String columnLabel, Object value) {inheritDoc}.voidupdateObject(String columnLabel, Object value, int scaleOrLength) {inheritDoc}.void{inheritDoc}.void{inheritDoc}.void{inheritDoc}.protected voidupdateRowData(byte[] rawData) Update row's raw bytes.voidupdateRowId(int columnIndex, RowId rowId) {inheritDoc}.voidupdateRowId(String columnLabel, RowId rowId) {inheritDoc}.voidupdateShort(int columnIndex, short value) {inheritDoc}.voidupdateShort(String columnLabel, short value) {inheritDoc}.voidupdateSQLXML(int columnIndex, SQLXML xmlObject) {inheritDoc}.voidupdateSQLXML(String columnLabel, SQLXML xmlObject) {inheritDoc}.voidupdateString(int columnIndex, String value) {inheritDoc}.voidupdateString(String columnLabel, String value) {inheritDoc}.voidupdateTime(int columnIndex, Time time) {inheritDoc}.voidupdateTime(String columnLabel, Time value) {inheritDoc}.voidupdateTimestamp(int columnIndex, Timestamp timeStamp) {inheritDoc}.voidupdateTimestamp(String columnLabel, Timestamp value) {inheritDoc}.booleanwasNull(){inheritDoc}.private StringzeroFillingIfNeeded(String value, ColumnInformation columnInformation) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 -
columnNameMap
-
lastRowPointer
private int lastRowPointer -
isClosed
private boolean isClosed -
eofDeprecated
private boolean eofDeprecated -
lock
-
forceAlias
private boolean forceAlias
-
-
Constructor Details
-
SelectResultSet
public SelectResultSet(ColumnInformation[] columnInformation, Results results, Protocol protocol, PacketInputStream reader, boolean callableResult, boolean eofDeprecated) throws IOException, SQLException Create Streaming resultSet.- Parameters:
columnInformation- 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(ColumnInformation[] columnInformation, List<byte[]> resultSet, Protocol protocol, int resultSetScrollType) Create filled result-set.- Parameters:
columnInformation- column informationresultSet- result-set dataprotocol- current protocolresultSetScrollType- one of the followingResultSetconstants: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:
IOExceptionSQLException
-
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:
closein interfaceAutoCloseable- Specified by:
closein interfaceResultSet- Throws:
SQLException
-
resetVariables
private void resetVariables() -
next
- Specified by:
nextin interfaceResultSet- Throws:
SQLException
-
checkObjectRange
- Throws:
SQLException
-
getWarnings
- Specified by:
getWarningsin interfaceResultSet- Throws:
SQLException
-
clearWarnings
public void clearWarnings()- Specified by:
clearWarningsin interfaceResultSet
-
isBeforeFirst
- Specified by:
isBeforeFirstin interfaceResultSet- Throws:
SQLException
-
isAfterLast
- Specified by:
isAfterLastin interfaceResultSet- Throws:
SQLException
-
isFirst
- Specified by:
isFirstin interfaceResultSet- Throws:
SQLException
-
isLast
- Specified by:
isLastin interfaceResultSet- Throws:
SQLException
-
beforeFirst
- Specified by:
beforeFirstin interfaceResultSet- Throws:
SQLException
-
afterLast
- Specified by:
afterLastin interfaceResultSet- Throws:
SQLException
-
first
- Specified by:
firstin interfaceResultSet- Throws:
SQLException
-
last
- Specified by:
lastin interfaceResultSet- Throws:
SQLException
-
getRow
- Specified by:
getRowin interfaceResultSet- Throws:
SQLException
-
absolute
- Specified by:
absolutein interfaceResultSet- Throws:
SQLException
-
relative
- Specified by:
relativein interfaceResultSet- Throws:
SQLException
-
previous
- Specified by:
previousin interfaceResultSet- Throws:
SQLException
-
getFetchDirection
public int getFetchDirection()- Specified by:
getFetchDirectionin interfaceResultSet
-
setFetchDirection
- Specified by:
setFetchDirectionin interfaceResultSet- Throws:
SQLException
-
getFetchSize
public int getFetchSize()- Specified by:
getFetchSizein interfaceResultSet
-
setFetchSize
- Specified by:
setFetchSizein interfaceResultSet- Throws:
SQLException
-
getType
public int getType() -
getConcurrency
public int getConcurrency()- Specified by:
getConcurrencyin interfaceResultSet
-
checkClose
- Throws:
SQLException
-
isCallableResult
public boolean isCallableResult() -
isClosed
public boolean isClosed() -
getStatement
- Specified by:
getStatementin interfaceResultSet
-
setStatement
-
wasNull
public boolean wasNull(){inheritDoc}. -
getAsciiStream
{inheritDoc}.- Specified by:
getAsciiStreamin interfaceResultSet- Throws:
SQLException
-
getAsciiStream
{inheritDoc}.- Specified by:
getAsciiStreamin interfaceResultSet- Throws:
SQLException
-
getString
{inheritDoc}.- Specified by:
getStringin interfaceResultSet- Throws:
SQLException
-
getString
{inheritDoc}.- Specified by:
getStringin interfaceResultSet- Throws:
SQLException
-
zeroFillingIfNeeded
-
getBinaryStream
{inheritDoc}.- Specified by:
getBinaryStreamin interfaceResultSet- Throws:
SQLException
-
getBinaryStream
{inheritDoc}.- Specified by:
getBinaryStreamin interfaceResultSet- Throws:
SQLException
-
getInt
{inheritDoc}.- Specified by:
getIntin interfaceResultSet- Throws:
SQLException
-
getInt
{inheritDoc}.- Specified by:
getIntin interfaceResultSet- Throws:
SQLException
-
getLong
{inheritDoc}.- Specified by:
getLongin interfaceResultSet- Throws:
SQLException
-
getLong
{inheritDoc}.- Specified by:
getLongin interfaceResultSet- Throws:
SQLException
-
getFloat
{inheritDoc}.- Specified by:
getFloatin interfaceResultSet- Throws:
SQLException
-
getFloat
{inheritDoc}.- Specified by:
getFloatin interfaceResultSet- Throws:
SQLException
-
getDouble
{inheritDoc}.- Specified by:
getDoublein interfaceResultSet- Throws:
SQLException
-
getDouble
{inheritDoc}.- Specified by:
getDoublein interfaceResultSet- Throws:
SQLException
-
getBigDecimal
{inheritDoc}.- Specified by:
getBigDecimalin interfaceResultSet- Throws:
SQLException
-
getBigDecimal
{inheritDoc}.- Specified by:
getBigDecimalin interfaceResultSet- Throws:
SQLException
-
getBigDecimal
{inheritDoc}.- Specified by:
getBigDecimalin interfaceResultSet- Throws:
SQLException
-
getBigDecimal
{inheritDoc}.- Specified by:
getBigDecimalin interfaceResultSet- Throws:
SQLException
-
getBytes
{inheritDoc}.- Specified by:
getBytesin interfaceResultSet- Throws:
SQLException
-
getBytes
{inheritDoc}.- Specified by:
getBytesin interfaceResultSet- Throws:
SQLException
-
getDate
{inheritDoc}.- Specified by:
getDatein interfaceResultSet- Throws:
SQLException
-
getDate
{inheritDoc}.- Specified by:
getDatein interfaceResultSet- Throws:
SQLException
-
getDate
{inheritDoc}.- Specified by:
getDatein interfaceResultSet- Throws:
SQLException
-
getDate
{inheritDoc}.- Specified by:
getDatein interfaceResultSet- Throws:
SQLException
-
getTime
{inheritDoc}.- Specified by:
getTimein interfaceResultSet- Throws:
SQLException
-
getTime
{inheritDoc}.- Specified by:
getTimein interfaceResultSet- Throws:
SQLException
-
getTime
{inheritDoc}.- Specified by:
getTimein interfaceResultSet- Throws:
SQLException
-
getTime
{inheritDoc}.- Specified by:
getTimein interfaceResultSet- Throws:
SQLException
-
getTimestamp
{inheritDoc}.- Specified by:
getTimestampin interfaceResultSet- Throws:
SQLException
-
getTimestamp
{inheritDoc}.- Specified by:
getTimestampin interfaceResultSet- Throws:
SQLException
-
getTimestamp
{inheritDoc}.- Specified by:
getTimestampin interfaceResultSet- Throws:
SQLException
-
getTimestamp
{inheritDoc}.- Specified by:
getTimestampin interfaceResultSet- Throws:
SQLException
-
getUnicodeStream
{inheritDoc}.- Specified by:
getUnicodeStreamin interfaceResultSet- Throws:
SQLException
-
getUnicodeStream
{inheritDoc}.- Specified by:
getUnicodeStreamin interfaceResultSet- Throws:
SQLException
-
getCursorName
{inheritDoc}.- Specified by:
getCursorNamein interfaceResultSet- Throws:
SQLException
-
getMetaData
{inheritDoc}.- Specified by:
getMetaDatain interfaceResultSet
-
getObject
{inheritDoc}.- Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-
getObject
{inheritDoc}.- Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-
getObject
{inheritDoc}.- Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-
getObject
{inheritDoc}.- Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-
getObject
{inheritDoc}.- Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-
getObject
- Specified by:
getObjectin interfaceResultSet- Throws:
SQLException
-
findColumn
{inheritDoc}.- Specified by:
findColumnin interfaceResultSet- Throws:
SQLException
-
getCharacterStream
{inheritDoc}.- Specified by:
getCharacterStreamin interfaceResultSet- Throws:
SQLException
-
getCharacterStream
{inheritDoc}.- Specified by:
getCharacterStreamin interfaceResultSet- Throws:
SQLException
-
getNCharacterStream
{inheritDoc}.- Specified by:
getNCharacterStreamin interfaceResultSet- Throws:
SQLException
-
getNCharacterStream
{inheritDoc}.- Specified by:
getNCharacterStreamin interfaceResultSet- Throws:
SQLException
-
getRef
{inheritDoc}.- Specified by:
getRefin interfaceResultSet- Throws:
SQLException
-
getRef
{inheritDoc}.- Specified by:
getRefin interfaceResultSet- Throws:
SQLException
-
getBlob
{inheritDoc}.- Specified by:
getBlobin interfaceResultSet- Throws:
SQLException
-
getBlob
{inheritDoc}.- Specified by:
getBlobin interfaceResultSet- Throws:
SQLException
-
getClob
{inheritDoc}.- Specified by:
getClobin interfaceResultSet- Throws:
SQLException
-
getClob
{inheritDoc}.- Specified by:
getClobin interfaceResultSet- Throws:
SQLException
-
getArray
{inheritDoc}.- Specified by:
getArrayin interfaceResultSet- Throws:
SQLException
-
getArray
{inheritDoc}.- Specified by:
getArrayin interfaceResultSet- Throws:
SQLException
-
getURL
{inheritDoc}.- Specified by:
getURLin interfaceResultSet- Throws:
SQLException
-
getURL
{inheritDoc}.- Specified by:
getURLin interfaceResultSet- Throws:
SQLException
-
getRowId
{inheritDoc}.- Specified by:
getRowIdin interfaceResultSet- Throws:
SQLException
-
getRowId
{inheritDoc}.- Specified by:
getRowIdin interfaceResultSet- Throws:
SQLException
-
getNClob
{inheritDoc}.- Specified by:
getNClobin interfaceResultSet- Throws:
SQLException
-
getNClob
{inheritDoc}.- Specified by:
getNClobin interfaceResultSet- Throws:
SQLException
-
getSQLXML
{inheritDoc}.- Specified by:
getSQLXMLin interfaceResultSet- Throws:
SQLException
-
getSQLXML
{inheritDoc}.- Specified by:
getSQLXMLin interfaceResultSet- Throws:
SQLException
-
getNString
{inheritDoc}.- Specified by:
getNStringin interfaceResultSet- Throws:
SQLException
-
getNString
{inheritDoc}.- Specified by:
getNStringin interfaceResultSet- Throws:
SQLException
-
getBoolean
{inheritDoc}.- Specified by:
getBooleanin interfaceResultSet- Throws:
SQLException
-
getBoolean
{inheritDoc}.- Specified by:
getBooleanin interfaceResultSet- Throws:
SQLException
-
getByte
{inheritDoc}.- Specified by:
getBytein interfaceResultSet- Throws:
SQLException
-
getByte
{inheritDoc}.- Specified by:
getBytein interfaceResultSet- Throws:
SQLException
-
getShort
{inheritDoc}.- Specified by:
getShortin interfaceResultSet- Throws:
SQLException
-
getShort
{inheritDoc}.- Specified by:
getShortin interfaceResultSet- Throws:
SQLException
-
rowUpdated
{inheritDoc}.- Specified by:
rowUpdatedin interfaceResultSet- Throws:
SQLException
-
rowInserted
{inheritDoc}.- Specified by:
rowInsertedin interfaceResultSet- Throws:
SQLException
-
rowDeleted
{inheritDoc}.- Specified by:
rowDeletedin interfaceResultSet- Throws:
SQLException
-
insertRow
{inheritDoc}.- Specified by:
insertRowin interfaceResultSet- Throws:
SQLException
-
deleteRow
{inheritDoc}.- Specified by:
deleteRowin interfaceResultSet- Throws:
SQLException
-
refreshRow
{inheritDoc}.- Specified by:
refreshRowin interfaceResultSet- Throws:
SQLException
-
cancelRowUpdates
{inheritDoc}.- Specified by:
cancelRowUpdatesin interfaceResultSet- Throws:
SQLException
-
moveToInsertRow
{inheritDoc}.- Specified by:
moveToInsertRowin interfaceResultSet- Throws:
SQLException
-
moveToCurrentRow
{inheritDoc}.- Specified by:
moveToCurrentRowin interfaceResultSet- Throws:
SQLException
-
updateNull
{inheritDoc}.- Specified by:
updateNullin interfaceResultSet- Throws:
SQLException
-
updateNull
{inheritDoc}.- Specified by:
updateNullin interfaceResultSet- Throws:
SQLException
-
updateBoolean
{inheritDoc}.- Specified by:
updateBooleanin interfaceResultSet- Throws:
SQLException
-
updateBoolean
{inheritDoc}.- Specified by:
updateBooleanin interfaceResultSet- Throws:
SQLException
-
updateByte
{inheritDoc}.- Specified by:
updateBytein interfaceResultSet- Throws:
SQLException
-
updateByte
{inheritDoc}.- Specified by:
updateBytein interfaceResultSet- Throws:
SQLException
-
updateShort
{inheritDoc}.- Specified by:
updateShortin interfaceResultSet- Throws:
SQLException
-
updateShort
{inheritDoc}.- Specified by:
updateShortin interfaceResultSet- Throws:
SQLException
-
updateInt
{inheritDoc}.- Specified by:
updateIntin interfaceResultSet- Throws:
SQLException
-
updateInt
{inheritDoc}.- Specified by:
updateIntin interfaceResultSet- Throws:
SQLException
-
updateFloat
{inheritDoc}.- Specified by:
updateFloatin interfaceResultSet- Throws:
SQLException
-
updateFloat
{inheritDoc}.- Specified by:
updateFloatin interfaceResultSet- Throws:
SQLException
-
updateDouble
{inheritDoc}.- Specified by:
updateDoublein interfaceResultSet- Throws:
SQLException
-
updateDouble
{inheritDoc}.- Specified by:
updateDoublein interfaceResultSet- Throws:
SQLException
-
updateBigDecimal
{inheritDoc}.- Specified by:
updateBigDecimalin interfaceResultSet- Throws:
SQLException
-
updateBigDecimal
{inheritDoc}.- Specified by:
updateBigDecimalin interfaceResultSet- Throws:
SQLException
-
updateString
{inheritDoc}.- Specified by:
updateStringin interfaceResultSet- Throws:
SQLException
-
updateString
{inheritDoc}.- Specified by:
updateStringin interfaceResultSet- Throws:
SQLException
-
updateBytes
{inheritDoc}.- Specified by:
updateBytesin interfaceResultSet- Throws:
SQLException
-
updateBytes
{inheritDoc}.- Specified by:
updateBytesin interfaceResultSet- Throws:
SQLException
-
updateDate
{inheritDoc}.- Specified by:
updateDatein interfaceResultSet- Throws:
SQLException
-
updateDate
{inheritDoc}.- Specified by:
updateDatein interfaceResultSet- Throws:
SQLException
-
updateTime
{inheritDoc}.- Specified by:
updateTimein interfaceResultSet- Throws:
SQLException
-
updateTime
{inheritDoc}.- Specified by:
updateTimein interfaceResultSet- Throws:
SQLException
-
updateTimestamp
{inheritDoc}.- Specified by:
updateTimestampin interfaceResultSet- Throws:
SQLException
-
updateTimestamp
{inheritDoc}.- Specified by:
updateTimestampin interfaceResultSet- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, InputStream inputStream, int length) throws SQLException {inheritDoc}.- Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLException
-
updateAsciiStream
{inheritDoc}.- Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(String columnLabel, InputStream value, int length) throws SQLException {inheritDoc}.- Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(int columnIndex, InputStream inputStream, long length) throws SQLException {inheritDoc}.- Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLException
-
updateAsciiStream
public void updateAsciiStream(String columnLabel, InputStream inputStream, long length) throws SQLException {inheritDoc}.- Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLException
-
updateAsciiStream
{inheritDoc}.- Specified by:
updateAsciiStreamin interfaceResultSet- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, InputStream inputStream, int length) throws SQLException {inheritDoc}.- Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(int columnIndex, InputStream inputStream, long length) throws SQLException {inheritDoc}.- Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(String columnLabel, InputStream value, int length) throws SQLException {inheritDoc}.- Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLException
-
updateBinaryStream
public void updateBinaryStream(String columnLabel, InputStream inputStream, long length) throws SQLException {inheritDoc}.- Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLException
-
updateBinaryStream
{inheritDoc}.- Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLException
-
updateBinaryStream
{inheritDoc}.- Specified by:
updateBinaryStreamin interfaceResultSet- Throws:
SQLException
-
updateCharacterStream
{inheritDoc}.- Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateCharacterStream
{inheritDoc}.- Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(String columnLabel, Reader reader, int length) throws SQLException {inheritDoc}.- Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateCharacterStream
{inheritDoc}.- Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateCharacterStream
public void updateCharacterStream(String columnLabel, Reader reader, long length) throws SQLException {inheritDoc}.- Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateCharacterStream
{inheritDoc}.- Specified by:
updateCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateObject
{inheritDoc}.- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLException
-
updateObject
{inheritDoc}.- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLException
-
updateObject
{inheritDoc}.- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLException
-
updateObject
{inheritDoc}.- Specified by:
updateObjectin interfaceResultSet- Throws:
SQLException
-
updateLong
{inheritDoc}.- Specified by:
updateLongin interfaceResultSet- Throws:
SQLException
-
updateLong
{inheritDoc}.- Specified by:
updateLongin interfaceResultSet- Throws:
SQLException
-
updateRow
{inheritDoc}.- Specified by:
updateRowin interfaceResultSet- Throws:
SQLException
-
updateRef
{inheritDoc}.- Specified by:
updateRefin interfaceResultSet- Throws:
SQLException
-
updateRef
{inheritDoc}.- Specified by:
updateRefin interfaceResultSet- Throws:
SQLException
-
updateBlob
{inheritDoc}.- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateBlob
{inheritDoc}.- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateBlob
{inheritDoc}.- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateBlob
{inheritDoc}.- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateBlob
{inheritDoc}.- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateBlob
public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException {inheritDoc}.- Specified by:
updateBlobin interfaceResultSet- Throws:
SQLException
-
updateClob
{inheritDoc}.- Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateClob
{inheritDoc}.- Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateClob
{inheritDoc}.- Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateClob
{inheritDoc}.- Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateClob
{inheritDoc}.- Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateClob
{inheritDoc}.- Specified by:
updateClobin interfaceResultSet- Throws:
SQLException
-
updateArray
{inheritDoc}.- Specified by:
updateArrayin interfaceResultSet- Throws:
SQLException
-
updateArray
{inheritDoc}.- Specified by:
updateArrayin interfaceResultSet- Throws:
SQLException
-
updateRowId
{inheritDoc}.- Specified by:
updateRowIdin interfaceResultSet- Throws:
SQLException
-
updateRowId
{inheritDoc}.- Specified by:
updateRowIdin interfaceResultSet- Throws:
SQLException
-
updateNString
{inheritDoc}.- Specified by:
updateNStringin interfaceResultSet- Throws:
SQLException
-
updateNString
{inheritDoc}.- Specified by:
updateNStringin interfaceResultSet- Throws:
SQLException
-
updateNClob
{inheritDoc}.- Specified by:
updateNClobin interfaceResultSet- Throws:
SQLException
-
updateNClob
{inheritDoc}.- Specified by:
updateNClobin interfaceResultSet- Throws:
SQLException
-
updateNClob
{inheritDoc}.- Specified by:
updateNClobin interfaceResultSet- Throws:
SQLException
-
updateNClob
{inheritDoc}.- Specified by:
updateNClobin interfaceResultSet- Throws:
SQLException
-
updateNClob
{inheritDoc}.- Specified by:
updateNClobin interfaceResultSet- Throws:
SQLException
-
updateNClob
{inheritDoc}.- Specified by:
updateNClobin interfaceResultSet- Throws:
SQLException
-
updateSQLXML
{inheritDoc}.- Specified by:
updateSQLXMLin interfaceResultSet- Throws:
SQLException
-
updateSQLXML
{inheritDoc}.- Specified by:
updateSQLXMLin interfaceResultSet- Throws:
SQLException
-
updateNCharacterStream
{inheritDoc}.- Specified by:
updateNCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateNCharacterStream
public void updateNCharacterStream(String columnLabel, Reader reader, long length) throws SQLException {inheritDoc}.- Specified by:
updateNCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateNCharacterStream
{inheritDoc}.- Specified by:
updateNCharacterStreamin interfaceResultSet- Throws:
SQLException
-
updateNCharacterStream
{inheritDoc}.- Specified by:
updateNCharacterStreamin interfaceResultSet- Throws:
SQLException
-
getHoldability
public int getHoldability(){inheritDoc}.- Specified by:
getHoldabilityin interfaceResultSet
-
unwrap
{inheritDoc}.- Specified by:
unwrapin interfaceWrapper- Throws:
SQLException
-
isWrapperFor
{inheritDoc}.- Specified by:
isWrapperForin 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, ColumnInformation columnInfo) throws SQLException - Throws:
SQLException
-
getRowPointer
public int getRowPointer() -
setRowPointer
protected void setRowPointer(int pointer) -
getDataSize
public int getDataSize() -
isBinaryEncoded
public boolean isBinaryEncoded()
-