|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.modeshape.graph.query.model.Visitors.AbstractVisitor
org.modeshape.graph.query.validate.Validator
public class Validator
A Visitor
implementation that validates a query's used of a Schemata
and records any problems as errors.
Constructor Summary | |
---|---|
Validator(QueryContext context,
Map<SelectorName,Schemata.Table> selectorsByName)
|
Methods inherited from class org.modeshape.graph.query.model.Visitors.AbstractVisitor |
---|
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Validator(QueryContext context, Map<SelectorName,Schemata.Table> selectorsByName)
context
- the query contextselectorsByName
- the tables
by their name or alias, as defined by the selectorsMethod Detail |
---|
public void visit(AllNodes obj)
visit
in interface Visitor
visit
in class Visitors.AbstractVisitor
Visitors.AbstractVisitor.visit(org.modeshape.graph.query.model.AllNodes)
public void visit(ArithmeticOperand obj)
visit
in interface Visitor
visit
in class Visitors.AbstractVisitor
Visitors.AbstractVisitor.visit(org.modeshape.graph.query.model.ArithmeticOperand)
protected void verifyArithmeticOperand(DynamicOperand operand)
public void visit(ChildNode obj)
visit
in interface Visitor
visit
in class Visitors.AbstractVisitor
Visitors.AbstractVisitor.visit(org.modeshape.graph.query.model.ChildNode)
public void visit(ChildNodeJoinCondition obj)
visit
in interface Visitor
visit
in class Visitors.AbstractVisitor
Visitors.AbstractVisitor.visit(org.modeshape.graph.query.model.ChildNodeJoinCondition)
public void visit(Column obj)
visit
in interface Visitor
visit
in class Visitors.AbstractVisitor
Visitors.AbstractVisitor.visit(org.modeshape.graph.query.model.Column)
public void visit(DescendantNode obj)
visit
in interface Visitor
visit
in class Visitors.AbstractVisitor
Visitors.AbstractVisitor.visit(org.modeshape.graph.query.model.DescendantNode)
public void visit(DescendantNodeJoinCondition obj)
visit
in interface Visitor
visit
in class Visitors.AbstractVisitor
Visitors.AbstractVisitor.visit(org.modeshape.graph.query.model.DescendantNodeJoinCondition)
public void visit(EquiJoinCondition obj)
visit
in interface Visitor
visit
in class Visitors.AbstractVisitor
Visitors.AbstractVisitor.visit(org.modeshape.graph.query.model.EquiJoinCondition)
public void visit(FullTextSearch obj)
visit
in interface Visitor
visit
in class Visitors.AbstractVisitor
Visitors.AbstractVisitor.visit(org.modeshape.graph.query.model.FullTextSearch)
public void visit(FullTextSearchScore obj)
visit
in interface Visitor
visit
in class Visitors.AbstractVisitor
Visitors.AbstractVisitor.visit(org.modeshape.graph.query.model.FullTextSearchScore)
public void visit(Length obj)
visit
in interface Visitor
visit
in class Visitors.AbstractVisitor
Visitors.AbstractVisitor.visit(org.modeshape.graph.query.model.Length)
public void visit(LowerCase obj)
visit
in interface Visitor
visit
in class Visitors.AbstractVisitor
Visitors.AbstractVisitor.visit(org.modeshape.graph.query.model.LowerCase)
public void visit(NamedSelector obj)
visit
in interface Visitor
visit
in class Visitors.AbstractVisitor
Visitors.AbstractVisitor.visit(org.modeshape.graph.query.model.NamedSelector)
public void visit(NodeDepth obj)
visit
in interface Visitor
visit
in class Visitors.AbstractVisitor
Visitors.AbstractVisitor.visit(org.modeshape.graph.query.model.NodeDepth)
public void visit(NodeLocalName obj)
visit
in interface Visitor
visit
in class Visitors.AbstractVisitor
Visitors.AbstractVisitor.visit(org.modeshape.graph.query.model.NodeLocalName)
public void visit(NodeName obj)
visit
in interface Visitor
visit
in class Visitors.AbstractVisitor
Visitors.AbstractVisitor.visit(org.modeshape.graph.query.model.NodeName)
public void visit(NodePath obj)
visit
in interface Visitor
visit
in class Visitors.AbstractVisitor
Visitors.AbstractVisitor.visit(org.modeshape.graph.query.model.NodePath)
public void visit(PropertyExistence obj)
visit
in interface Visitor
visit
in class Visitors.AbstractVisitor
Visitors.AbstractVisitor.visit(org.modeshape.graph.query.model.PropertyExistence)
public void visit(PropertyValue obj)
visit
in interface Visitor
visit
in class Visitors.AbstractVisitor
Visitors.AbstractVisitor.visit(org.modeshape.graph.query.model.PropertyValue)
public void visit(ReferenceValue obj)
visit
in interface Visitor
visit
in class Visitors.AbstractVisitor
Visitors.AbstractVisitor.visit(org.modeshape.graph.query.model.ReferenceValue)
public void visit(Query obj)
visit
in interface Visitor
visit
in class Visitors.AbstractVisitor
Visitors.AbstractVisitor.visit(org.modeshape.graph.query.model.Query)
public void visit(SameNode obj)
visit
in interface Visitor
visit
in class Visitors.AbstractVisitor
Visitors.AbstractVisitor.visit(org.modeshape.graph.query.model.SameNode)
public void visit(SameNodeJoinCondition obj)
visit
in interface Visitor
visit
in class Visitors.AbstractVisitor
Visitors.AbstractVisitor.visit(org.modeshape.graph.query.model.SameNodeJoinCondition)
protected Schemata.Table tableWithNameOrAlias(SelectorName tableName)
protected Schemata.Table verify(SelectorName selectorName)
protected Schemata.Table verifyTable(SelectorName tableName)
protected Schemata.Column verify(SelectorName selectorName, String propertyName, boolean columnIsRequired)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |