org.jrdf.query.relation.operation.mem.common
Class RelationProcessorImpl

java.lang.Object
  extended by org.jrdf.query.relation.operation.mem.common.RelationProcessorImpl
All Implemented Interfaces:
Serializable, RelationProcessor

public final class RelationProcessorImpl
extends Object
implements RelationProcessor, Serializable

Common tuple processing code - gets headings and then processes tuples using the tuple engine.

See Also:
Serialized Form

Constructor Summary
RelationProcessorImpl(RelationFactory relationFactory, TupleComparator tupleComparator)
           
 
Method Summary
 Relation convertToConstants(Relation resultRelation)
           
 Relation processRelations(Set<Relation> relations, TupleEngine tupleEngine)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelationProcessorImpl

public RelationProcessorImpl(RelationFactory relationFactory,
                             TupleComparator tupleComparator)
Method Detail

processRelations

public Relation processRelations(Set<Relation> relations,
                                 TupleEngine tupleEngine)
Specified by:
processRelations in interface RelationProcessor

convertToConstants

public Relation convertToConstants(Relation resultRelation)
Specified by:
convertToConstants in interface RelationProcessor