public interface ProcedureProcessorContext
ProcedureResultProcessor in its
init method.| Modifier and Type | Method and Description |
|---|---|
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 processor to execute SQL.
|
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.
|
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.
|
IncomingResultSet[] getIncomingResultSets(int resultSetNumber)
resultSetNumber - the index of the result set corresponding to the
result sets declared for this procedure.IncomingResultSet[] getIncomingOutParameters()
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.Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.