|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.operator.Operator
com.rapidminer.operator.io.AbstractReader<ExampleSet>
com.rapidminer.operator.io.AbstractExampleSource
com.rapidminer.operator.io.ExcelExampleSource
public class ExcelExampleSource
This operator can be used to load data from Microsoft Excel spreadsheets. This operator is able to reads data from Excel 95, 97, 2000, XP, and 2003. The user has to define which of the spreadsheets in the workbook should be used as data table. The table must have a format so that each line is an example and each column represents an attribute. Please note that the first line might be used for attribute names which can be indicated by a parameter.
The data table can be placed anywhere on the sheet and is allowed to contain arbitrary formatting instructions, empty rows, and empty columns. Missing data values are indicated by empty cells or by cells containing only "?".
| Field Summary | |
|---|---|
static java.lang.String |
PARAMETER_COLUMN_OFFSET
|
static java.lang.String |
PARAMETER_CREATE_ID
|
static java.lang.String |
PARAMETER_CREATE_LABEL
|
static java.lang.String |
PARAMETER_DATAMANAGEMENT
The parameter name for "Determines, how the data is represented internally. |
static java.lang.String |
PARAMETER_DECIMAL_POINT_CHARACTER
The parameter name for "Character that is used as decimal point. |
static java.lang.String |
PARAMETER_EXCEL_FILE
The parameter name for "The Excel spreadsheet file which should be loaded. |
static java.lang.String |
PARAMETER_FIRST_ROW_AS_NAMES
The parameter name for "Indicates if the first row should be used for the attribute names. |
static java.lang.String |
PARAMETER_ID_COLUMN
The parameter name for "Indicates which column should be used for the Id attribute (0: no id)" |
static java.lang.String |
PARAMETER_LABEL_COLUMN
The parameter name for "Indicates which column should be used for the label attribute (0: no label)" |
static java.lang.String |
PARAMETER_ROW_OFFSET
|
static java.lang.String |
PARAMETER_SHEET_NUMBER
The parameter name for "The number of the sheet which should be imported. |
| Constructor Summary | |
|---|---|
ExcelExampleSource(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
ExampleSet |
createExampleSet()
Creates (or reads) the ExampleSet that will be returned by AbstractReader.apply(). |
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 |
|---|
apply, getInputClasses, getOutputClasses |
| 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 PARAMETER_EXCEL_FILE
public static final java.lang.String PARAMETER_SHEET_NUMBER
public static final java.lang.String PARAMETER_FIRST_ROW_AS_NAMES
public static final java.lang.String PARAMETER_LABEL_COLUMN
public static final java.lang.String PARAMETER_ID_COLUMN
public static final java.lang.String PARAMETER_DATAMANAGEMENT
public static final java.lang.String PARAMETER_DECIMAL_POINT_CHARACTER
public static final java.lang.String PARAMETER_COLUMN_OFFSET
public static final java.lang.String PARAMETER_ROW_OFFSET
public static final java.lang.String PARAMETER_CREATE_LABEL
public static final java.lang.String PARAMETER_CREATE_ID
| Constructor Detail |
|---|
public ExcelExampleSource(OperatorDescription description)
| Method Detail |
|---|
public ExampleSet createExampleSet()
throws OperatorException
AbstractExampleSourceAbstractReader.apply().
createExampleSet in class AbstractExampleSourceOperatorExceptionpublic java.util.List<ParameterType> getParameterTypes()
Operator
getParameterTypes in interface ParameterHandlergetParameterTypes in class Operator
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||