Examples of originTableName()


Examples of org.voltdb.planner.PlanColumn.originTableName()

    {
        boolean found = false;
        PlanColumn retval = null;
        for (Integer colguid : m_outputColumns) {
            PlanColumn plancol = m_context.get(colguid);
            if ((plancol.originTableName().equals(tableName)) &&
                ((plancol.originColumnName().equals(columnName)) ||
                 (plancol.originColumnName().equals(columnAlias))))
            {
                found = true;
                retval = plancol;
View Full Code Here

Examples of org.voltdb.planner.PlanColumn.originTableName()

            int column_guid = node.getOutputColumnGUIDs().get(ctr);
            PlanColumn column = PlannerContext.singleton().get(column_guid);
            assert (column != null);

            final String column_name = column.getDisplayName();
            String table_name = column.originTableName();

            // If there is no table name, then check whether this is a scan
            // node.
            // If it is, then we can try to get the table name from the node's
            // target
View Full Code Here

Examples of org.voltdb.planner.PlanColumn.originTableName()

            PlanColumn column = PlannerContext.singleton().get(column_guid);
            assertNotNull("Missing PlanColumn [guid=" + column_guid + "]", column);
            assertEquals(column_guid, column.guid());

            // Check that only columns from the scanned table are there
            String table_name = column.originTableName();
            assertNotNull(table_name);
            String column_name = column.originColumnName();
            assertNotNull(column_name);
            assertEquals(table_name + "." + column_name, catalog_tbl.getName(), table_name);
            assertNotNull(table_name + "." + column_name, catalog_tbl.getColumns().get(column_name));
View Full Code Here

Examples of org.voltdb.planner.PlanColumn.originTableName()

            final String exprTableName = expr.getTableName();
            final String columnName = expr.getColumnName();
            int ii = 0;
            for (Integer colGuid : outputColumns) {
                PlanColumn info = context.get(colGuid);
                if (info.originTableName().equals(exprTableName)) {
                    if (info.getDisplayName().equals(columnName)) {
                        expr.setColumnIndex(ii);
                        return;
                    }
                }
View Full Code Here

Examples of org.voltdb.planner.PlanColumn.originTableName()

            final String tableName = expr.getTableName();
            final String columnName = expr.getColumnName();
            int ii = 0;
            for (Integer colGuid : outputColumns) {
                PlanColumn info = context.get(colGuid);
                if (info.originTableName().equals(tableName)) {
                    if (info.getDisplayName().equals(columnName)) {
                        expr.setColumnIndex(ii);
                        return;
                    }
                }
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.