com.rapidminer.operator.io
Class AbstractExampleSource

java.lang.Object
  extended by com.rapidminer.operator.Operator
      extended by com.rapidminer.operator.io.AbstractReader<ExampleSet>
          extended by com.rapidminer.operator.io.AbstractExampleSource
All Implemented Interfaces:
ConfigurationListener, PreviewListener, ParameterHandler, LoggingHandler
Direct Known Subclasses:
ArffExampleSource, BytewiseExampleSource, C45ExampleSource, CachedDatabaseExampleSource, ChurnReductionExampleSetGenerator, DirectMailingExampleSetGenerator, ExampleSetGenerator, ExampleSource, ExcelExampleSource, MassiveDataGenerator, MultipleLabelGenerator, NominalExampleSetGenerator, ResultSetExampleSource, SalesExampleSetGenerator, SimpleExampleSource, SparseFormatExampleSource, TeamProfitExampleSetGenerator, TransfersExampleSetGenerator, UpSellingExampleSetGenerator, URLExampleSource, XrffExampleSource

public abstract class AbstractExampleSource
extends AbstractReader<ExampleSet>

Super class of all operators requiring no input and creating an ExampleSet.

Author:
Simon Fischer

Constructor Summary
AbstractExampleSource(OperatorDescription description)
           
 
Method Summary
abstract  ExampleSet createExampleSet()
          Creates (or reads) the ExampleSet that will be returned by AbstractReader.apply().
 ExampleSet read()
          Creates (or reads) the ExampleSet that will be returned by AbstractReader.apply().
 
Methods inherited from class com.rapidminer.operator.io.AbstractReader
apply, getInputClasses, getOutputClasses
 
Methods inherited from class com.rapidminer.operator.Operator
addError, addValue, addWarning, apply, checkDeprecations, checkForStop, checkIO, checkProperties, clearErrorList, cloneOperator, createExperimentTree, createExperimentTree, createFromXML, createMarkedExperimentTree, createMarkedProcessTree, createProcessTree, createProcessTree, getAddOnlyAdditionalOutput, getApplyCount, getDeliveredOutputClasses, getDeprecationInfo, getDesiredInputClasses, getEncoding, getErrorList, getExperiment, getInnerOperatorsXML, getInput, getInput, getInput, getInputDescription, getIOContainerForInApplyLoopBreakpoint, getIODescription, getLog, getName, getOperatorClassName, getOperatorDescription, getParameter, getParameterAsBoolean, getParameterAsColor, getParameterAsDouble, getParameterAsFile, getParameterAsFile, getParameterAsInputStream, getParameterAsInt, getParameterAsMatrix, getParameterAsString, getParameterList, getParameters, getParameterType, getParameterTypes, getParent, getProcess, getStartTime, getStatus, getUserDescription, getValue, getValues, getXML, hasBreakpoint, hasBreakpoint, hasInput, inApplyLoop, isDebugMode, isEnabled, isExpanded, isParallel, isParameterSet, log, logError, logNote, logWarning, performAdditionalChecks, processFinished, processStarts, register, registerOperator, remove, rename, resume, setApplyCount, setBreakpoint, setEnabled, setExpanded, setInput, setListParameter, setOperatorParameters, setParameter, setParameters, setParent, setUserDescription, toString, unregisterOperator, writeXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractExampleSource

public AbstractExampleSource(OperatorDescription description)
Method Detail

createExampleSet

public abstract ExampleSet createExampleSet()
                                     throws OperatorException
Creates (or reads) the ExampleSet that will be returned by AbstractReader.apply().

Throws:
OperatorException

read

public ExampleSet read()
                throws OperatorException
Description copied from class: AbstractReader
Creates (or reads) the ExampleSet that will be returned by AbstractReader.apply().

Specified by:
read in class AbstractReader<ExampleSet>
Throws:
OperatorException


Copyright © 2001-2009 by Rapid-I