org.firebirdsql.gds
Interface IscStmtHandle
- public interface IscStmtHandle
isc_stmt_handle
describes a handle to a database statement.
- Version:
- 1.0
- Author:
- Alejandro Alberola, David Jencks
Method Summary |
java.lang.String |
getExecutionPlan()
Get the execution plan from the statement. |
XSQLDA |
getInSqlda()
Get the input data structure that contains data that is put into
the statement. |
XSQLDA |
getOutSqlda()
Get the output data structure that contains data that is retrieved
from the statement. |
int |
getStatementType()
Get the statement type. |
boolean |
isAllRowsFetched()
Retrieve whether all rows have been fetched of the rows selected
by executing this statement. |
TYPE_UNKNOWN
public static final int TYPE_UNKNOWN
TYPE_SELECT
public static final int TYPE_SELECT
TYPE_INSERT
public static final int TYPE_INSERT
TYPE_UPDATE
public static final int TYPE_UPDATE
TYPE_DELETE
public static final int TYPE_DELETE
TYPE_DDL
public static final int TYPE_DDL
TYPE_GET_SEGMENT
public static final int TYPE_GET_SEGMENT
TYPE_PUT_SEGMENT
public static final int TYPE_PUT_SEGMENT
TYPE_EXEC_PROCEDURE
public static final int TYPE_EXEC_PROCEDURE
TYPE_START_TRANS
public static final int TYPE_START_TRANS
TYPE_COMMIT
public static final int TYPE_COMMIT
TYPE_ROLLBACK
public static final int TYPE_ROLLBACK
TYPE_SELECT_FOR_UPDATE
public static final int TYPE_SELECT_FOR_UPDATE
TYPE_SET_GENERATOR
public static final int TYPE_SET_GENERATOR
getInSqlda
public XSQLDA getInSqlda()
- Get the input data structure that contains data that is put into
the statement.
- Returns:
- The input data structure
getOutSqlda
public XSQLDA getOutSqlda()
- Get the output data structure that contains data that is retrieved
from the statement.
- Returns:
- The output data structure
isAllRowsFetched
public boolean isAllRowsFetched()
- Retrieve whether all rows have been fetched of the rows selected
by executing this statement.
- Returns:
true
if all rows have been fetched,
false
otherwise
getExecutionPlan
public java.lang.String getExecutionPlan()
- Get the execution plan from the statement.
- Returns:
- execution plan or
null
if the execution plan was
not fetched from the server.
getStatementType
public int getStatementType()
- Get the statement type.
- Returns:
- one of the constants defined in this interface or
TYPE_UNKNOWN
when no statement type was received from the server.
Copyright © 2001 David Jencks and other authors. All rights reserved.