Examples of UnsupportedCreateSelectException


Examples of com.foundationdb.server.error.UnsupportedCreateSelectException

                    TableName tableName = schemaManager().createTableDefinition(session, table);
                    AkibanInformationSchema onlineAIS = schemaManager().getOnlineAIS(session);
                    int onlineTableID = onlineAIS.getTable(table.getName()).getTableId();
                    List<TableName> tableNames = getTableNames(session, server, queryExpression, table);
                    if(tableNames.size() > 1)
                        throw new UnsupportedCreateSelectException();
                    for( TableName name : tableNames){
                        ChangeSet fromChangeSet = buildChangeSet(onlineAIS.getTable(name), queryExpression,  onlineTableID);
                        schemaManager().addOnlineChangeSet(session, fromChangeSet);
                    }
                    ChangeSet toChangeSet = buildChangeSet(onlineAIS.getTable(tableName), queryExpression, onlineTableID);
View Full Code Here

Examples of com.foundationdb.server.error.UnsupportedCreateSelectException

        }

        @Override
        public boolean visit(PlanNode n) {
            if(isIllegalPlan(n)){
                throw new UnsupportedCreateSelectException();
            }
            if (n instanceof TableSource)
                results.tables.add((TableSource) n);
            else if (n instanceof Project) {
                results.projects.add((Project) n);
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.