|
||||||||||
| 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.io.BytewiseExampleSource
com.rapidminer.operator.io.SPSSExampleSource
public class SPSSExampleSource
This operator can read spss files.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.rapidminer.operator.io.AbstractReader |
|---|
AbstractReader.ReaderDescription |
| Field Summary | |
|---|---|
static java.lang.String[] |
ATTRIBUTE_NAMING_MODES
String descriptions of attribute naming modes. |
static java.lang.String |
PARAMETER_ATTRIBUTE_NAMING_MODE
The parameter name for "Determines which SPSS variable properties should be used for attribute naming. |
static java.lang.String |
PARAMETER_RECODE_USER_MISSINGS
The parameter name for "Recode SPSS user missings to missing values. |
static java.lang.String |
PARAMETER_SAMPLE_RATIO
The parameter name for "The fraction of the data set which should be read (1 = all; only used if sample_size = -1)" |
static java.lang.String |
PARAMETER_SAMPLE_SIZE
The parameter name for "The exact number of samples which should be read (-1 = all; if not -1, sample_ratio will not have any effect)" |
static java.lang.String |
PARAMETER_USE_VALUE_LABELS
The parameter name for "Use SPSS value labels as values. |
static int |
USE_VAR_LABEL
Only use variable label as attribute name. |
static int |
USE_VAR_LABEL_NAMED
Use variable label with name in parentheses as attribute name. |
static int |
USE_VAR_NAME
Only use variable name as attribute name. |
static int |
USE_VAR_NAME_LABELED
Use variable name with label in parentheses as attribute name. |
| Fields inherited from class com.rapidminer.operator.io.BytewiseExampleSource |
|---|
fileInputPort, filePortHandler, GENERIC_ERROR_MESSAGE, LENGTH_BYTE, LENGTH_DOUBLE, LENGTH_INT_32, PARAMETER_DATAMANAGEMENT, PARAMETER_FILENAME, UNSPECIFIED_ERROR_MESSAGE |
| Constructor Summary | |
|---|---|
SPSSExampleSource(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
protected java.lang.String |
getFileSuffix()
Returns the suffix of the files which should be read by the input operator. |
java.util.List<ParameterType> |
getParameterTypes()
Returns a list of ParameterTypes describing the parameters of this operator. |
protected ExampleSet |
readStream(java.io.InputStream inputStream,
DataRowFactory dataRowFactory)
Reads the given file and constructs an example set from the read data. |
| Methods inherited from class com.rapidminer.operator.io.BytewiseExampleSource |
|---|
createExampleSet, extract2ByteInt, extractDouble, extractFloat, extractInt, extractString, read, read, read, read, readWithoutLengthCheck |
| Methods inherited from class com.rapidminer.operator.io.AbstractExampleSource |
|---|
getGeneratedMetaData, 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 PARAMETER_ATTRIBUTE_NAMING_MODE
public static final java.lang.String PARAMETER_USE_VALUE_LABELS
public static final java.lang.String PARAMETER_RECODE_USER_MISSINGS
public static final java.lang.String PARAMETER_SAMPLE_RATIO
public static final java.lang.String PARAMETER_SAMPLE_SIZE
public static final int USE_VAR_NAME
public static final int USE_VAR_LABEL
public static final int USE_VAR_NAME_LABELED
public static final int USE_VAR_LABEL_NAMED
public static final java.lang.String[] ATTRIBUTE_NAMING_MODES
| Constructor Detail |
|---|
public SPSSExampleSource(OperatorDescription description)
| Method Detail |
|---|
protected java.lang.String getFileSuffix()
BytewiseExampleSource
getFileSuffix in class BytewiseExampleSource
protected ExampleSet readStream(java.io.InputStream inputStream,
DataRowFactory dataRowFactory)
throws java.io.IOException,
UndefinedParameterError
BytewiseExampleSource
readStream in class BytewiseExampleSourcejava.io.IOException
UndefinedParameterErrorpublic java.util.List<ParameterType> getParameterTypes()
Operator
getParameterTypes in interface ParameterHandlergetParameterTypes in class BytewiseExampleSource
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||