Class ContainmentSet


  • public class ContainmentSet
    extends Object
    Define the set of containments for a CONTAINS clause

    Containment sets are associated with Set (boolean) operators and their relation with an enclosing set (inclusion). This structure define the set operations required at the query layer implementation. For example, in an SQL context, this will define set operation like: INTERSECT, UNION, EXCEPT.

    Created by christian on 4/12/2016.
    • Constructor Detail

      • ContainmentSet

        public ContainmentSet​(int serial,
                              Containment enclosing)
    • Method Detail

      • add

        public void add​(String operator)
      • size

        public int size()
      • isEmpty

        public boolean isEmpty()
      • setParentSet

        public void setParentSet​(ContainmentSet parentSet)
      • getContainmentList

        public org.apache.commons.collections4.set.ListOrderedSet<Object> getContainmentList()