|
|||||||||
| Home >> All >> org >> apache >> derby >> impl >> [ drda overview ] | PREV NEXT | ||||||||
Uses of Class
org.apache.derby.impl.drda.DRDAStatement
| Uses of DRDAStatement in org.apache.derby.impl.drda |
| Fields in org.apache.derby.impl.drda declared as DRDAStatement | |
(package private) DRDAStatement |
Database.defaultStatement
|
private DRDAStatement |
Database.currentStatement
|
| Methods in org.apache.derby.impl.drda that return DRDAStatement | |
protected DRDAStatement |
Database.getCurrentStatement()
Get current DRDA statement |
protected DRDAStatement |
Database.getDefaultStatement()
Get default statement for use in EXCIMM |
protected DRDAStatement |
Database.getDefaultStatement(java.lang.String pkgnamcsn)
Get default statement for use in EXCIMM with specified pkgnamcsn The pkgnamcsn has the encoded isolation level |
protected DRDAStatement |
Database.newDRDAStatement(java.lang.String pkgnamcsn)
Get a new DRDA statement and store it in the stmtTable if stortStmt is true If possible recycle an existing statement If we are asking for one with the same name it means it was already closed. |
protected DRDAStatement |
Database.getDRDAStatement(java.lang.String pkgnamcsn)
Get DRDA statement based on pkgnamcsn |
private DRDAStatement |
DRDAConnThread.parseCNTQRY()
Parse CNTQRY - Continue Query Instance Variables RDBNAM - Relational Database Name - optional PKGNAMCSN - RDB Package Name, Consistency Token, and Section Number - required QRYBLKSZ - Query Block Size - required QRYRELSCR - Query Relative Scrolling Action - optional QRYSCRORN - Query Scroll Orientation - optional - level 7 QRYROWNBR - Query Row Number - optional QRYROWSNS - Query Row Sensitivity - optional - level 7 QRYBLKRST - Query Block Reset - optional - level 7 QRYRTNDTA - Query Returns Data - optional - level 7 QRYROWSET - Query Rowset Size - optional - level 7 QRYRFRTBL - Query Refresh Answer Set Table - optional NBRROW - Number of Fetch or Insert Rows - optional MAXBLKEXT - Maximum number of extra blocks - optional RTNEXTDTA - Return of EXTDTA Option - optional MONITOR - Monitor events - optional. |
private DRDAStatement |
DRDAConnThread.parseCLSQRY()
Parse CLSQRY Instance Variables RDBNAM - relational database name - optional PKGNAMCSN - RDB Package Name, Consistency Token and Section Number - required QRYINSID - Query Instance Identifier - required - level 7 MONITOR - Monitor events - optional. |
| Methods in org.apache.derby.impl.drda with parameters of type DRDAStatement | |
protected void |
Database.storeStatement(DRDAStatement stmt)
Store DRDA prepared statement |
protected void |
Database.removeStatement(DRDAStatement stmt)
|
protected void |
Database.setCurrentStatement(DRDAStatement stmt)
Make statement the current statement |
private void |
DRDAConnThread.parseOPNQRYobjects(DRDAStatement stmt)
Parse OPNQRY objects Objects TYPDEFNAM - Data type definition name - optional TYPDEFOVR - Type defintion overrides - optional SQLDTA- SQL Program Variable Data - optional If TYPDEFNAM and TYPDEFOVR are supplied, they apply to the objects sent with the statement. |
private void |
DRDAConnThread.parseCNTQRYobjects(DRDAStatement stmt)
Parse CNTQRY objects Instance Variables OUTOVR - Output Override Descriptor - optional |
private void |
DRDAConnThread.parseOUTOVR(DRDAStatement stmt)
Parse OUTOVR - Output Override Descriptor This specifies the output format for data to be returned as output to a SQL statement or as output from a query. |
private void |
DRDAConnThread.writeOPNQRYRM(boolean isDssObject,
DRDAStatement stmt)
Write OPNQRYRM - Open Query Complete Instance Variables SVRCOD - Severity Code - required QRYPRCTYP - Query Protocol Type - required SQLCSRHLD - Hold Cursor Position - optional QRYATTSCR - Query Attribute for Scrollability - optional - level 7 QRYATTSNS - Query Attribute for Sensitivity - optional - level 7 QRYATTUPD - Query Attribute for Updatability -optional - level 7 QRYINSID - Query Instance Identifier - required - level 7 SRVDGN - Server Diagnostic Information - optional |
private void |
DRDAConnThread.setStmtOrDbByteOrder(boolean setDatabase,
DRDAStatement stmt,
java.lang.String typDefNam)
Set a statement or the database' byte order, depending on the arguments |
private void |
DRDAConnThread.parseTYPDEFOVR(DRDAStatement st)
Parse Type Defintion Overrides TYPDEF Overrides specifies the Coded Character SET Identifiers (CCSIDs) that are in a named TYPDEF. |
private java.lang.String |
DRDAConnThread.parsePRPSQLSTTobjects(DRDAStatement stmt)
Parse PRPSQLSTT objects Objects TYPDEFNAM - Data type definition name - optional TYPDEFOVR - Type defintion overrides - optional SQLSTT - SQL Statement required SQLATTR - Cursor attributes on prepare - optional - level 7 If TYPDEFNAM and TYPDEFOVR are supplied, they apply to the objects sent with the statement. |
protected void |
DRDAConnThread.parseSQLATTR(DRDAStatement stmt)
Parse SQLATTR - Cursor attributes on prepare This is an encoded string. |
private void |
DRDAConnThread.parseEXCSQLSTTobjects(DRDAStatement stmt)
Parse EXCSQLSTT command objects Command Objects TYPDEFNAM - Data Type Definition Name - optional TYPDEFOVR - TYPDEF Overrides -optional SQLDTA - optional, variable data, specified if prpared statement has input parameters EXTDTA - optional, externalized FD:OCA data OUTOVR - output override descriptor, not allowed for stored procedure calls If TYPDEFNAM and TYPDEFOVR are supplied, they apply to the objects sent with the statement. |
private void |
DRDAConnThread.writeSQLCINRD(DRDAStatement stmt)
Write SQLCINRD - result set column information |
private void |
DRDAConnThread.writeSQLRSLRD(DRDAStatement stmt)
Write SQLRSLRD - result set reply data |
private void |
DRDAConnThread.writeRSLSETRM(DRDAStatement stmt)
Write RSLSETRM Instance variables SVRCOD - Severity code - Information only - required PKGSNLST - list of PKGNAMCSN -required SRVDGN - Server Diagnostic Information -optional |
private void |
DRDAConnThread.parseSQLDTA(DRDAStatement stmt)
Parse SQLDTA - SQL program variable data and handle exception. |
private void |
DRDAConnThread.parseSQLDTA_work(DRDAStatement stmt)
Parse SQLDTA - SQL program variable data Instance Variables FDODSC - FD:OCA data descriptor - required FDODTA - FD:OCA data - optional |
private java.util.ArrayList |
DRDAConnThread.readAndSetParams(int i,
DRDAStatement stmt,
int drdaType,
org.apache.derby.impl.jdbc.EmbedParameterSetMetaData pmeta,
java.util.ArrayList paramExtPositions,
int paramLenNumBytes)
Read different types of input parameters and set them in PreparedStatement |
private void |
DRDAConnThread.readAndSetAllExtParams(DRDAStatement stmt)
|
private void |
DRDAConnThread.readAndSetExtParam(int i,
DRDAStatement stmt,
int drdaType,
int extLen)
Read different types of input parameters and set them in PreparedStatement |
private void |
DRDAConnThread.writeSQLDARD(DRDAStatement stmt,
boolean rtnOutput,
java.sql.SQLException e)
Write SQLDARD SQLDARD : FDOCA EARLY ARRAY SQL Descriptor Area Row Description with SQL Communications Area FORMAT FOR SQLAM <= 6 SQLCARD; ROW LID 0x64; ELEMENT TAKEN 0(all); REP FACTOR 1 SQLNUMROW; ROW LID 0x68; ELEMENT TAKEN 0(all); REP FACTOR 1 SQLDAROW; ROW LID 0x60; ELEMENT TAKEN 0(all); REP FACTOR 0(all) FORMAT FOR SQLAM >= 7 SQLCARD; ROW LID 0x64; ELEMENT TAKEN 0(all); REP FACTOR 1 SQLDHROW; ROW LID 0xE0; ELEMENT TAKEN 0(all); REP FACTOR 1 SQLNUMROW; ROW LID 0x68; ELEMENT TAKEN 0(all); REP FACTOR 1 |
private void |
DRDAConnThread.writeQRYDSC(DRDAStatement stmt,
boolean FDODSConly)
Write QRYDSC - Query Answer Set Description |
private void |
DRDAConnThread.writeSQLDTAGRP(DRDAStatement stmt,
java.sql.ResultSetMetaData rsmeta,
org.apache.derby.impl.jdbc.EmbedParameterSetMetaData pmeta,
int colStart,
int colEnd,
boolean first)
Write SQLDTAGRP SQLDAGRP : Late FDOCA GROUP SQL Data Value Group Descriptor LENGTH - length of the SQLDTAGRP TRIPLET_TYPE - NGDA for first, CPT for following ID - SQLDTAGRP_LID for first, NULL_LID for following For each column DRDA TYPE LENGTH OVERRIDE For numeric/decimal types PRECISON SCALE otherwise LENGTH or DISPLAY_WIDTH |
private void |
DRDAConnThread.writeSQLDHROW(DRDAStatement stmt)
|
private void |
DRDAConnThread.writeQRYDTA(DRDAStatement stmt)
Write QRYDTA - Query Answer Set Data Contains some or all of the answer set data resulting from a query returns true if there is more data, false if we reached the end Instance Variables Byte string |
private boolean |
DRDAConnThread.writeFDODTA(DRDAStatement stmt)
|
private void |
DRDAConnThread.splitQRYDTA(DRDAStatement stmt,
int blksize)
Split QRYDTA into blksize chunks |
private void |
DRDAConnThread.doneData(DRDAStatement stmt,
java.sql.ResultSet rs)
Done data Send SQLCARD for the end of the data |
private boolean |
DRDAConnThread.positionCursor(DRDAStatement stmt,
java.sql.ResultSet rs)
Position cursor for insensitive scrollable cursors |
protected void |
DRDAConnThread.writeFdocaVal(int index,
java.lang.Object val,
int drdaType,
int precision,
int scale,
boolean valNull,
DRDAStatement stmt)
Write Fdoca Value to client |
(package private) void |
DRDAConnThread.writeEXTDTA(DRDAStatement stmt)
|
|
|||||||||
| Home >> All >> org >> apache >> derby >> impl >> [ drda overview ] | PREV NEXT | ||||||||