|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.tools.AbstractObservable<Operator>
com.rapidminer.operator.Operator
com.rapidminer.operator.io.AbstractReader<ExampleSet>
com.rapidminer.operator.io.AbstractExampleSource
com.rapidminer.operator.nio.model.AbstractDataResultSetReader
public abstract class AbstractDataResultSetReader
This class uses DataResultSets to load data from file and then delivers the data as an example set.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.rapidminer.operator.io.AbstractReader |
|---|
AbstractReader.ReaderDescription |
| Field Summary | |
|---|---|
static java.lang.String |
ANNOTATION_NAME
Pseudo-annotation to be used for attribute names. |
static java.lang.String |
PARAMETER_ANNOTATIONS
|
static java.lang.String |
PARAMETER_COLUMN_INDEX
Parameters being part of the list for PARAMETER_META_DATA |
static java.lang.String |
PARAMETER_COLUMN_META_DATA
|
static java.lang.String |
PARAMETER_COLUMN_NAME
|
static java.lang.String |
PARAMETER_COLUMN_ROLE
|
static java.lang.String |
PARAMETER_COLUMN_SELECTED
|
static java.lang.String |
PARAMETER_COLUMN_VALUE_TYPE
|
static java.lang.String |
PARAMETER_DATAMANAGEMENT
The parameter name for "Determines, how the data is represented internally. |
static java.lang.String |
PARAMETER_DATE_FORMAT
|
static java.lang.String |
PARAMETER_ERROR_TOLERANT
|
static java.lang.String |
PARAMETER_FIRST_ROW_AS_NAMES
|
static java.lang.String |
PARAMETER_LOCALE
|
static java.lang.String |
PARAMETER_META_DATA
This parameter holds the hole information about the attribute columns. |
static java.lang.String |
PARAMETER_TIME_ZONE
|
| Constructor Summary | |
|---|---|
AbstractDataResultSetReader(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
ExampleSet |
createExampleSet()
Creates (or reads) the ExampleSet that will be returned by Operator.apply(). |
protected abstract DataResultSetFactory |
getDataResultSetFactory()
Must be implemented by subclasses to return the DataResultSet. |
MetaData |
getGeneratedMetaData()
|
protected abstract java.text.NumberFormat |
getNumberFormat()
Returns the configured number format or null if a default number format should be used. |
java.util.List<ParameterType> |
getParameterTypes()
Returns a list of ParameterTypes describing the parameters of this operator. |
| 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.tools.AbstractObservable |
|---|
addObserver, addObserverAsFirst, fireUpdate, removeObserver |
| 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 ANNOTATION_NAME
public static final java.lang.String PARAMETER_META_DATA
public static final java.lang.String PARAMETER_COLUMN_INDEX
public static final java.lang.String PARAMETER_COLUMN_META_DATA
public static final java.lang.String PARAMETER_COLUMN_NAME
public static final java.lang.String PARAMETER_COLUMN_SELECTED
public static final java.lang.String PARAMETER_COLUMN_VALUE_TYPE
public static final java.lang.String PARAMETER_COLUMN_ROLE
public static final java.lang.String PARAMETER_DATE_FORMAT
public static final java.lang.String PARAMETER_TIME_ZONE
public static final java.lang.String PARAMETER_LOCALE
public static final java.lang.String PARAMETER_DATAMANAGEMENT
public static final java.lang.String PARAMETER_FIRST_ROW_AS_NAMES
public static final java.lang.String PARAMETER_ANNOTATIONS
public static final java.lang.String PARAMETER_ERROR_TOLERANT
| Constructor Detail |
|---|
public AbstractDataResultSetReader(OperatorDescription description)
| Method Detail |
|---|
public ExampleSet createExampleSet()
throws OperatorException
AbstractExampleSourceOperator.apply().
createExampleSet in class AbstractExampleSourceOperatorException
public MetaData getGeneratedMetaData()
throws OperatorException
getGeneratedMetaData in class AbstractExampleSourceOperatorException
protected abstract DataResultSetFactory getDataResultSetFactory()
throws OperatorException
OperatorException
protected abstract java.text.NumberFormat getNumberFormat()
throws OperatorException
OperatorExceptionpublic java.util.List<ParameterType> getParameterTypes()
Operator
getParameterTypes in interface ParameterHandlergetParameterTypes in class AbstractReader<ExampleSet>
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||