Examples of createDependency()


Examples of org.apache.derby.iapi.sql.compile.CompilerContext.createDependency()

      }
    }

    /* Statement is dependent on the TableDescriptor and ConglomerateDescriptor */
    cc.createDependency(td);
    cc.createDependency(cd);

    return this;
  }

  // inherit generate() method from DDLStatementNode
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.CompilerContext.createDependency()

    ConglomerateDescriptor[]  cds = td.getConglomerateDescriptors();
    CompilerContext cc = getCompilerContext();

     for (int index = 0; index < cds.length; index++)
    {
      cc.createDependency(cds[index]);
    }
  }
 
} // end of class InsertNode
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.CompilerContext.createDependency()

    /* Get the base conglomerate descriptor */
    ConglomerateDescriptor cd = td.getConglomerateDescriptor(conglomerateNumber);

    /* Statement is dependent on the TableDescriptor and ConglomerateDescriptor */
    cc.createDependency(td);
    cc.createDependency(cd);
  }

  /**
   * Return true if the node references SESSION schema tables (temporary or permanent)
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.CompilerContext.createDependency()

    /* Get the base conglomerate descriptor */
    ConglomerateDescriptor cd = td.getConglomerateDescriptor(conglomerateNumber);

    /* Statement is dependent on the TableDescriptor and ConglomerateDescriptor */
    cc.createDependency(td);
    cc.createDependency(cd);
  }

  /**
   * Return true if the node references SESSION schema tables (temporary or permanent)
   *
 
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.CompilerContext.createDependency()

 
      try
      {
   
        /* This represents a view - query is dependent on the ViewDescriptor */
        compilerContext.createDependency(vd);
 
        if (SanityManager.DEBUG)
        {
          SanityManager.ASSERT(vd != null,
            "vd not expected to be null for " + tableName);
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.CompilerContext.createDependency()

      }
    }
    else
    {
      /* This represents a table - query is dependent on the TableDescriptor */
      compilerContext.createDependency(tableDescriptor);

      /* Get the base conglomerate descriptor */
      baseConglomerateDescriptor =
        tableDescriptor.getConglomerateDescriptor(
          tableDescriptor.getHeapConglomerateId()
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.CompilerContext.createDependency()

            compilerContext.createDependency(fkcd.getTableDescriptor());
          }
          else
          {
            compilerContext.createDependency(dependent, fkcd);
            compilerContext.createDependency(dependent, fkcd.getTableDescriptor());
          }
        }
      }
      else if (cd instanceof ForeignKeyConstraintDescriptor)
      {
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.CompilerContext.createDependency()

      else if (cd instanceof ForeignKeyConstraintDescriptor)
      {
        ForeignKeyConstraintDescriptor fkcd = (ForeignKeyConstraintDescriptor) cd;
        if (dependent == null)
        {
          compilerContext.createDependency(fkcd.getReferencedConstraint().getTableDescriptor());
        }
        else
        {
          compilerContext.createDependency(dependent,
                  fkcd.getReferencedConstraint().getTableDescriptor());
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.CompilerContext.createDependency()

        {
          compilerContext.createDependency(fkcd.getReferencedConstraint().getTableDescriptor());
        }
        else
        {
          compilerContext.createDependency(dependent,
                  fkcd.getReferencedConstraint().getTableDescriptor());
        }
      }
    }
  }
View Full Code Here

Examples of org.apache.derby.iapi.sql.compile.CompilerContext.createDependency()

      ** the default dependent is the statement
      ** being compiled.
      */
      if (dependent == null)
      {
        compilerContext.createDependency(td);
      }
      else
      {
        compilerContext.createDependency(dependent, td);
      }
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.