Class SelectExtractionVisitor
- java.lang.Object
-
- fr.mines_stetienne.ci.sparql_generate.engine.SelectExtractionVisitor
-
- All Implemented Interfaces:
SPARQLExtQueryVisitor
,QueryVisitor
public class SelectExtractionVisitor extends Object implements SPARQLExtQueryVisitor
- Author:
- Maxime Lefrançois
-
-
Constructor Summary
Constructors Constructor Description SelectExtractionVisitor(SPARQLExtQuery input)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finishVisit(Query query)
SPARQLExtQuery
getOutput()
void
startVisit(Query query)
void
visitAskResultForm(Query query)
void
visitBindingClauses(SPARQLExtQuery query)
Visits all the binding clauses likeITERATOR
andSOURCE
.void
visitConstructResultForm(Query query)
void
visitDatasetDecl(Query q)
void
visitDescribeResultForm(Query query)
void
visitFunctionExpression(SPARQLExtQuery query)
Visits theFUNCTION
clause.void
visitGenerateClause(SPARQLExtQuery query)
Visits theGENERATE
clause.void
visitGroupBy(Query query)
void
visitHaving(Query query)
void
visitJsonResultForm(Query query)
void
visitLimit(Query query)
void
visitOffset(Query query)
void
visitOrderBy(Query query)
void
visitPerformClause(SPARQLExtQuery query)
Visits thePERFORM
clause.void
visitPostSelect(SPARQLExtQuery query)
Visits the select clause after the where.void
visitPragma(SPARQLExtQuery query)
Visits the pragma clause.void
visitPrologue(Prologue prologue)
void
visitQueryPattern(Query query)
void
visitResultForm(Query query)
void
visitSelectResultForm(Query q)
void
visitTemplateClause(SPARQLExtQuery query)
Visits theTEMPLATE
clause.void
visitValues(Query query)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface fr.mines_stetienne.ci.sparql_generate.query.SPARQLExtQueryVisitor
asSPARQLExtQuery
-
-
-
-
Constructor Detail
-
SelectExtractionVisitor
public SelectExtractionVisitor(SPARQLExtQuery input)
-
-
Method Detail
-
getOutput
public SPARQLExtQuery getOutput()
-
startVisit
public void startVisit(Query query)
- Specified by:
startVisit
in interfaceQueryVisitor
-
visitResultForm
public void visitResultForm(Query query)
- Specified by:
visitResultForm
in interfaceQueryVisitor
-
visitPrologue
public void visitPrologue(Prologue prologue)
- Specified by:
visitPrologue
in interfaceQueryVisitor
-
visitSelectResultForm
public void visitSelectResultForm(Query q)
- Specified by:
visitSelectResultForm
in interfaceQueryVisitor
-
visitConstructResultForm
public void visitConstructResultForm(Query query)
- Specified by:
visitConstructResultForm
in interfaceQueryVisitor
-
visitDescribeResultForm
public void visitDescribeResultForm(Query query)
- Specified by:
visitDescribeResultForm
in interfaceQueryVisitor
-
visitAskResultForm
public void visitAskResultForm(Query query)
- Specified by:
visitAskResultForm
in interfaceQueryVisitor
-
visitDatasetDecl
public void visitDatasetDecl(Query q)
- Specified by:
visitDatasetDecl
in interfaceQueryVisitor
-
visitQueryPattern
public void visitQueryPattern(Query query)
- Specified by:
visitQueryPattern
in interfaceQueryVisitor
-
visitBindingClauses
public void visitBindingClauses(SPARQLExtQuery query)
Description copied from interface:SPARQLExtQueryVisitor
Visits all the binding clauses likeITERATOR
andSOURCE
.- Specified by:
visitBindingClauses
in interfaceSPARQLExtQueryVisitor
- Parameters:
query
- the SPARQL-Ext query.
-
visitGroupBy
public void visitGroupBy(Query query)
- Specified by:
visitGroupBy
in interfaceQueryVisitor
-
visitHaving
public void visitHaving(Query query)
- Specified by:
visitHaving
in interfaceQueryVisitor
-
visitOrderBy
public void visitOrderBy(Query query)
- Specified by:
visitOrderBy
in interfaceQueryVisitor
-
visitOffset
public void visitOffset(Query query)
- Specified by:
visitOffset
in interfaceQueryVisitor
-
visitLimit
public void visitLimit(Query query)
- Specified by:
visitLimit
in interfaceQueryVisitor
-
visitPostSelect
public void visitPostSelect(SPARQLExtQuery query)
Description copied from interface:SPARQLExtQueryVisitor
Visits the select clause after the where.- Specified by:
visitPostSelect
in interfaceSPARQLExtQueryVisitor
- Parameters:
query
- the SPARQL-Ext query.
-
visitValues
public void visitValues(Query query)
- Specified by:
visitValues
in interfaceQueryVisitor
-
visitGenerateClause
public void visitGenerateClause(SPARQLExtQuery query)
Description copied from interface:SPARQLExtQueryVisitor
Visits theGENERATE
clause.- Specified by:
visitGenerateClause
in interfaceSPARQLExtQueryVisitor
- Parameters:
query
- the SPARQL-Ext query.
-
visitFunctionExpression
public void visitFunctionExpression(SPARQLExtQuery query)
Description copied from interface:SPARQLExtQueryVisitor
Visits theFUNCTION
clause.- Specified by:
visitFunctionExpression
in interfaceSPARQLExtQueryVisitor
- Parameters:
query
- the SPARQL-Ext query.
-
visitTemplateClause
public void visitTemplateClause(SPARQLExtQuery query)
Description copied from interface:SPARQLExtQueryVisitor
Visits theTEMPLATE
clause.- Specified by:
visitTemplateClause
in interfaceSPARQLExtQueryVisitor
- Parameters:
query
- the SPARQL-Ext query.
-
visitPerformClause
public void visitPerformClause(SPARQLExtQuery query)
Description copied from interface:SPARQLExtQueryVisitor
Visits thePERFORM
clause.- Specified by:
visitPerformClause
in interfaceSPARQLExtQueryVisitor
- Parameters:
query
- the SPARQL-Ext query.
-
finishVisit
public void finishVisit(Query query)
- Specified by:
finishVisit
in interfaceQueryVisitor
-
visitPragma
public void visitPragma(SPARQLExtQuery query)
Description copied from interface:SPARQLExtQueryVisitor
Visits the pragma clause.- Specified by:
visitPragma
in interfaceSPARQLExtQueryVisitor
- Parameters:
query
- the SPARQL-Ext query.
-
visitJsonResultForm
public void visitJsonResultForm(Query query)
- Specified by:
visitJsonResultForm
in interfaceQueryVisitor
-
-