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 QueryIteratorcreate(JoinKey joinKey, QueryIterator left, QueryIterator right, ExprList conditions, ExecutionContext execCxt) Create a hashjoin QueryIterator.static QueryIteratorcreate(QueryIterator left, QueryIterator right, ExprList conditions, ExecutionContext execCxt) Create a hashjoin QueryIterator.Methods inherited from class org.apache.jena.sparql.engine.iterator.QueryIter2
outputMethods inherited from class org.apache.jena.sparql.engine.iterator.QueryIter
close, flatMap, getExecContext, getIteratorNumber, makeTracked, map, materialize, materialize, outputMethods inherited from class org.apache.jena.sparql.engine.iterator.QueryIteratorBase
cancel, hasNext, next, nextBinding, removeMethods inherited from class org.apache.jena.sparql.util.PrintSerializableBase
toString, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemainingMethods inherited from interface org.apache.jena.sparql.util.PrintSerializable
toStringMethods 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
-