class DRDAResultSet
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
blksize |
protected int |
concurType |
(package private) boolean |
explicitlyClosed |
private java.util.ArrayList<java.lang.Object> |
extDtaObjects
List of Blobs and Clobs.
|
private boolean |
gotPrctyp |
protected boolean |
hasdata |
protected int |
maxblkext |
protected int |
nbrrow |
protected static int |
NOT_OPENED |
protected int[] |
outovr_drdaType |
protected int |
outovropt |
protected ConsistencyToken |
pkgcnstkn |
protected boolean |
qryblkrst |
protected int |
qryclsimp |
static int |
QRYCLSIMP_DEFAULT |
private int |
qryprctyp |
protected boolean |
qryrelscr |
protected boolean |
qryrfrtbl |
protected long |
qryrownbr |
protected int |
qryrowset |
protected boolean |
qryrowsns |
protected boolean |
qryrtndta |
protected int |
qryscrorn |
protected long |
rowCount |
private java.sql.ResultSet |
rs |
private int[] |
rsDRDATypes |
private java.util.ArrayList<java.lang.Integer> |
rsExtPositions |
protected int[] |
rsLens |
protected byte[] |
rslsetflg |
private int[] |
rsPrecision |
private int[] |
rsScale |
protected int |
rtnextdta |
protected int |
scrollType |
private byte[] |
splitQRYDTA |
(package private) int |
state |
protected static int |
SUSPENDED |
protected int |
withHoldCursor |
Constructor and Description |
---|
DRDAResultSet() |
Modifier and Type | Method and Description |
---|---|
protected void |
addExtDtaObject(java.lang.Object o,
int jdbcIndex)
Add extDtaObject
|
protected void |
clearExtDtaObjects()
Clear externalized lob objects in current result set
|
protected void |
close()
This method closes the JDBC objects and frees up all references held by
this object.
|
protected void |
CLSQRY()
Explicitly close the result set by CLSQRY
needed to check for double close.
|
protected java.util.ArrayList<java.lang.Object> |
getExtDtaObjects()
Get the extData Objects
|
protected int |
getQryprctyp() |
protected java.sql.ResultSet |
getResultSet() |
java.lang.String |
getResultSetCursorName()
Get the cursor name for the ResultSet
|
protected int |
getRsDRDAType(int index)
get resultset/out parameter DRDAType
|
protected int[] |
getRsDRDATypes() |
protected int |
getRsLen(int index)
get resultset DRDALen
|
protected int |
getRsPrecision(int index)
get resultset /out parameter precision
|
protected int |
getRsScale(int index)
get resultset /out parameter scale
|
byte[] |
getSplitQRYDTA() |
private java.lang.String |
getStateString(int i) |
protected boolean |
hasLobColumns()
Check to see if the result set for this statement
has at least one column that is BLOB/CLOB.
|
protected boolean |
isClosed()
is ResultSet closed
|
protected boolean |
isExtDtaValueNullable(int index)
Is lob object nullable
|
protected void |
reset()
This method resets the state of this DRDAResultset object so that it can
be re-used.
|
protected void |
setOPNQRYOptions(int blksize,
int qryblkctl,
int maxblkext,
int outovropt,
int qryrowset,
int qryclsimpl)
Sets the OPNQRYOptions.
|
protected void |
setPkgcnstkn(ConsistencyToken pkgcnstkn)
set consistency token for this resultSet
|
protected void |
setQryprctyp(int qryprctyp) |
(package private) void |
setResultSet(java.sql.ResultSet value)
Set result set and initialize type array.
|
protected void |
setRsDRDAType(int index,
int type)
set resultset/out parameter DRDAType
|
protected void |
setRsPrecision(int index,
int precision)
set resultset/out parameter precision
|
protected void |
setRsScale(int index,
int scale)
set resultset/out parameter scale
|
void |
setSplitQRYDTA(byte[] data) |
protected void |
suspend()
Set state to SUSPENDED (result set is opened)
|
protected java.lang.String |
toDebugString(java.lang.String indent) |
protected boolean |
wasExplicitlyClosed() |
protected static final int NOT_OPENED
protected static final int SUSPENDED
public static final int QRYCLSIMP_DEFAULT
boolean explicitlyClosed
int state
protected boolean hasdata
protected int[] rsLens
private int[] rsDRDATypes
private int[] rsPrecision
private int[] rsScale
protected int[] outovr_drdaType
protected int withHoldCursor
protected int scrollType
protected int concurType
protected long rowCount
private java.sql.ResultSet rs
protected int blksize
protected int maxblkext
protected int outovropt
protected int qryclsimp
protected boolean qryrelscr
protected long qryrownbr
protected boolean qryrfrtbl
protected int qryscrorn
protected boolean qryrowsns
protected boolean qryblkrst
protected boolean qryrtndta
protected int qryrowset
private int qryprctyp
private boolean gotPrctyp
protected int rtnextdta
protected int nbrrow
protected byte[] rslsetflg
private java.util.ArrayList<java.lang.Object> extDtaObjects
private java.util.ArrayList<java.lang.Integer> rsExtPositions
protected ConsistencyToken pkgcnstkn
private byte[] splitQRYDTA
void setResultSet(java.sql.ResultSet value) throws java.sql.SQLException
value
- java.sql.SQLException
protected void setPkgcnstkn(ConsistencyToken pkgcnstkn)
protected java.sql.ResultSet getResultSet()
public void setSplitQRYDTA(byte[] data)
public byte[] getSplitQRYDTA()
protected int[] getRsDRDATypes()
protected void setRsPrecision(int index, int precision)
index
- - starting with 1precision
- protected int getRsPrecision(int index)
index
- -starting with 1protected void setRsScale(int index, int scale)
index
- - starting with 1scale
- protected int getRsScale(int index)
index
- -starting with 1protected void setRsDRDAType(int index, int type)
index
- - starting with 1type
- protected int getRsDRDAType(int index)
index
- - starting with 1protected int getRsLen(int index)
index
- - starting with 1protected void addExtDtaObject(java.lang.Object o, int jdbcIndex)
o
- - object to addprotected void clearExtDtaObjects()
protected boolean isExtDtaValueNullable(int index)
index
- - offset starting with 0protected java.util.ArrayList<java.lang.Object> getExtDtaObjects()
protected void close() throws java.sql.SQLException
java.sql.SQLException
protected void reset()
protected void CLSQRY()
protected boolean wasExplicitlyClosed()
protected boolean hasLobColumns() throws java.sql.SQLException
java.sql.SQLException
public java.lang.String getResultSetCursorName() throws java.sql.SQLException
java.sql.SQLException
protected int getQryprctyp() throws java.sql.SQLException
java.sql.SQLException
protected void setQryprctyp(int qryprctyp)
protected boolean isClosed()
protected void suspend()
protected java.lang.String toDebugString(java.lang.String indent)
private java.lang.String getStateString(int i)
protected void setOPNQRYOptions(int blksize, int qryblkctl, int maxblkext, int outovropt, int qryrowset, int qryclsimpl)
blksize
- Query block Sizeqryblkctl
- Use to set the query protocol typemaxblkext
- Maximum number of extra blocksoutovropt
- Output override optionqryrowset
- Query row setqryclsimpl
- Implicit query close settingApache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.