com.rapidminer.operator.io
Class CSVExampleSource

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
                  extended by com.rapidminer.operator.io.SimpleExampleSource
                      extended by com.rapidminer.operator.io.CSVExampleSource
All Implemented Interfaces:
ConfigurationListener, PreviewListener, ResourceConsumer, ParameterHandler, LoggingHandler, Observable<Operator>

Deprecated.

@Deprecated
public class CSVExampleSource
extends SimpleExampleSource

This operator can read csv files. All values must be separated by "," or by ";", followed by an arbitrary amount of white space. This means that also only the separator characters are allowed. The first line is used for the attribute names as default. Empty values and the question mark will be read as missing values. You can quote the values (including the column separators) with a double quote ("). You can escape the quoting character with a backslash, i.e. \".

For other file formats or column separators you can use in almost all cases the operator SimpleExampleSource or, if this is not sufficient, the operator ExampleSource.

Author:
Ingo Mierswa
Keywords:
csv

Nested Class Summary
 
Nested classes/interfaces inherited from class com.rapidminer.operator.io.AbstractReader
AbstractReader.ReaderDescription
 
Field Summary
 
Fields inherited from class com.rapidminer.operator.io.SimpleExampleSource
PARAMETER_COLUMN_SEPARATORS, PARAMETER_COMMENT_CHARS, PARAMETER_FILENAME, PARAMETER_ID_COLUMN, PARAMETER_ID_NAME, PARAMETER_LABEL_COLUMN, PARAMETER_LABEL_NAME, PARAMETER_QUOTES_CHARACTER, PARAMETER_SAMPLE_RATIO, PARAMETER_SAMPLE_SIZE, PARAMETER_SKIP_COMMENTS, PARAMETER_TRIM_LINES, PARAMETER_USE_FIRST_ROW_AS_ATTRIBUTE_NAMES, PARAMETER_USE_QUOTES, PARAMETER_WEIGHT_COLUMN, PARAMETER_WEIGHT_NAME
 
Constructor Summary
CSVExampleSource(OperatorDescription description)
          Deprecated.  
 
Method Summary
 java.util.List<ParameterType> getParameterTypes()
          Deprecated. Returns a list of ParameterTypes describing the parameters of this operator.
 
Methods inherited from class com.rapidminer.operator.io.SimpleExampleSource
createExampleSet, createExampleSet, createReader, getGeneratedMetaData
 
Methods inherited from class com.rapidminer.operator.io.AbstractExampleSource
read
 
Methods inherited from class com.rapidminer.operator.io.AbstractReader
addAnnotations, canMakeReaderFor, createReader, doWork, getFileParameterForOperator, 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

CSVExampleSource

public CSVExampleSource(OperatorDescription description)
Deprecated. 
Method Detail

getParameterTypes

public java.util.List<ParameterType> getParameterTypes()
Deprecated. 
Description copied from class: Operator
Returns a list of ParameterTypes describing the parameters of this operator. The default implementation returns an empty list if no input objects can be retained and special parameters for those input objects which can be prevented from being consumed. ATTENTION! This will create new parameterTypes. For calling already existing parameter types use getParameters().getParameterTypes();

Specified by:
getParameterTypes in interface ParameterHandler
Overrides:
getParameterTypes in class SimpleExampleSource


Copyright © 2001-2009 by Rapid-I