de.fuberlin.wiwiss.d2rq.rdql
Class D2RQPatternStage2
java.lang.Object
com.hp.hpl.jena.graph.query.Stage
de.fuberlin.wiwiss.d2rq.rdql.CombinedPatternStage
de.fuberlin.wiwiss.d2rq.rdql.D2RQPatternStage2
- public class D2RQPatternStage2
- extends CombinedPatternStage
Instances of this Stage
are created by D2RQQueryHandler
to handle
a set of query triples that by D2RQ-mapping refer to the same database.
Created by Joerg Garbers on 25.02.05.
- Since:
- V0.3
- Author:
- jg
- See Also:
CombinedPatternStage
,
PatternQueryCombiner
Fields inherited from class com.hp.hpl.jena.graph.query.Stage |
previous, stillOpen |
Constructor Summary |
D2RQPatternStage2(GraphD2RQ graph,
com.hp.hpl.jena.graph.query.Mapping map,
com.hp.hpl.jena.graph.query.ExpressionSet constraints,
com.hp.hpl.jena.graph.Triple[] triples)
|
Methods inherited from class com.hp.hpl.jena.graph.query.Stage |
close, connectFrom, initial, isClosed, markClosed |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
graph
private GraphD2RQ graph
expressionSet
private java.util.Collection expressionSet
D2RQPatternStage2
public D2RQPatternStage2(GraphD2RQ graph,
com.hp.hpl.jena.graph.query.Mapping map,
com.hp.hpl.jena.graph.query.ExpressionSet constraints,
com.hp.hpl.jena.graph.Triple[] triples)
hookPrepareExpression
protected void hookPrepareExpression(com.hp.hpl.jena.graph.query.Expression e,
boolean evaluable)
- Overrides:
hookPrepareExpression
in class CombinedPatternStage
resultIteratorForTriplePattern
protected com.hp.hpl.jena.util.iterator.ClosableIterator resultIteratorForTriplePattern(com.hp.hpl.jena.graph.Triple[] triples)
- Sets up
PatternQueryCombiner
and returns its resultTriplesIterator.
Passes stage information to the PatternQueryCombiner.
- Specified by:
resultIteratorForTriplePattern
in class CombinedPatternStage
- Parameters:
triples
-
- Returns:
- an iterator. Each result is a possible and full instanciation of
triples according to D2RQ.