Examples of SynonymAliasInfo


Examples of com.akiban.sql.types.SynonymAliasInfo

            String targetSchema = null;
            implicitCreateSchema = true;
            TableName t = (TableName)targetObject;
            if (t.getSchemaName() != null)
                targetSchema = t.getSchemaName();
            aliasInfo = new SynonymAliasInfo(targetSchema, t.getTableName());
            break;

        default:
            assert false : "Unexpected value for aliasType " + aliasType;
        }
View Full Code Here

Examples of com.foundationdb.sql.types.SynonymAliasInfo

            String targetSchema = null;
            implicitCreateSchema = true;
            TableName t = (TableName)targetObject;
            if (t.getSchemaName() != null)
                targetSchema = t.getSchemaName();
            aliasInfo = new SynonymAliasInfo(targetSchema, t.getTableName());
            break;

        default:
            assert false : "Unexpected value for aliasType " + aliasType;
        }
View Full Code Here

Examples of org.apache.derby.catalog.types.SynonymAliasInfo

      /* Query is dependent on the AliasDescriptor */
      cc.createDependency(nextAD);

      found = true;
      SynonymAliasInfo info = ((SynonymAliasInfo)nextAD.getAliasInfo());
      nextSynonymTable = info.getSynonymTable();
      nextSynonymSchema = info.getSynonymSchema();
    }

    if (!found)
      return null;

View Full Code Here

Examples of org.apache.derby.catalog.types.SynonymAliasInfo

        implicitCreateSchema = true;
        TableName t = (TableName) targetObject;
        if (t.getSchemaName() != null)
          targetSchema = t.getSchemaName();
        else targetSchema = getSchemaDescriptor().getSchemaName();
        aliasInfo = new SynonymAliasInfo(targetSchema, t.getTableName());
        break;

      default:
        if (SanityManager.DEBUG)
        {
View Full Code Here

Examples of org.apache.derby.catalog.types.SynonymAliasInfo

        AliasDescriptor nextAD = dd.getAliasDescriptor(nextSD.getUUID().toString(),
             nextSynTable, nameSpace);
        if (nextAD == null)
          break;

        SynonymAliasInfo info = (SynonymAliasInfo) nextAD.getAliasInfo();
        nextSynTable = info.getSynonymTable();
        nextSynSchema = info.getSynonymSchema();

        if (aliasName.equals(nextSynTable) && schemaName.equals(nextSynSchema))
          throw StandardException.newException(SQLState.LANG_SYNONYM_CIRCULAR,
              aliasName, ((SynonymAliasInfo)aliasInfo).getSynonymTable());
      }
View Full Code Here

Examples of org.apache.derby.catalog.types.SynonymAliasInfo

      /* Query is dependent on the AliasDescriptor */
      cc.createDependency(nextAD);

      found = true;
      SynonymAliasInfo info = ((SynonymAliasInfo)nextAD.getAliasInfo());
      nextSynonymTable = info.getSynonymTable();
      nextSynonymSchema = info.getSynonymSchema();
    }

    if (!found)
      return null;

View Full Code Here

Examples of org.apache.derby.catalog.types.SynonymAliasInfo

      /* Query is dependent on the AliasDescriptor */
      cc.createDependency(nextAD);

      found = true;
      SynonymAliasInfo info = ((SynonymAliasInfo)nextAD.getAliasInfo());
      nextSynonymTable = info.getSynonymTable();
      nextSynonymSchema = info.getSynonymSchema();
    }

    if (!found)
      return null;

View Full Code Here

Examples of org.apache.derby.catalog.types.SynonymAliasInfo

        implicitCreateSchema = true;
        TableName t = (TableName) targetObject;
        if (t.getSchemaName() != null)
          targetSchema = t.getSchemaName();
        else targetSchema = getSchemaDescriptor().getSchemaName();
        aliasInfo = new SynonymAliasInfo(targetSchema, t.getTableName());
        break;

      default:
        if (SanityManager.DEBUG)
        {
View Full Code Here

Examples of org.apache.derby.catalog.types.SynonymAliasInfo

        implicitCreateSchema = true;
        TableName t = (TableName) targetObject;
        if (t.getSchemaName() != null)
          targetSchema = t.getSchemaName();
        else targetSchema = getSchemaDescriptor().getSchemaName();
        aliasInfo = new SynonymAliasInfo(targetSchema, t.getTableName());
        break;

      default:
        if (SanityManager.DEBUG)
        {
View Full Code Here

Examples of org.apache.derby.catalog.types.SynonymAliasInfo

      /* Query is dependent on the AliasDescriptor */
      cc.createDependency(nextAD);

      found = true;
      SynonymAliasInfo info = ((SynonymAliasInfo)nextAD.getAliasInfo());
      nextSynonymTable = info.getSynonymTable();
      nextSynonymSchema = info.getSynonymSchema();
    }

    if (!found)
      return null;

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.