com.rapidminer.operator.io
Class AbstractExampleSource

java.lang.Object
  extended by com.rapidminer.tools.AbstractObservable<Operator>
      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, ResourceConsumer, ParameterHandler, LoggingHandler, Observable<Operator>
Direct Known Subclasses:
AbstractDataReader, AbstractDataResultSetReader, BytewiseExampleSource, C45ExampleSource, CachedDatabaseExampleSource, ChurnReductionExampleSetGenerator, DatabaseDataReader, DirectMailingExampleSetGenerator, ExampleSetGenerator, ExampleSource, MassiveDataGenerator, MultipleLabelGenerator, NominalExampleSetGenerator, ResultSetExampleSource, SalesExampleSetGenerator, SimpleExampleSource, SparseFormatExampleSource, TeamProfitExampleSetGenerator, TransactionClustersExampleSetGenerator, 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

Nested Class Summary
 
Nested classes/interfaces inherited from class com.rapidminer.operator.io.AbstractReader
AbstractReader.ReaderDescription
 
Constructor Summary
AbstractExampleSource(OperatorDescription description)
           
 
Method Summary
abstract  ExampleSet createExampleSet()
          Creates (or reads) the ExampleSet that will be returned by Operator.apply().
 MetaData getGeneratedMetaData()
           
 ExampleSet read()
          Creates (or reads) the ExampleSet that will be returned by Operator.apply().
 
Methods inherited from class com.rapidminer.operator.io.AbstractReader
addAnnotations, canMakeReaderFor, createReader, doWork, getFileParameterForOperator, getParameterTypes, isMetaDataCacheable, registerOperator, registerReaderDescription, supportsEncoding
 
Methods inherited from class com.rapidminer.operator.Operator
acceptsInput, addError, addError, addValue, addWarning, apply, apply, assumePreconditionsSatisfied, checkAll, checkAllExcludingMetaData, checkDeprecations, checkForStop, checkIO, checkProperties, clear, clearErrorList, cloneOperator, collectErrors, createExperimentTree, createExperimentTree, createFromXML, createFromXML, createFromXML, createMarkedExperimentTree, createMarkedProcessTree, createProcessTree, createProcessTree, disconnectPorts, execute, fireUpdate, freeMemory, getAddOnlyAdditionalOutput, getApplyCount, getCompatibilityLevel, getDeliveredOutputClasses, getDeprecationInfo, getDesiredInputClasses, getDOMRepresentation, getEncoding, getErrorList, getExecutionUnit, getExperiment, getIncompatibleVersionChanges, getInput, getInput, getInput, getInputClasses, getInputDescription, getInputPorts, getIODescription, getLog, getLogger, getName, getNumberOfBreakpoints, getOperatorClassName, getOperatorDescription, getOutputClasses, getOutputPorts, getParameter, getParameterAsBoolean, getParameterAsChar, getParameterAsColor, getParameterAsDouble, getParameterAsFile, getParameterAsFile, getParameterAsInputStream, getParameterAsInt, getParameterAsMatrix, getParameterAsRepositoryLocation, getParameterAsString, getParameterHandler, getParameterList, getParameters, getParameterTupel, getParameterType, getParent, getPortOwner, getProcess, getResourceConsumptionEstimator, getRoot, getStartTime, getTransformer, getUserDescription, getValue, getValues, getXML, getXML, getXML, hasBreakpoint, hasBreakpoint, hasInput, inApplyLoop, isDebugMode, isDirty, isEnabled, isExpanded, isParallel, isParameterSet, isRunning, log, log, logError, logNote, logWarning, lookupOperator, makeDirty, makeDirtyOnUpdate, notifyRenaming, performAdditionalChecks, preAutoWire, processFinished, processStarts, producesOutput, propagateDirtyness, register, remove, removeAndKeepConnections, rename, resume, setBreakpoint, setCompatibilityLevel, setEnabled, setEnclosingProcess, setExpanded, setInput, setListParameter, setPairParameter, setParameter, setParameters, setUserDescription, shouldAutoConnect, shouldAutoConnect, shouldStopStandaloneExecution, toString, transformMetaData, unregisterOperator, updateExecutionOrder, walk, writeXML, writeXML
 
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

AbstractExampleSource

public AbstractExampleSource(OperatorDescription description)
Method Detail

getGeneratedMetaData

public MetaData getGeneratedMetaData()
                              throws OperatorException
Overrides:
getGeneratedMetaData in class AbstractReader<ExampleSet>
Throws:
OperatorException

createExampleSet

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

Throws:
OperatorException

read

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

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


Copyright © 2001-2009 by Rapid-I