Examples of JoinToUnknownTableException


Examples of com.foundationdb.server.error.JoinToUnknownTableException

        if (sourceTable.getParentJoin() != null) {
            String parentSchemaName = sourceTable.getParentJoin().getParent().getName().getSchemaName();
            String parentTableName = sourceTable.getParentJoin().getParent().getName().getTableName();
            Table parentTable = targetAIS.getTable(parentSchemaName, parentTableName);
            if (parentTable == null) {
                throw new JoinToUnknownTableException (sourceTable.getName(), new TableName(parentSchemaName, parentTableName));
            }
            targetGroup = parentTable.getGroup();
        } else {
            StorageDescription storage = null;
            if (sourceTable.getGroup() != null) {
View Full Code Here

Examples of com.foundationdb.server.error.JoinToUnknownTableException

                          Join join, Map<String,String> childCols, Table childTable) {
        String parentSchemaName = parentName.getSchemaName();
        String parentTableName = parentName.getTableName();
        Table parentTable = targetAIS.getTable(parentSchemaName, parentTableName);
        if (parentTable == null) {
            throw new JoinToUnknownTableException(childTable.getName(), new TableName(parentSchemaName, parentTableName));
         }
        LOG.debug(String.format("Table is child of table %s", parentTable.getName().toString()));

        String joinName = join.getConstraintName().getTableName();
        builder.joinTables(joinName,
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.