@Bindable(prefix="PassthroughClusteringAlgorithm", inherit=CommonAttributes.class) @Label(value="By Attribute Clustering") public class PassthroughClusteringAlgorithm extends ProcessingComponentBase implements IClusteringAlgorithm
IClusteringAlgorithm
. If no clusters are
provided from predecessor components, it produces an empty set of clusters. Otherwise
it just passes through the input cluster set.Modifier and Type | Field and Description |
---|---|
List<Cluster> |
clusters
Any clusters already provided by the predecessor components.
|
Constructor and Description |
---|
PassthroughClusteringAlgorithm() |
Modifier and Type | Method and Description |
---|---|
void |
process()
Performs by URL clustering.
|
afterProcessing, beforeProcessing, dispose, getContext, getSharedExecutor, init
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
afterProcessing, beforeProcessing, dispose, init
@Processing @Output @Input @Internal @Attribute(key="clusters", inherit=true) public List<Cluster> clusters
public void process() throws ProcessingException
process
in interface IProcessingComponent
process
in class ProcessingComponentBase
ProcessingException
- when processing failed. If thrown, the
IProcessingComponent.afterProcessing()
method will be called and the component will
be ready to accept further requests or to be disposed of. Finally, the
exception will be rethrown from the controller method that caused the
component to perform processing.