@Override
 public void visit(JoinPredicate obj) {
   preVisitVisitor(obj);
   visitNode(obj.getLeftClause());
   visitNode(obj.getJoinType());
   visitNode(obj.getRightClause());
   visitNodes(obj.getJoinCriteria());
   postVisitVisitor(obj);
 }
Example #2
0
    @Override
    public JoinPredicate clone() {
        JoinPredicate clone = new JoinPredicate(this.parser, this.id);

        if(getLeftClause() != null)
            clone.setLeftClause(getLeftClause().clone());
        if(getRightClause() != null)
            clone.setRightClause(getRightClause().clone());
        if(getJoinType() != null)
            clone.setJoinType(getJoinType().clone());
        if(getJoinCriteria() != null)
            clone.setJoinCriteria(cloneList(getJoinCriteria()));
        clone.setOptional(isOptional());
        clone.setMakeInd(isMakeInd());
        clone.setNoUnnest(isNoUnnest());
        clone.setMakeDep(isMakeDep());
        clone.setMakeNotDep(isMakeNotDep());
        clone.setPreserve(isPreserve());

        return clone;
    }