Examples of partitionParam()


Examples of org.voltdb.ProcInfo.partitionParam()

        if (info == null) {
            info = new ProcInfoData();
            ProcInfo annotationInfo = procClass.getAnnotation(ProcInfo.class);
            if (annotationInfo != null) {
                info.partitionInfo = annotationInfo.partitionInfo();
                info.partitionParam = annotationInfo.partitionParam();
                info.singlePartition = annotationInfo.singlePartition();
                info.mapInputQuery = annotationInfo.mapInputQuery();
                // info.mapEmitTable = annotationInfo.mapEmitTable();
                info.reduceInputQuery = annotationInfo.reduceInputQuery();
                // info.reduceEmitTable = annotationInfo.reduceEmitTable();
View Full Code Here

Examples of org.voltdb.ProcInfo.partitionParam()

            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());
View Full Code Here

Examples of org.voltdb.ProcInfo.partitionParam()

            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());
            }
View Full Code Here

Examples of org.voltdb.ProcInfo.partitionParam()

            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());
            }
View Full Code Here

Examples of org.voltdb.ProcInfo.partitionParam()

            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());
            }
            else {
                procedure.setPartitionparameter(NullProcParameter.PARAM_IDX);
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.