org.imemex.operators
Class AbstractMapperPullOperator<I,O>

java.lang.Object
  extended by org.imemex.operators.AbstractPullOperator<O>
      extended by org.imemex.operators.AbstractMapperPullOperator<I,O>
All Implemented Interfaces:
java.util.Iterator<O>, Operator, PullOperator<O>
Direct Known Subclasses:
AbstractIndexReplicaCrossCheckTestCase.Mapper, AdaptedMappingPullOperator, ContentMappingIdentifiableRVMapper, GroupMappingIdentifiableRVMapper, NameMappingIdentifiableRVMapper, PluginIdentifiableRVAdaptedOIDRVMapper, PluginIdentifiableRVIdentifiableRVPullMapper, RVMetadataToPluginIdentifiableRVMetadataMapper, TupleMappingIdentifiableRVMapper

public abstract class AbstractMapperPullOperator<I,O>
extends AbstractPullOperator<O>


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
AbstractMapperPullOperator(PullOperator<I> input)
          Instantiates a new AbstractMapperPullOperator.
 
Method Summary
 void close()
          Does nothing.
 java.util.List<PullOperator> getInputOperators()
          Get input operators of this operator.
 OperatorMetaData getMetaData()
          Returns the meta data of this operator.
 void open()
          Does nothing.
 
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

AbstractMapperPullOperator

public AbstractMapperPullOperator(PullOperator<I> input)
Instantiates a new AbstractMapperPullOperator.

Method Detail

open

public void open()
Description copied from class: AbstractPullOperator
Does nothing.

Specified by:
open in interface Operator
Overrides:
open in class AbstractPullOperator<O>

getMetaData

public OperatorMetaData getMetaData()
Description copied from class: AbstractPullOperator
Returns the meta data of this operator.

Specified by:
getMetaData in interface Operator
Overrides:
getMetaData in class AbstractPullOperator<O>
Returns:
meta data

getInputOperators

public java.util.List<PullOperator> getInputOperators()
Description copied from interface: PullOperator
Get input operators of this operator. This is mainly used to recursively generate an XML representation of an operator tree.

Specified by:
getInputOperators in interface PullOperator<O>
Overrides:
getInputOperators in class AbstractPullOperator<O>
Returns:
list of operators

close

public void close()
Description copied from class: AbstractPullOperator
Does nothing.

Specified by:
close in interface Operator
Overrides:
close in class AbstractPullOperator<O>