public interface ProcedureProcessorContext
ProcedureResultProcessor in its
init method.| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getColocatedTableNames()
Returns an array of colocated tables in this
server in the format "schemaName.tableName".
|
java.sql.Connection |
getConnection()
A "nested" JDBC connection that can be used by
the processor to execute SQL.
|
java.lang.String |
getFilter()
Returns the whereClause for this execution,
or null if there wasn't one
|
IncomingResultSet[] |
getIncomingOutParameters()
Get the array of incoming result sets for the out parameters provided
by the executing procedures.
|
IncomingResultSet[] |
getIncomingResultSets(int resultSetNumber)
Get the array of incoming result sets for a given result set number, where
each array element is a result set provided by a procedure executing
on some server.
|
java.lang.String |
getProcedureName()
Return the name of this procedure.
|
java.lang.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(java.lang.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.
|
IncomingResultSet[] getIncomingResultSets(int resultSetNumber)
resultSetNumber - the index of the result set corresponding to the
result sets declared for this procedure.IncomingResultSet[] getIncomingOutParameters()
java.lang.String getFilter()
java.lang.String getTableName()
java.lang.String[] getColocatedTableNames()
java.lang.String getProcedureName()
java.sql.Connection getConnection()
DriverManager.getConnection("jdbc:default:connection");boolean isPossibleDuplicate()
boolean isPartitioned(java.lang.String tableName)
tableName - name of table as "schemaName.tableName",
or just "tableName" with default schema assumed.Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.