|
SQLFire 1.0.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProcedureExecutionContext
A context object that can be passed into a PROCEDURE by declaring it as an argument in the static method implementation.
Method Summary | |
---|---|
String[] |
getColocatedTableNames()
Returns an array of colocated tables in this server in the format "schemaName.tableName". |
Connection |
getConnection()
A "nested" JDBC connection that can be used by the procedure to execute SQL. |
String |
getFilter()
Returns the whereClause for this execution, or null if there wasn't one |
OutgoingResultSet |
getOutgoingResultSet(int resultSetNumber)
Create and return an empty container for an output result set. |
String |
getProcedureName()
Return the name of this procedure. |
String |
getTableName()
Returns the table name in the format "schemaName.tableName" if this procedure was executed with an ON TABLE clause, or null otherwise. |
boolean |
isPartitioned(String tableName)
Returns true if the specified table is a partitioned table, false if it is a replicated table. |
boolean |
isPossibleDuplicate()
Return true if this is a re-attempt occurring after a member of the distributed system has failed. |
Method Detail |
---|
String getFilter()
String getTableName()
String[] getColocatedTableNames()
String getProcedureName()
Connection getConnection()
DriverManager.getConnection("jdbc:default:connection");
boolean isPossibleDuplicate()
boolean isPartitioned(String tableName)
tableName
- name of table as "schemaName.tableName",
or just "tableName" with default schema assumed.OutgoingResultSet getOutgoingResultSet(int resultSetNumber)
resultSetNumber
- the index to assign to this result set as one of the
result sets declared for this procedure.
|
SQLFire 1.0.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |