|
||||||||||
| 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.io.ResultWriter
public class ResultWriter
This operator can be used at each point in an operator chain. It returns all
input it receives without any modification. Every input object which
implements the ResultObject interface (which
is the case for almost all objects generated by the core RapidMiner operators) will
write its results to the file specified by the parameter result_file.
If the definition of this parameter is ommited then the global result file parameter
with the same name of the ProcessRootOperator
(the root of the process) will be used. If this file is also not specified
the results are simply written to the console (standard out).
| Field Summary | |
|---|---|
static java.lang.String |
PARAMETER_RESULT_FILE
The parameter name for "Appends the descriptions of the input objects to this file. |
| Constructor Summary | |
|---|---|
ResultWriter(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
IOObject[] |
apply()
Use the ResultService to write the results of all input ResultObjects into the result file. |
java.lang.Class<?>[] |
getInputClasses()
Returns an empty array. |
java.lang.Class<?>[] |
getOutputClasses()
Returns an empty array. |
java.util.List<ParameterType> |
getParameterTypes()
Returns a list of ParameterTypes describing the parameters of this operator. |
void |
processStarts()
Called when the process starts. |
| 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_RESULT_FILE
| Constructor Detail |
|---|
public ResultWriter(OperatorDescription description)
| Method Detail |
|---|
public IOObject[] apply()
throws OperatorException
apply in class OperatorOperatorException
public void processStarts()
throws OperatorException
Operator
processStarts in class OperatorOperatorExceptionpublic java.lang.Class<?>[] getInputClasses()
getInputClasses in class Operatorpublic java.lang.Class<?>[] getOutputClasses()
getOutputClasses in class Operatorpublic 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 | |||||||||