|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.operator.Operator
com.rapidminer.operator.AbstractExampleSetProcessing
com.rapidminer.operator.preprocessing.AbstractDataProcessing
com.rapidminer.operator.preprocessing.filter.ChangeAttributeName
public class ChangeAttributeName
This operator can be used to rename an attribute of the input example set.
If you want to change the attribute type (e.g. from regular to id attribute or from label to regular etc.),
you should use the ChangeAttributeType operator.
| Field Summary | |
|---|---|
static java.lang.String |
PARAMETER_NEW_NAME
The parameter name for "The new name of the attribute. |
static java.lang.String |
PARAMETER_OLD_NAME
The parameter name for "The old name of the attribute. |
| Constructor Summary | |
|---|---|
ChangeAttributeName(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
ExampleSet |
apply(ExampleSet exampleSet)
Delegate for the apply method. |
java.util.List<ParameterType> |
getParameterTypes()
Returns a list of ParameterTypes describing the parameters of this operator. |
| Methods inherited from class com.rapidminer.operator.AbstractExampleSetProcessing |
|---|
apply, getInputClasses, getOutputClasses |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PARAMETER_OLD_NAME
public static final java.lang.String PARAMETER_NEW_NAME
| Constructor Detail |
|---|
public ChangeAttributeName(OperatorDescription description)
| Method Detail |
|---|
public ExampleSet apply(ExampleSet exampleSet)
throws OperatorException
AbstractExampleSetProcessing
apply in class AbstractExampleSetProcessingOperatorExceptionpublic java.util.List<ParameterType> getParameterTypes()
Operator
getParameterTypes in interface ParameterHandlergetParameterTypes in class Operator
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||