org.jrdf.query.relation.operation.mem.join.semi
Class SemiJoinEngine
java.lang.Object
org.jrdf.query.relation.operation.mem.join.semi.SemiJoinEngine
- All Implemented Interfaces:
- TupleEngine
public class SemiJoinEngine
- extends Object
- implements TupleEngine
Join two relations if they have common tuple values and projects the results back onto the first relation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SemiJoinEngine
public SemiJoinEngine(TupleFactory tupleFactory,
AttributeValuePairComparator avpComparator)
getHeading
public SortedSet<Attribute> getHeading(Relation relation1,
Relation relation2)
- Specified by:
getHeading
in interface TupleEngine
process
public void process(SortedSet<Attribute> headings,
SortedSet<AttributeValuePair> avps1,
SortedSet<AttributeValuePair> avps2,
SortedSet<Tuple> result)
- Specified by:
process
in interface TupleEngine