|
|||||||||
| Home >> All >> org >> apache >> derby >> impl >> [ drda overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.derby.impl.drda
Class DRDAResultSet

java.lang.Objectorg.apache.derby.impl.drda.DRDAResultSet
- class DRDAResultSet
- extends java.lang.Object
DRDAResultSet holds result set information
| Field Summary | |
protected int |
blksize
|
protected int |
concurType
|
(package private) boolean |
explicitlyClosed
|
private java.util.ArrayList |
extDtaObjects
|
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 java.lang.String |
pkgcnstknStr
|
protected boolean |
qryblkrst
|
private 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 |
rsExtPositions
|
protected int[] |
rsLens
|
protected byte[] |
rslsetflg
|
private int[] |
rsPrecision
|
private int[] |
rsScale
|
protected int |
rtnextdta
|
protected int |
scrollType
|
(package private) int |
state
|
protected static int |
SUSPENDED
|
protected int |
withHoldCursor
|
| Constructor Summary | |
protected |
DRDAResultSet()
|
protected |
DRDAResultSet(java.sql.ResultSet rs)
|
| Method Summary | |
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()
Clean up statements and resultSet |
protected void |
CLSQRY()
Explicitly close the result set by CLSQRY needed to check for double close. |
protected java.util.ArrayList |
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 paramter precision |
protected int |
getRsScale(int index)
get resultset /out paramter scale |
private java.lang.String |
getStateString(int i)
|
private 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)
|
(package private) boolean |
isRSCloseImplicit()
Method to decide weather the ResultSet should be closed implicitly. |
protected void |
setExtDtaObjects(java.util.ArrayList a)
Set the extData Objects |
protected void |
setOPNQRYOptions(int blksize,
int qryblkctl,
int maxblkext,
int outovropt,
int qryrowset,
int qryclsimpl)
Sets the OPNQRYOptions. |
protected void |
setPkgcnstknStr(java.lang.String pkgcnstknStr)
set consistency token for this resultSet |
protected void |
setQryprctyp(int qryprctyp)
|
protected 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 |
setRsDRDATypes(int[] value)
Set ResultSet DRDA DataTypes |
protected void |
setRsLen(int index,
int value)
set resultset DRDA Len |
protected void |
setRsPrecision(int index,
int precision)
set resultset/out parameter precision |
protected void |
setRsScale(int index,
int scale)
set resultset/out parameter scale |
protected void |
suspend()
Set state to SUSPENDED (result set is opened) |
protected java.lang.String |
toDebugString(java.lang.String indent)
|
protected boolean |
wasExplicitlyClosed()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
NOT_OPENED
protected static final int NOT_OPENED
- See Also:
- Constant Field Values
SUSPENDED
protected static final int SUSPENDED
- See Also:
- Constant Field Values
QRYCLSIMP_DEFAULT
public static final int QRYCLSIMP_DEFAULT
- See Also:
- Constant Field Values
explicitlyClosed
boolean explicitlyClosed
state
int state
hasdata
protected boolean hasdata
rsLens
protected int[] rsLens
rsDRDATypes
private int[] rsDRDATypes
rsPrecision
private int[] rsPrecision
rsScale
private int[] rsScale
outovr_drdaType
protected int[] outovr_drdaType
withHoldCursor
protected int withHoldCursor
scrollType
protected int scrollType
concurType
protected int concurType
rowCount
protected long rowCount
rs
private java.sql.ResultSet rs
blksize
protected int blksize
maxblkext
protected int maxblkext
outovropt
protected int outovropt
qryclsimp
private int qryclsimp
qryrelscr
protected boolean qryrelscr
qryrownbr
protected long qryrownbr
qryrfrtbl
protected boolean qryrfrtbl
qryscrorn
protected int qryscrorn
qryrowsns
protected boolean qryrowsns
qryblkrst
protected boolean qryblkrst
qryrtndta
protected boolean qryrtndta
qryrowset
protected int qryrowset
qryprctyp
private int qryprctyp
gotPrctyp
private boolean gotPrctyp
rtnextdta
protected int rtnextdta
nbrrow
protected int nbrrow
rslsetflg
protected byte[] rslsetflg
extDtaObjects
private java.util.ArrayList extDtaObjects
rsExtPositions
private java.util.ArrayList rsExtPositions
pkgcnstknStr
protected java.lang.String pkgcnstknStr
| Constructor Detail |
DRDAResultSet
protected DRDAResultSet(java.sql.ResultSet rs) throws java.sql.SQLException
DRDAResultSet
protected DRDAResultSet()
| Method Detail |
setResultSet
protected void setResultSet(java.sql.ResultSet value) throws java.sql.SQLException
- Set result set and initialize type array.
setPkgcnstknStr
protected void setPkgcnstknStr(java.lang.String pkgcnstknStr)
- set consistency token for this resultSet
getResultSet
protected java.sql.ResultSet getResultSet()
setRsDRDATypes
protected void setRsDRDATypes(int[] value)
- Set ResultSet DRDA DataTypes
getRsDRDATypes
protected int[] getRsDRDATypes()
setRsPrecision
protected void setRsPrecision(int index,
int precision)
- set resultset/out parameter precision
getRsPrecision
protected int getRsPrecision(int index)
- get resultset /out paramter precision
setRsScale
protected void setRsScale(int index,
int scale)
- set resultset/out parameter scale
getRsScale
protected int getRsScale(int index)
- get resultset /out paramter scale
setRsDRDAType
protected void setRsDRDAType(int index,
int type)
- set resultset/out parameter DRDAType
getRsDRDAType
protected int getRsDRDAType(int index)
- get resultset/out parameter DRDAType
setRsLen
protected void setRsLen(int index,
int value)
- set resultset DRDA Len
getRsLen
protected int getRsLen(int index)
- get resultset DRDALen
addExtDtaObject
protected void addExtDtaObject(java.lang.Object o, int jdbcIndex)
- Add extDtaObject
clearExtDtaObjects
protected void clearExtDtaObjects()
- Clear externalized lob objects in current result set
isExtDtaValueNullable
protected boolean isExtDtaValueNullable(int index)
getExtDtaObjects
protected java.util.ArrayList getExtDtaObjects()
- Get the extData Objects
setExtDtaObjects
protected void setExtDtaObjects(java.util.ArrayList a)
- Set the extData Objects
close
protected void close()
throws java.sql.SQLException
- Clean up statements and resultSet
CLSQRY
protected void CLSQRY()
- Explicitly close the result set by CLSQRY
needed to check for double close.
wasExplicitlyClosed
protected boolean wasExplicitlyClosed()
hasLobColumns
private boolean hasLobColumns()
throws java.sql.SQLException
- Check to see if the result set for this statement
has at least one column that is BLOB/CLOB.
getResultSetCursorName
public java.lang.String getResultSetCursorName() throws java.sql.SQLException
- Get the cursor name for the ResultSet
getQryprctyp
protected int getQryprctyp()
throws java.sql.SQLException
setQryprctyp
protected void setQryprctyp(int qryprctyp)
isClosed
protected boolean isClosed()
- is ResultSet closed
suspend
protected void suspend()
- Set state to SUSPENDED (result set is opened)
toDebugString
protected java.lang.String toDebugString(java.lang.String indent)
getStateString
private java.lang.String getStateString(int i)
isRSCloseImplicit
boolean isRSCloseImplicit()
throws java.sql.SQLException
- Method to decide weather the ResultSet should be closed implicitly.
When the protocol type is Limited Block Query Protocol we should not
close implicitly even if qryclsimp is set to YES.
setOPNQRYOptions
protected void setOPNQRYOptions(int blksize,
int qryblkctl,
int maxblkext,
int outovropt,
int qryrowset,
int qryclsimpl)
- Sets the OPNQRYOptions. For more information on the meaning of these
values consult the DRDA Technical Standard document.
|
|||||||||
| Home >> All >> org >> apache >> derby >> impl >> [ drda overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.apache.derby.impl.drda.DRDAResultSet