Package org.apache.derby.iapi.sql.depend

Examples of org.apache.derby.iapi.sql.depend.Provider


          throws StandardException
  {
    Enumeration e = pl.elements();
    while (e.hasMoreElements())
    {
      Provider pro = (Provider) e.nextElement();
      if (pro instanceof TableDescriptor)
        ((TableDescriptor) pro).setReferencedColumnMap(null);
    }
  }
View Full Code Here


  {

    List list = getProviders(copy_From);
        Iterator depsIter = list.iterator();
        while (depsIter.hasNext()) {
            Provider provider = (Provider)depsIter.next();
      if (!persistentOnly || provider.isPersistent())
      {
        this.addDependency(copyTo, provider, cm, tc);
      }
    }
  }
View Full Code Here

       */
      for (ListIterator depsIterator = storedList.listIterator();
         depsIterator.hasNext(); )
      {
        Dependent       tempD;
        Provider        tempP;
        DependableFinder  finder = null;

        DependencyDescriptor depDesc = (DependencyDescriptor) depsIterator.next();

          finder = depDesc.getDependentFinder();
          tempD = (Dependent) finder.getDependable(dd, depDesc.getUUID() );

          if (providerForList != null)
          {
            // Use the provider being passed in.
            tempP = providerForList;
           
            // Sanity check the object identifiers match.
            if (SanityManager.DEBUG) {
              if (!tempP.getObjectID().equals(depDesc.getProviderID()))
              {
                SanityManager.THROWASSERT("mismatch providers");
              }
            }
          }
View Full Code Here

        /* Create stored dependencies for each provider to default */
        ProviderInfo[] providerInfo = ((DefaultInfoImpl) columnInfo[ix].defaultInfo).getProviderInfo();
        int providerInfoLength = (providerInfo == null) ? 0 : providerInfo.length;
        for (int provIndex = 0; provIndex < providerInfoLength; provIndex++)
        {
          Provider provider = null;

          /* We should always be able to find the Provider */
          try
          {
            provider = (Provider) providerInfo[provIndex].
View Full Code Here

    /* Create stored dependencies for each provider */
    if (providerInfo != null)
    {
      for (int ix = 0; ix < providerInfo.length; ix++)
      {
        Provider provider = null;
 
        /* We should always be able to find the Provider */
        try
        {
          provider = (Provider) providerInfo[ix].
View Full Code Here

      ProviderInfo[] providerInfo = ((DefaultInfoImpl) columnInfo[ix].defaultInfo).getProviderInfo();
      int providerInfoLength = (providerInfo == null) ? 0 : providerInfo.length;
      for (int provIndex = 0; provIndex < providerInfoLength;
         provIndex++)
      {
        Provider provider = null;
       
        /* We should always be able to find the Provider */
        try
        {
          provider = (Provider) providerInfo[provIndex].
View Full Code Here

      /* Create stored dependencies for each provider to default */
      ProviderInfo[] providerInfo = ((DefaultInfoImpl) columnInfo[ix].defaultInfo).getProviderInfo();
      int providerInfoLength = (providerInfo == null) ? 0 : providerInfo.length;
      for (int provIndex = 0; provIndex < providerInfoLength; provIndex++)
      {
        Provider provider = null;
       
        /* We should always be able to find the Provider */
        try
        {
          provider = (Provider) providerInfo[provIndex].
View Full Code Here

              lcc.popCompilerContext(newCC);

              boolean    interferent = false;
              for (int i = 0; i < providerInfos.length; i++)
              {
                Provider provider = null;
                try
                {
                  provider = (Provider) providerInfos[i].
                          getDependableFinder().
                          getDependable(
View Full Code Here

    if (list == null)
      return;

    for (ListIterator depsIterator = list.listIterator(); depsIterator.hasNext(); )
    {
      Provider provider = ((Dependency) depsIterator.next()).getProvider();
       
      if (!persistentOnly || provider.isPersistent())
      {
        this.addDependency(copyTo, provider, cm);
      }
    }
  }
View Full Code Here

       */
      for (ListIterator depsIterator = storedList.listIterator();
         depsIterator.hasNext(); )
      {
        Dependent       tempD;
        Provider        tempP;
        DependableFinder  finder = null;

        DependencyDescriptor depDesc = (DependencyDescriptor) depsIterator.next();

        try {
View Full Code Here

TOP

Related Classes of org.apache.derby.iapi.sql.depend.Provider

Copyright © 2018 www.massapicom. 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.