org.jrdf.sparql.analysis
Class WhereAnalyserImpl

java.lang.Object
  extended by org.jrdf.sparql.parser.analysis.AnalysisAdapter
      extended by org.jrdf.sparql.parser.analysis.DepthFirstAdapter
          extended by org.jrdf.sparql.analysis.WhereAnalyserImpl
All Implemented Interfaces:
WhereAnalyser, org.jrdf.sparql.parser.analysis.Analysis, org.jrdf.sparql.parser.node.Switch

public final class WhereAnalyserImpl
extends org.jrdf.sparql.parser.analysis.DepthFirstAdapter
implements WhereAnalyser

Default implementation of SparqlAnalyser.


Constructor Summary
WhereAnalyserImpl(TripleBuilder tripleBuilder, Graph graph, VariableCollector collector)
           
 
Method Summary
 void caseABlockOfTriples(org.jrdf.sparql.parser.node.ABlockOfTriples node)
           
 void caseAFilteredBasicGraphPatternGraphPattern(org.jrdf.sparql.parser.node.AFilteredBasicGraphPatternGraphPattern node)
           
 void caseAGroupOrUnionGraphPattern(org.jrdf.sparql.parser.node.AGroupOrUnionGraphPattern node)
           
 void caseAOperationPattern(org.jrdf.sparql.parser.node.AOperationPattern node)
           
 void caseAOptionalGraphPattern(org.jrdf.sparql.parser.node.AOptionalGraphPattern node)
           
 void caseATriple(org.jrdf.sparql.parser.node.ATriple node)
           
 Expression<ExpressionVisitor> getExpression()
           
 
Methods inherited from class org.jrdf.sparql.parser.analysis.DepthFirstAdapter
caseABlockOfTriplesFilteredBasicGraphPattern, caseADatatype, caseADbQuotedEscapedDbQuotedStrand, caseADbQuotedLiteralLiteral, caseADbQuotedUnescapedDbQuotedStrand, caseAGroupGraphPattern, caseAGroupOrUnionGraphPatternGraphPatternNotTriples, caseALiteralObjectTripleElement, caseAMoreTriples, caseAOptionalGraphPatternGraphPatternNotTriples, caseAPrefixdeclProlog, caseAPrefixPrefixdecl, caseAQnameObjectTripleElement, caseAQnameResourceTripleElement, caseAQueryStart, caseAQuotedEscapedQuotedStrand, caseAQuotedLiteralLiteral, caseAQuotedUnescapedQuotedStrand, caseAResourceObjectTripleElement, caseAResourceResourceTripleElement, caseAUnionGraphPattern, caseAVariable, caseAVariableListSelectClause, caseAVariableObjectTripleElement, caseAVariableResourceTripleElement, caseAWhereClause, caseAWildcardSelectClause, caseStart, defaultIn, defaultOut, inABlockOfTriples, inABlockOfTriplesFilteredBasicGraphPattern, inADatatype, inADbQuotedEscapedDbQuotedStrand, inADbQuotedLiteralLiteral, inADbQuotedUnescapedDbQuotedStrand, inAFilteredBasicGraphPatternGraphPattern, inAGroupGraphPattern, inAGroupOrUnionGraphPattern, inAGroupOrUnionGraphPatternGraphPatternNotTriples, inALiteralObjectTripleElement, inAMoreTriples, inAOperationPattern, inAOptionalGraphPattern, inAOptionalGraphPatternGraphPatternNotTriples, inAPrefixdeclProlog, inAPrefixPrefixdecl, inAQnameObjectTripleElement, inAQnameResourceTripleElement, inAQueryStart, inAQuotedEscapedQuotedStrand, inAQuotedLiteralLiteral, inAQuotedUnescapedQuotedStrand, inAResourceObjectTripleElement, inAResourceResourceTripleElement, inATriple, inAUnionGraphPattern, inAVariable, inAVariableListSelectClause, inAVariableObjectTripleElement, inAVariableResourceTripleElement, inAWhereClause, inAWildcardSelectClause, inStart, outABlockOfTriples, outABlockOfTriplesFilteredBasicGraphPattern, outADatatype, outADbQuotedEscapedDbQuotedStrand, outADbQuotedLiteralLiteral, outADbQuotedUnescapedDbQuotedStrand, outAFilteredBasicGraphPatternGraphPattern, outAGroupGraphPattern, outAGroupOrUnionGraphPattern, outAGroupOrUnionGraphPatternGraphPatternNotTriples, outALiteralObjectTripleElement, outAMoreTriples, outAOperationPattern, outAOptionalGraphPattern, outAOptionalGraphPatternGraphPatternNotTriples, outAPrefixdeclProlog, outAPrefixPrefixdecl, outAQnameObjectTripleElement, outAQnameResourceTripleElement, outAQueryStart, outAQuotedEscapedQuotedStrand, outAQuotedLiteralLiteral, outAQuotedUnescapedQuotedStrand, outAResourceObjectTripleElement, outAResourceResourceTripleElement, outATriple, outAUnionGraphPattern, outAVariable, outAVariableListSelectClause, outAVariableObjectTripleElement, outAVariableResourceTripleElement, outAWhereClause, outAWildcardSelectClause, outStart
 
