|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.yale.operator.Operator
edu.udo.cs.yale.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 Yale operators) will
write its results to the file specified by the parameter resultfile
of the ExperimentOperator.
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ResultWriter(OperatorDescription description)
| Method Detail |
|---|
public IOObject[] apply()
apply in class Operatorpublic java.lang.Class[] getInputClasses()
getInputClasses in class Operatorpublic java.lang.Class[] getOutputClasses()
getOutputClasses in class Operator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||