Java源码示例:org.eclipse.rdf4j.query.algebra.QueryModelVisitor
示例1
@Override
public <X extends Exception> void visitChildren(QueryModelVisitor<X> visitor)
throws X {
super.visitChildren(visitor);
for (StatementSource s : sort(statementSources)) {
s.visit(visitor);
}
if (boundFilters != null) {
BoundFiltersNode.visit(visitor, boundFilters);
}
if (upperLimit > 0) {
new UpperLimitNode(upperLimit).visit(visitor);
}
if (filterExpr != null) {
filterExpr.visit(visitor);
}
}
示例2
@Override
public <X extends Exception> void visitChildren(QueryModelVisitor<X> visitor)
throws X {
for (StatementTupleExpr s : members)
s.visit(visitor);
}
示例3
@Override
public <X extends Exception> void visitChildren(QueryModelVisitor<X> visitor) throws X {
super.visitChildren(visitor);
if (localVars.size() > 0) {
LocalVarsNode.visit(visitor, localVars);
}
visitSources(visitor);
if (filterExpr != null) {
filterExpr.visit(visitor);
}
}
示例4
@Override
public <X extends Exception> void visitChildren(QueryModelVisitor<X> visitor)
throws X {
for (ExclusiveStatement s : owned)
s.visit(visitor);
if (localVars.size()>0)
LocalVarsNode.visit(visitor, localVars);
}
示例5
@Override
public <X extends Exception> void visitChildren(QueryModelVisitor<X> visitor)
throws X {
super.visitChildren(visitor);
for (FilterExpr expr : expressions)
expr.getExpression().visit(visitor);
}
示例6
@Override
public <X extends Exception> void visitChildren(QueryModelVisitor<X> visitor)
throws X {
if (additionalBindings.size()>0)
AdditionalBindingsNode.visit(visitor, additionalBindings);
super.visitChildren(visitor);
}
示例7
@Override
public <X extends Exception> void visitChildren(QueryModelVisitor<X> visitor)
throws X {
for (ExclusiveTupleExpr s : owned) {
s.visit(visitor);
}
if (boundFilters != null) {
BoundFiltersNode.visit(visitor, boundFilters);
}
}
示例8
@Override
public <X extends Exception> void visitChildren(QueryModelVisitor<X> visitor)
throws X {
super.visitChildren(visitor);
for (FilterExpr expr : expressions) {
expr.getExpression().visit(visitor);
}
}
示例9
@Override
public <X extends Exception> void visitChildren(final QueryModelVisitor<X> visitor) throws X {
for (Expr arg : args) {
if (arg != null) {
arg.visit(visitor);
}
}
}
示例10
/**
* Apply a visitor to both the statement and any conditions.
*/
@Override
public <X extends Exception> void visit(final QueryModelVisitor<X> visitor) throws X {
if (statement != null) {
statement.visit(visitor);
}
if (condition != null) {
condition.visit(visitor);
}
}
示例11
public <X extends Exception> void visit(QueryModelVisitor<X> visitor) throws X {
visitor.meetOther(this);
}
示例12
@Override
public <X extends Exception> void visit(QueryModelVisitor<X> visitor) throws X {
visitor.meetOther(this);
}
示例13
public static <X extends Exception> void visit(QueryModelVisitor<X> visitor, List<Binding> additionalValues) throws X {
new AdditionalBindingsNode(additionalValues).visit(visitor);
}
示例14
@Override
public <X extends Exception> void visit(QueryModelVisitor<X> visitor)
throws X {
visitor.meetOther(this);
}
示例15
@Override
public <X extends Exception> void visit(QueryModelVisitor<X> visitor) throws X {
stmt.visit(visitor);
}
示例16
@Override
public <X extends Exception> void visitChildren(QueryModelVisitor<X> visitor)
throws X {
stmt.visitChildren(visitor);
}
示例17
@Override
public <X extends Exception> void visitChildren(QueryModelVisitor<X> visitor) throws X {
for (TupleExpr expr : args)
expr.visit(visitor);
}
示例18
@Override
public <X extends Exception> void visit(QueryModelVisitor<X> visitor) throws X {
visitor.meetOther(this);
}
示例19
@Override
public <X extends Exception> void visit(QueryModelVisitor<X> visitor)
throws X {
visitor.meetOther(this);
}
示例20
@Override
public <X extends Exception> void visit(QueryModelVisitor<X> visitor)
throws X {
visitor.meetOther(this);
}
示例21
@Override
public <X extends Exception> void visitChildren(QueryModelVisitor<X> visitor) throws X {
expr.visit(visitor);
}
示例22
protected <X extends Exception> void visitSources(QueryModelVisitor<X> visitor) throws X {
for (StatementSource s : sort(getStatementSources())) {
s.visit(visitor);
}
}
示例23
@Override
public <X extends Exception> void visit(QueryModelVisitor<X> visitor) throws X {
visitor.meetOther(this);
}
示例24
@Override
public <X extends Exception> void visit(QueryModelVisitor<X> visitor)
throws X {
visitor.meetOther(this);
}
示例25
@Override
public <X extends Exception> void visit(QueryModelVisitor<X> visitor)
throws X {
visitor.meetOther(this);
}
示例26
@Override
public <X extends Exception> void visitChildren(QueryModelVisitor<X> visitor)
throws X {
super.visitChildren(visitor);
expr.visit(visitor);
}
示例27
@Override
public <X extends Exception> void visit(QueryModelVisitor<X> visitor)
throws X {
visitor.meetOther(this);
}
示例28
@Override
public <X extends Exception> void visit(QueryModelVisitor<X> visitor) throws X {
visitor.meetOther(this);
}
示例29
public static <X extends Exception> void visit(QueryModelVisitor<X> visitor, List<String> localVars) throws X {
new LocalVarsNode(localVars).visit(visitor);
}
示例30
@Override
public <X extends Exception> void visit(QueryModelVisitor<X> visitor)
throws X
{
visitor.meetOther(this);
}