Package org.apache.derby.catalog.types

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


      time = triggerDescriptor.isBeforeTrigger() ? "B" : "A";
      type = triggerDescriptor.isRowTrigger() ? "R" : "S";
      enabled = triggerDescriptor.isEnabled() ? "E" : "D";
      tuuid = triggerDescriptor.getTableDescriptor().getUUID();
      int[] refCols = triggerDescriptor.getReferencedCols();
      rcd = (refCols != null) ? new
        ReferencedColumnsDescriptorImpl(refCols) : null;

      actionSPSID =  triggerDescriptor.getActionId();
      whenSPSID =  triggerDescriptor.getWhenClauseId();
      triggerDefinition = triggerDescriptor.getTriggerDefinition();
View Full Code Here


                td, constraintName,
                false, //deferable,
                false, //initiallyDeferred,
                constraintId,
                constraintText,
                new ReferencedColumnsDescriptorImpl(genColumnPositions(td, false)), //int[],
                sd,
                enabled
                );
        dd.addConstraintDescriptor(conDesc, tc);
        break;
View Full Code Here

            int[] refCols,
            SchemaDescriptor schemaDesc,
            boolean isEnabled
            )
  {
    ReferencedColumns referencedColumns = new ReferencedColumnsDescriptorImpl(refCols);
    return new CheckConstraintDescriptor(dataDictionary, table, constraintName,
        deferrable, initiallyDeferred,
        constraintId,
        constraintText, referencedColumns, schemaDesc, isEnabled);
  }
View Full Code Here

          for (j = 0; j < numRefCols; j++)
          {
            if (referencedColumns[j] > droppedColumnPosition)
              referencedColumns[j]--;
          }
          ((CheckConstraintDescriptor) cd).setReferencedColumnsDescriptor(new ReferencedColumnsDescriptorImpl(referencedColumns));
          dd.addConstraintDescriptor(cd, tc);
        }
        continue;
      }
View Full Code Here

          for (j = 0; j < numRefCols; j++)
          {
            if (referencedColumns[j] > droppedColumnPosition)
              referencedColumns[j]--;
          }
          ((CheckConstraintDescriptor) cd).setReferencedColumnsDescriptor(new ReferencedColumnsDescriptorImpl(referencedColumns));
          dd.addConstraintDescriptor(cd, tc);
        }
        continue;
      }
View Full Code Here

            int[] refCols,
            SchemaDescriptor schemaDesc,
            boolean isEnabled
            )
  {
    ReferencedColumns referencedColumns = new ReferencedColumnsDescriptorImpl(refCols);
    return new CheckConstraintDescriptor(dataDictionary, table, constraintName,
        deferrable, initiallyDeferred,
        constraintId,
        constraintText, referencedColumns, schemaDesc, isEnabled);
  }
View Full Code Here

          for (j = 0; j < numRefCols; j++)
          {
            if (referencedColumns[j] > droppedColumnPosition)
              referencedColumns[j]--;
          }
          ((CheckConstraintDescriptor) cd).setReferencedColumnsDescriptor(new ReferencedColumnsDescriptorImpl(referencedColumns));
          dd.addConstraintDescriptor(cd, tc);
        }
        continue;
      }
View Full Code Here



    // Map the result columns to the source columns
    int[] mapArray = resultColumns.mapSourceColumns();
    int mapArrayItem = acb.addItem(new ReferencedColumnsDescriptorImpl(mapArray));

    // Save the hash key columns

    FormatableIntHolder[] fihArray =
        FormatableIntHolder.getFormatableIntHolders(hashKeyColumns());
View Full Code Here

    }

    /* Create the ReferencedColumnsDescriptorImpl which tells which columns
     * come from the index.
     */
    int indexColMapItem = acb.addItem(new ReferencedColumnsDescriptorImpl(getIndexColMapping()));
    long heapConglomNumber = baseCD.getConglomerateNumber();
    StaticCompiledOpenConglomInfo scoci = getLanguageConnectionContext().
                        getTransactionCompile().
                          getStaticCompiledConglomInfo(heapConglomNumber);

View Full Code Here



    // Map the result columns to the source columns
    int[] mapArray = resultColumns.mapSourceColumns();
    int mapArrayItem = acb.addItem(new ReferencedColumnsDescriptorImpl(mapArray));

    /* Will this node do a projection? */
    boolean doesProjection = true;

    /* Does a projection unless same # of columns in same order
View Full Code Here

TOP

Related Classes of org.apache.derby.catalog.types.ReferencedColumnsDescriptorImpl

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.