org.openrdf.sail.optimistic.helpers
Class BasicNodeJudge
java.lang.Object
org.openrdf.query.algebra.helpers.QueryModelVisitorBase<RuntimeException>
org.openrdf.sail.optimistic.helpers.BasicNodeJudge
- All Implemented Interfaces:
- QueryModelVisitor<RuntimeException>
public class BasicNodeJudge
- extends QueryModelVisitorBase<RuntimeException>
Identifies if a node contains any form of filtering.
- Author:
- James Leigh
| Methods inherited from class org.openrdf.query.algebra.helpers.QueryModelVisitorBase |
meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meetBinaryTupleOperator, meetCompareSubQueryValueOperator, meetOther, meetSubQueryValueOperator, meetUnaryTupleOperator |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicNodeJudge
public BasicNodeJudge(QueryModelNode root)
isBasic
public boolean isBasic()
meet
public void meet(Difference node)
throws RuntimeException
- Only basic if right side is constant.
- Specified by:
meet in interface QueryModelVisitor<RuntimeException>- Overrides:
meet in class QueryModelVisitorBase<RuntimeException>
- Throws:
RuntimeException
meet
public void meet(EmptySet node)
throws RuntimeException
- Specified by:
meet in interface QueryModelVisitor<RuntimeException>- Overrides:
meet in class QueryModelVisitorBase<RuntimeException>
- Throws:
RuntimeException
meet
public void meet(Filter node)
throws RuntimeException
- Only basic if there is no OPTIONAL join.
- Specified by:
meet in interface QueryModelVisitor<RuntimeException>- Overrides:
meet in class QueryModelVisitorBase<RuntimeException>
- Throws:
RuntimeException
meet
public void meet(Join node)
throws RuntimeException
- Specified by:
meet in interface QueryModelVisitor<RuntimeException>- Overrides:
meet in class QueryModelVisitorBase<RuntimeException>
- Throws:
RuntimeException
meet
public void meet(LeftJoin node)
throws RuntimeException
- Only basic if there is no condition.
- Specified by:
meet in interface QueryModelVisitor<RuntimeException>- Overrides:
meet in class QueryModelVisitorBase<RuntimeException>
- Throws:
RuntimeException
meet
public void meet(SingletonSet node)
throws RuntimeException
- Specified by:
meet in interface QueryModelVisitor<RuntimeException>- Overrides:
meet in class QueryModelVisitorBase<RuntimeException>
- Throws:
RuntimeException
meet
public void meet(StatementPattern node)
throws RuntimeException
- Specified by:
meet in interface QueryModelVisitor<RuntimeException>- Overrides:
meet in class QueryModelVisitorBase<RuntimeException>
- Throws:
RuntimeException
meet
public void meet(Union node)
throws RuntimeException
- Specified by:
meet in interface QueryModelVisitor<RuntimeException>- Overrides:
meet in class QueryModelVisitorBase<RuntimeException>
- Throws:
RuntimeException
meet
public void meet(ValueConstant node)
throws RuntimeException
- Specified by:
meet in interface QueryModelVisitor<RuntimeException>- Overrides:
meet in class QueryModelVisitorBase<RuntimeException>
- Throws:
RuntimeException
meet
public void meet(Var node)
throws RuntimeException
- Specified by:
meet in interface QueryModelVisitor<RuntimeException>- Overrides:
meet in class QueryModelVisitorBase<RuntimeException>
- Throws:
RuntimeException
meetBinaryValueOperator
protected void meetBinaryValueOperator(BinaryValueOperator node)
- Overrides:
meetBinaryValueOperator in class QueryModelVisitorBase<RuntimeException>
meetUnaryValueOperator
protected void meetUnaryValueOperator(UnaryValueOperator node)
- Overrides:
meetUnaryValueOperator in class QueryModelVisitorBase<RuntimeException>
meetNode
protected void meetNode(QueryModelNode node)
throws RuntimeException
- Overrides:
meetNode in class QueryModelVisitorBase<RuntimeException>
- Throws:
RuntimeException
Copyright © 2004-2009 James Leigh Services Inc.. All Rights Reserved.