|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.tools.AbstractObservable<Operator>
com.rapidminer.operator.Operator
com.rapidminer.operator.AbstractExampleSetProcessing
com.rapidminer.operator.preprocessing.AbstractDataProcessing
com.rapidminer.operator.preprocessing.filter.AbstractFilteredDataProcessing
com.rapidminer.operator.preprocessing.AbstractValueProcessing
com.rapidminer.operator.preprocessing.filter.AttributeValueTrim
public class AttributeValueTrim
This operator creates new attributes from nominal attributes where the new attributes contain the trimmed original values, i.e. leading and trailing spaces will be removed.
| Constructor Summary | |
|---|---|
AttributeValueTrim(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
ExampleSet |
applyOnFiltered(ExampleSet exampleSet)
Subclasses have to implement this method in order to operate only on the selected attributes. |
ExampleSetMetaData |
applyOnFilteredMetaData(ExampleSetMetaData emd)
This method has to be implemented in order to specify the changes of the meta data caused by the application of this operator. |
protected int[] |
getFilterValueTypes()
Defines the value types of the attributes which are processed or affected by this operator. |
ResourceConsumptionEstimator |
getResourceConsumptionEstimator()
Subclasses can override this method if they are able to estimate the consumed resources (CPU time and memory), based on their input. |
boolean |
writesIntoExistingData()
This method indicates whether the operator will perform a write operation on a cell in an existing column of the example set's ExampleTable. |
| Methods inherited from class com.rapidminer.operator.preprocessing.filter.AbstractFilteredDataProcessing |
|---|
apply, getParameterTypes, modifyMetaData |
| Methods inherited from class com.rapidminer.operator.AbstractExampleSetProcessing |
|---|
doWork, getExampleSetInputPort, getExampleSetOutputPort, getInputPort, getRequiredMetaData, shouldAutoConnect |
| Methods inherited from class com.rapidminer.tools.AbstractObservable |
|---|
addObserver, addObserverAsFirst, fireUpdate, removeObserver |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AttributeValueTrim(OperatorDescription description)
| Method Detail |
|---|
public ExampleSet applyOnFiltered(ExampleSet exampleSet)
throws OperatorException
AbstractFilteredDataProcessing
applyOnFiltered in class AbstractFilteredDataProcessingOperatorExceptionpublic ExampleSetMetaData applyOnFilteredMetaData(ExampleSetMetaData emd)
AbstractFilteredDataProcessing
applyOnFilteredMetaData in class AbstractFilteredDataProcessingprotected int[] getFilterValueTypes()
AbstractFilteredDataProcessingAttributeSubsetSelector.
getFilterValueTypes in class AbstractFilteredDataProcessingpublic boolean writesIntoExistingData()
AbstractExampleSetProcessingExampleTable. If yes, the
original example will be completely copied in memory if the original port is used.
writesIntoExistingData in class AbstractExampleSetProcessingpublic ResourceConsumptionEstimator getResourceConsumptionEstimator()
Operator
getResourceConsumptionEstimator in interface ResourceConsumergetResourceConsumptionEstimator in class Operator
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||