Class QueryResultChangeDelta


  • public class QueryResultChangeDelta
    extends java.lang.Object
    This delta class stores differences for a single query specification instance.
    Since:
    2.0
    • Constructor Detail

      • QueryResultChangeDelta

        public QueryResultChangeDelta​(IQuerySpecification<?> specification)
    • Method Detail

      • getAppeared

        public java.util.Set<IPatternMatch> getAppeared()
        Returns the matches that are added to this delta
      • getUpdated

        public java.util.Set<IPatternMatch> getUpdated()
        Returns the matches that were updated in this delta
      • getDisappeared

        public java.util.Set<IPatternMatch> getDisappeared()
        Returns the matches that have disappeared in this delta
      • hasChanges

        public boolean hasChanges()
        Returns whether this delta contains changes of any kind
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object