Module org.apache.jena.arq
Class QueryIterHashLeftJoin_Left
java.lang.Object
org.apache.jena.sparql.util.PrintSerializableBase
org.apache.jena.sparql.engine.iterator.QueryIteratorBase
org.apache.jena.sparql.engine.iterator.QueryIter
org.apache.jena.sparql.engine.iterator.QueryIter2
org.apache.jena.sparql.engine.join.AbstractIterHashJoin
org.apache.jena.sparql.engine.join.QueryIterHashLeftJoin_Left
- All Implemented Interfaces:
Iterator<Binding>
,org.apache.jena.atlas.io.Printable
,org.apache.jena.atlas.iterator.IteratorCloseable<Binding>
,org.apache.jena.atlas.lib.Closeable
,QueryIterator
,PrintSerializable
Hash left join.
This code materializes the left hand side into a probe table then hash joins
from the right.
See
QueryIterHashLeftJoin_Right
for one that uses the right hand side
to make the probe table.-
Method Summary
Modifier and TypeMethodDescriptionstatic QueryIterator
create
(JoinKey joinKey, QueryIterator left, QueryIterator right, ExprList conditions, ExecutionContext execCxt) Create a hashjoin QueryIterator.static QueryIterator
create
(QueryIterator left, QueryIterator right, ExprList conditions, ExecutionContext execCxt) Create a hashjoin QueryIterator.Methods inherited from class org.apache.jena.sparql.engine.iterator.QueryIter2
output
Methods inherited from class org.apache.jena.sparql.engine.iterator.QueryIter
close, flatMap, getExecContext, getIteratorNumber, makeTracked, map, materialize, materialize, output
Methods inherited from class org.apache.jena.sparql.engine.iterator.QueryIteratorBase
cancel, hasNext, next, nextBinding, remove
Methods inherited from class org.apache.jena.sparql.util.PrintSerializableBase
toString, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
Methods inherited from interface org.apache.jena.sparql.util.PrintSerializable
toString
Methods inherited from interface org.apache.jena.sparql.engine.QueryIterator
isJoinIdentity
-
Method Details
-
create
public static QueryIterator create(JoinKey joinKey, QueryIterator left, QueryIterator right, ExprList conditions, ExecutionContext execCxt) Create a hashjoin QueryIterator.- Parameters:
joinKey
- Join key - if null, one is guessed by snooping the input QueryIteratorsleft
-right
-conditions
-execCxt
-- Returns:
- QueryIterator
-
create
public static QueryIterator create(QueryIterator left, QueryIterator right, ExprList conditions, ExecutionContext execCxt) Create a hashjoin QueryIterator.- Parameters:
left
-right
-execCxt
-- Returns:
- QueryIterator
-