Package org.voltdb.CatalogContext

Examples of org.voltdb.CatalogContext.ProcedurePartitionInfo


        if (isSystemProcedure()) {
            isEverySite = m_catProc.getEverysite();
        }
        m_isEverySite = isEverySite();
        if (m_isSinglePartition) {
            ProcedurePartitionInfo ppi = (ProcedurePartitionInfo)m_catProc.getAttachment();
            m_partitionColumn = ppi.index;
            m_partitionColumnType = ppi.type;
        } else {
            m_partitionColumn = 0;
            m_partitionColumnType = null;
View Full Code Here


            p.setDefaultproc(false);
            p.setHasjava(true);
            p.setPartitiontable(null);
            p.setPartitioncolumn(partitionCol);
            p.setPartitionparameter(partitionParam);
            p.setAttachment(new ProcedurePartitionInfo( partitionParamType, partitionParam ));
            return p;
        }
View Full Code Here

                }

                boolean isReadonly = catProc.getReadonly();

                try {
                    ProcedurePartitionInfo ppi = (ProcedurePartitionInfo)catProc.getAttachment();
                    int partition = getPartitionForProcedure(ppi.index,
                            ppi.type, response.getInvocation());
                    createTransaction(cihm.connection.connectionId(),
                            response.getInvocation(),
                            isReadonly,
View Full Code Here

            return new ClientResponseImpl(
                    ClientResponseImpl.UNEXPECTED_FAILURE,
                    new VoltTable[0], errorMessage, task.clientHandle);
        }

        final ProcedurePartitionInfo ppi = (ProcedurePartitionInfo)catProc.getAttachment();

        //Check permissions
        if ((error = m_permissionValidator.shouldAccept(task.procName, user, task, catProc)) != null) {
            return error;
        }
View Full Code Here

TOP

Related Classes of org.voltdb.CatalogContext.ProcedurePartitionInfo

Copyright © 2018 www.massapicom. 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.