Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.cst.functions.core.join
Class JoinHandler

java.lang.Object
  extended by eu.esdihumboldt.cst.functions.core.join.JoinHandler
All Implemented Interfaces:
JoinFunction, InstanceHandler<TransformationEngine>

public class JoinHandler
extends Object
implements InstanceHandler<TransformationEngine>, JoinFunction

Join based on equal properties.

Author:
Kai Schwierczek

Field Summary
 
Fields inherited from interface eu.esdihumboldt.hale.common.align.model.functions.JoinFunction
ID, PARAMETER_JOIN
 
Constructor Summary
JoinHandler()
           
 
Method Summary
 ResourceIterator<FamilyInstance> partitionInstances(InstanceCollection instances, String transformationIdentifier, TransformationEngine engine, com.google.common.collect.ListMultimap<String,String> transformationParameters, Map<String,String> executionParameters, TransformationLog log)
          Partition the given instances.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JoinHandler

public JoinHandler()
Method Detail

partitionInstances

public ResourceIterator<FamilyInstance> partitionInstances(InstanceCollection instances,
                                                           String transformationIdentifier,
                                                           TransformationEngine engine,
                                                           com.google.common.collect.ListMultimap<String,String> transformationParameters,
                                                           Map<String,String> executionParameters,
                                                           TransformationLog log)
                                                    throws TransformationException
Description copied from interface: InstanceHandler
Partition the given instances.

Specified by:
partitionInstances in interface InstanceHandler<TransformationEngine>
Parameters:
instances - the instances
transformationIdentifier - the transformation function identifier
engine - the transformation engine that may be used for the function execution
transformationParameters - the transformation parameters, may be null
executionParameters - additional parameters for the execution, may be null
log - the transformation log to report any information about the execution of the transformation to
Returns:
a resource iterator over partitioned instances instances
Throws:
TransformationException - if an unrecoverable error occurs during transformation
See Also:
InstanceHandler.partitionInstances(eu.esdihumboldt.hale.common.instance.model.InstanceCollection, java.lang.String, eu.esdihumboldt.hale.common.align.transformation.engine.TransformationEngine, com.google.common.collect.ListMultimap, java.util.Map, eu.esdihumboldt.hale.common.align.transformation.report.TransformationLog)

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d