コード例 #1
0
    @Override
    public void meet(Union union) {
      Filter clone = new Filter();
      clone.setCondition(filter.getCondition().clone());

      relocate(filter, union.getLeftArg());
      relocate(clone, union.getRightArg());

      FilterRelocator.relocate(filter);
      FilterRelocator.relocate(clone);
    }
コード例 #2
0
 public long getCardinality(Union union, BindingSet bindings) {
   return getCardinality(union.getLeftArg(), bindings)
       + getCardinality(union.getRightArg(), bindings);
 }