code: public static SQLStmt createWithPlan(byte[] sqlText,
                                           long aggFragId,
                                           byte[] aggPlanHash,
                                           boolean isAggTransactional,
                                           long collectorFragId,
                                           byte[] collectorPlanHash,
                                           boolean isCollectorTransactional,
                                           boolean isReplicatedTableDML,
                                           boolean isReadOnly,
                                           VoltType[] params,
                                           SiteProcedureConnection site) {
          return SQLStmt.createWithPlan(sqlText,
                  aggFragId, aggPlanHash, isAggTransactional,
                  collectorFragId, collectorPlanHash, isCollectorTransactional,
                  isReplicatedTableDML, isReadOnly, params, site);
      }
docs: Factory method to construct a SQLStmt instance from a plan outside the catalog.
  
  @param sqlText Valid VoltDB compliant SQL
  @param aggFragId Site-local id of the aggregator fragment
  @param aggPlanHash 20 byte sha1 hash of the aggregator fragment plan
  @param isAggTransactional Does the aggregator fragment read/write tables?
  @param collectorFragId Site-local id of the collector fragment
  @param collectorPlanHash 20 byte sha1 hash of the collector fragment plan
  @param isCollectorTransactional Does the collector fragment read/write tables?
  @param isReplicatedTableDML Flag set to true if replicated DML
  @param isReadOnly Is SQL read only?
  @param params Description of parameters expected by the statement
  @param site SPC used for cleanup of plans
  @return SQLStmt object with plan added