/** * Calls accept on each of the attached constraints of the AND node. */ @Override public boolean visit(AndImpl node) { for (ConstraintImpl constraint : node.getConstraints()) { constraint.accept(this); } return true; }
/** * Calls accept on each of the attached constraints of the AND node. */ @Override public boolean visit(AndImpl node) { for (ConstraintImpl constraint : node.getConstraints()) { constraint.accept(this); } return true; }
/** * Calls accept on the constraint in the NOT node. */ @Override public boolean visit(NotImpl node) { return node.getConstraint().accept(this); }
/** * Calls accept on the constraint in the NOT node. */ @Override public boolean visit(NotImpl node) { return node.getConstraint().accept(this); }
/** * Calls accept on each of the attached constraints of the OR node. */ @Override public boolean visit(OrImpl node) { for (ConstraintImpl constraint : node.getConstraints()) { constraint.accept(this); } return true; }
/** * Calls accept on each of the attached constraints of the OR node. */ @Override public boolean visit(OrImpl node) { for (ConstraintImpl constraint : node.getConstraints()) { constraint.accept(this); } return true; }
/** * Calls accept on the constraint in the NOT node. */ @Override public boolean visit(NotImpl node) { return node.getConstraint().accept(this); }
/** * Calls accept on each of the attached constraints of the OR node. */ @Override public boolean visit(OrImpl node) { for (ConstraintImpl constraint : node.getConstraints()) { constraint.accept(this); } return true; }
/** * Calls accept on each of the attached constraints of the AND node. */ @Override public boolean visit(AndImpl node) { for (ConstraintImpl constraint : node.getConstraints()) { constraint.accept(this); } return true; }
/** * Calls accept on the following contained QOM nodes: * <ul> * <li>Source</li> * <li>Constraints</li> * <li>Orderings</li> * <li>Columns</li> * </ul> * * @param query the query to visit */ public void visit(QueryImpl query) { query.getSource().accept(this); ConstraintImpl constraint = query.getConstraint(); if (constraint != null) { constraint.accept(this); } OrderingImpl[] orderings = query.getOrderings(); if (orderings != null) { for (OrderingImpl ordering : orderings) { ordering.accept(this); } } ColumnImpl[] columns = query.getColumns(); for (ColumnImpl column : columns) { column.accept(this); } }
/** * Calls accept on the following contained QOM nodes: * <ul> * <li>Source</li> * <li>Constraints</li> * <li>Orderings</li> * <li>Columns</li> * </ul> * * @param query the query to visit */ public void visit(QueryImpl query) { query.getSource().accept(this); ConstraintImpl constraint = query.getConstraint(); if (constraint != null) { constraint.accept(this); } OrderingImpl[] orderings = query.getOrderings(); if (orderings != null) { for (OrderingImpl ordering : orderings) { ordering.accept(this); } } ColumnImpl[] columns = query.getColumns(); for (ColumnImpl column : columns) { column.accept(this); } }
/** * Calls accept on the following contained QOM nodes: * <ul> * <li>Source</li> * <li>Constraints</li> * <li>Orderings</li> * <li>Columns</li> * </ul> * * @param query the query to visit */ public void visit(QueryImpl query) { query.getSource().accept(this); ConstraintImpl constraint = query.getConstraint(); if (constraint != null) { constraint.accept(this); } OrderingImpl[] orderings = query.getOrderings(); if (orderings != null) { for (OrderingImpl ordering : orderings) { ordering.accept(this); } } ColumnImpl[] columns = query.getColumns(); for (ColumnImpl column : columns) { column.accept(this); } }