Open
Description
Update the FilterPattern
class hierarchy to:
FilterPattern
(abstract)BasicFilterPattern
orStatementPattern
(the current implementation)UnionFilterPattern
(union of 2 or more filter patterns)
Implementation of UnionFilterPattern:
- If no snak sets occur in the child patterns, then each child pattern becomes an entry in the
VALUES
clause of filter. - Otherwise, each child pattern becomes a separate call to
filter()
and these calls are merged by the union.