Class QueryPatternNormalizer
- java.lang.Object
-
- fr.mines_stetienne.ci.sparql_generate.normalizer.xexpr.QueryPatternNormalizer
-
- All Implemented Interfaces:
ElementVisitor
public class QueryPatternNormalizer extends Object implements ElementVisitor
Class used to visit an element and normalize it (i.e., replace all expression nodes with the associated expression) . It appends the bindings before the element.- Author:
- Maxime Lefrançois
-
-
Constructor Summary
Constructors Constructor Description QueryPatternNormalizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Element
getResult()
The latest result of an element normalization.void
visit(ElementAssign el)
void
visit(ElementBind el)
void
visit(ElementData el)
void
visit(ElementDataset el)
void
visit(ElementExists el)
void
visit(ElementFilter el)
void
visit(ElementGroup el)
void
visit(ElementLateral el)
void
visit(ElementMinus el)
void
visit(ElementNamedGraph el)
void
visit(ElementNotExists el)
void
visit(ElementOptional el)
void
visit(ElementPathBlock el)
void
visit(ElementService el)
void
visit(ElementSubQuery el)
void
visit(ElementTriplesBlock el)
void
visit(ElementUnion el)
-
-
-
Method Detail
-
getResult
public Element getResult()
The latest result of an element normalization.
-
visit
public void visit(ElementGroup el)
- Specified by:
visit
in interfaceElementVisitor
-
visit
public void visit(ElementTriplesBlock el)
- Specified by:
visit
in interfaceElementVisitor
-
visit
public void visit(ElementPathBlock el)
- Specified by:
visit
in interfaceElementVisitor
-
visit
public void visit(ElementFilter el)
- Specified by:
visit
in interfaceElementVisitor
-
visit
public void visit(ElementAssign el)
- Specified by:
visit
in interfaceElementVisitor
-
visit
public void visit(ElementBind el)
- Specified by:
visit
in interfaceElementVisitor
-
visit
public void visit(ElementData el)
- Specified by:
visit
in interfaceElementVisitor
-
visit
public void visit(ElementUnion el)
- Specified by:
visit
in interfaceElementVisitor
-
visit
public void visit(ElementOptional el)
- Specified by:
visit
in interfaceElementVisitor
-
visit
public void visit(ElementLateral el)
- Specified by:
visit
in interfaceElementVisitor
-
visit
public void visit(ElementDataset el)
- Specified by:
visit
in interfaceElementVisitor
-
visit
public void visit(ElementNamedGraph el)
- Specified by:
visit
in interfaceElementVisitor
-
visit
public void visit(ElementExists el)
- Specified by:
visit
in interfaceElementVisitor
-
visit
public void visit(ElementNotExists el)
- Specified by:
visit
in interfaceElementVisitor
-
visit
public void visit(ElementMinus el)
- Specified by:
visit
in interfaceElementVisitor
-
visit
public void visit(ElementService el)
- Specified by:
visit
in interfaceElementVisitor
-
visit
public void visit(ElementSubQuery el)
- Specified by:
visit
in interfaceElementVisitor
-
-