procedure.setSinglepartition(info.singlePartition());
procedure.setEverysite(everysite);
ProcedureCompiler.populateProcedureParameters(this, procClass, procedure);
// ProcInfo.partitionParam overrides everything else
if (info.partitionParam() != -1) {
if (info.partitionParam() >= procedure.getParameters().size() || info.partitionParam() < 0) {
String msg = "PartitionInfo 'partitionParam' not a valid parameter for procedure: " + procedure.getClassname();
throw new VoltCompilerException(msg);
}
procedure.setPartitionparameter(info.partitionParam());