Methods inherited from class org.jrdf.sparql.parser.analysis.AnalysisAdapter
caseEOF, caseTAsterisk, caseTBlank, caseTColon, caseTComment, caseTDatatypeprefix, caseTDbqescape, caseTDbqescapedtext, caseTDbqtext, caseTDbquote, caseTEndcomment, caseTEndurl, caseTFloat, caseTHash, caseTIdentifier, caseTLpar, caseTNumber, caseTOptional, caseTPeriod, caseTPrefix, caseTQescape, caseTQescapedtext, caseTQtext, caseTQuote, caseTResource, caseTRpar, caseTSelect, caseTTerminator, caseTUnion, caseTUrl, caseTVariableprefix, caseTWhere, defaultCase, getIn, getOut, setIn, setOut
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WhereAnalyserImpl

public WhereAnalyserImpl(TripleBuilder tripleBuilder,
                         Graph graph,
                         VariableCollector collector)
Method Detail

getExpression

public Expression<ExpressionVisitor> getExpression()
                                            throws org.jrdf.sparql.parser.parser.ParserException
Specified by:
getExpression in interface WhereAnalyser
Throws:
org.jrdf.sparql.parser.parser.ParserException

caseAFilteredBasicGraphPatternGraphPattern

public void caseAFilteredBasicGraphPatternGraphPattern(org.jrdf.sparql.parser.node.AFilteredBasicGraphPatternGraphPattern node)
Specified by:
caseAFilteredBasicGraphPatternGraphPattern in interface org.jrdf.sparql.parser.analysis.Analysis
Overrides:
caseAFilteredBasicGraphPatternGraphPattern in class org.jrdf.sparql.parser.analysis.DepthFirstAdapter

caseATriple

public void caseATriple(org.jrdf.sparql.parser.node.ATriple node)
Specified by:
caseATriple in interface org.jrdf.sparql.parser.analysis.Analysis
Overrides:
caseATriple in class org.jrdf.sparql.parser.analysis.DepthFirstAdapter

caseABlockOfTriples

public void caseABlockOfTriples(org.jrdf.sparql.parser.node.ABlockOfTriples node)
Specified by:
caseABlockOfTriples in interface org.jrdf.sparql.parser.analysis.Analysis
Overrides:
caseABlockOfTriples in class org.jrdf.sparql.parser.analysis.DepthFirstAdapter

caseAOperationPattern

public void caseAOperationPattern(org.jrdf.sparql.parser.node.AOperationPattern node)
Specified by:
caseAOperationPattern in interface org.jrdf.sparql.parser.analysis.Analysis
Overrides:
caseAOperationPattern in class org.jrdf.sparql.parser.analysis.DepthFirstAdapter

caseAGroupOrUnionGraphPattern

public void caseAGroupOrUnionGraphPattern(org.jrdf.sparql.parser.node.AGroupOrUnionGraphPattern node)
Specified by:
caseAGroupOrUnionGraphPattern in interface org.jrdf.sparql.parser.analysis.Analysis
Overrides:
caseAGroupOrUnionGraphPattern in class org.jrdf.sparql.parser.analysis.DepthFirstAdapter

caseAOptionalGraphPattern

public void caseAOptionalGraphPattern(org.jrdf.sparql.parser.node.AOptionalGraphPattern node)
Specified by:
caseAOptionalGraphPattern in interface org.jrdf.sparql.parser.analysis.Analysis
Overrides:
caseAOptionalGraphPattern in class org.jrdf.sparql.parser.analysis.DepthFirstAdapter