Interface DifferenceBetweenTables

  • All Superinterfaces:
    Difference

    public interface DifferenceBetweenTables
    extends Difference
    Represents the difference between two tables. In a table, records are identified by their primary keys.
    • Method Detail

      • getPathOnLeft

        Path getPathOnLeft()
        Returns the path of the table on the left side.
      • getRight

        AdaptationTable getRight()
        Returns the table on the right side.
      • getPathOnRight

        Path getPathOnRight()
        Returns the path of the table on the right side.
      • getExtraOccurrencesOnLeft

        List<ExtraOccurrenceOnLeft> getExtraOccurrencesOnLeft()
        Returns the extra records on the left side. These are the records that exist in the table on the left but not in the table on the right.
        Returns:
        a List of ExtraOccurrenceOnLeft.
      • getExtraOccurrencesOnLeft

        void getExtraOccurrencesOnLeft​(List<? super ExtraOccurrenceOnLeft> aCollection)
        Adds the extra records on the left side to the specified collection.

        This is equivalent to:

         aCollection.addAll(this.getExtraOccurrencesOnLeft());
         
      • getExtraOccurrencesOnLeftSize

        int getExtraOccurrencesOnLeftSize()
        Returns the total number of extra records on the left side.
      • getExtraOccurrencesOnRight

        List<ExtraOccurrenceOnRight> getExtraOccurrencesOnRight()
        Returns the extra records on the right. These are the records that exist in the table on the right side but not in the table on the left side.
        Returns:
        a List of ExtraOccurrenceOnRight.
      • getExtraOccurrencesOnRight

        void getExtraOccurrencesOnRight​(List<? super ExtraOccurrenceOnRight> aCollection)
        Adds the extra records on the right side to the specified collection.

        This is equivalent to:

         aCollection.addAll(this.getExtraOccurrencesOnRight());
         
      • getExtraOccurrencesOnRightSize

        int getExtraOccurrencesOnRightSize()
        Returns the total number of extra records on the right side.
      • getDeltaOccurrences

        void getDeltaOccurrences​(List<? super DifferenceBetweenOccurrences> aCollection)
        Adds the delta records to the specified collection.

        This is equivalent to:

         aCollection.addAll(this.getDeltaOccurrences());
         
      • getDeltaOccurrencesSize

        int getDeltaOccurrencesSize()
        Returns the total number of delta records.