org.imemex.componentmappings.tuple.vertical
Class AdaptedMappingPullOperator<T>

java.lang.Object
  extended by org.imemex.operators.AbstractPullOperator<O>
      extended by org.imemex.operators.AbstractMapperPullOperator<Mapping<T>,AdaptedMapping<T>>
          extended by org.imemex.componentmappings.tuple.vertical.AdaptedMappingPullOperator<T>
All Implemented Interfaces:
java.util.Iterator<AdaptedMapping<T>>, Operator, PullOperator<AdaptedMapping<T>>

public class AdaptedMappingPullOperator<T>
extends AbstractMapperPullOperator<Mapping<T>,AdaptedMapping<T>>

Maps a pull operator of mapping instances to a pull operator of adapted mappings. This is useful to change the semantics of the equals method from the mapping class for specific following operators (like union).

Author:
marcos

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.imemex.operators.Operator
Operator.ExecTimeType
 
Field Summary
 
Fields inherited from class org.imemex.operators.AbstractPullOperator
measureNext
 
Constructor Summary
AdaptedMappingPullOperator(PullOperator<Mapping<T>> input)
          Instantiates a new AdaptedMappingPullOperator.
 
Method Summary
 
Methods inherited from class org.imemex.operators.AbstractMapperPullOperator
close, getInputOperators, getMetaData, open
 
Methods inherited from class org.imemex.operators.AbstractPullOperator
addExecTime, getDesc, getExecTime, getNumberOfElementsPassed, hasNext, next, peek, remove, setDesc, toObjectPullOperator, toString, toXML
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AdaptedMappingPullOperator

public AdaptedMappingPullOperator(PullOperator<Mapping<T>> input)
Instantiates a new AdaptedMappingPullOperator.

Parameters:
input - - the pull operator of mappings to be adapted.