|
||||||||||
| 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.ResultSetExampleSource
public abstract class ResultSetExampleSource
Abstract superclass for operators that provide access to an
ExampleSet via a ResultSet.
| Field Summary | |
|---|---|
static java.lang.String |
PARAMETER_DATAMANAGEMENT
The parameter name for "Determines, how the data is represented internally. |
static java.lang.String |
PARAMETER_ID_ATTRIBUTE
The parameter name for "The (case sensitive) name of the id attribute" |
static java.lang.String |
PARAMETER_LABEL_ATTRIBUTE
The parameter name for "The (case sensitive) name of the label attribute" |
static java.lang.String |
PARAMETER_WEIGHT_ATTRIBUTE
The parameter name for "The (case sensitive) name of the weight attribute" |
| Constructor Summary | |
|---|---|
ResultSetExampleSource(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
ExampleSet |
createExampleSet()
Creates (or reads) the ExampleSet that will be returned by AbstractReader.apply(). |
static ExampleSet |
createExampleSet(ExampleTable table,
Operator operator)
|
java.util.List<ParameterType> |
getParameterTypes()
Returns a list of ParameterTypes describing the parameters of this operator. |
abstract java.sql.ResultSet |
getResultSet()
Returns a ResultSet. |
abstract void |
setNominalValues(java.util.List<Attribute> attributeList,
java.sql.ResultSet resultSet,
Attribute label)
Since the ResultSet does not provide information about possible
values of nominal attributes, subclasses must set these by implementing
this method. |
abstract void |
tearDown()
This method is invoked at the end of the data query process. |
| 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_LABEL_ATTRIBUTE
public static final java.lang.String PARAMETER_ID_ATTRIBUTE
public static final java.lang.String PARAMETER_WEIGHT_ATTRIBUTE
public static final java.lang.String PARAMETER_DATAMANAGEMENT
| Constructor Detail |
|---|
public ResultSetExampleSource(OperatorDescription description)
| Method Detail |
|---|
public abstract java.sql.ResultSet getResultSet()
throws OperatorException
ResultSet.
OperatorExceptionpublic abstract void tearDown()
public abstract void setNominalValues(java.util.List<Attribute> attributeList,
java.sql.ResultSet resultSet,
Attribute label)
throws OperatorException
ResultSet does not provide information about possible
values of nominal attributes, subclasses must set these by implementing
this method.
attributeList - List of Attribute
OperatorException
public ExampleSet createExampleSet()
throws OperatorException
AbstractExampleSourceAbstractReader.apply().
createExampleSet in class AbstractExampleSourceOperatorException
public static ExampleSet createExampleSet(ExampleTable table,
Operator operator)
throws OperatorException
OperatorExceptionpublic 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 | |||||||||