|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectadams.core.ConsoleObject
adams.core.option.AbstractOptionHandler
adams.data.featuregenerator.AbstractFeatureGenerator
adams.data.featuregenerator.AbstractDatabaseConnectionFeatureGenerator
adams.data.featuregenerator.FilteredFeatureGenerator
public class FilteredFeatureGenerator
This feature generator first pushes the data through the provided data filter before applying the actual feature generator. The updated data obtained from the feature generator then replaces the report of the original data container.
Valid options are:-D <int> (property: debugLevel) The greater the number the more additional info the scheme may output to the console (0 = off). default: 0 minimum: 0
-prefix <java.lang.String> (property: prefix) The prefix to use in the field for the generated features. default: Feature
-filter <adams.data.filter.AbstractFilter> (property: filter) The filter to apply to the heatmap before pushing it through the feature generator. default: adams.data.filter.PassThrough
-generator <adams.data.featuregenerator.AbstractFeatureGenerator> (property: generator) The generator to apply to the filtered data. default: adams.data.featuregenerator.PassThrough
| Field Summary | |
|---|---|
protected AbstractFilter |
m_Filter
the pre-filter for filtering the data. |
protected AbstractFeatureGenerator |
m_Generator
the actual feature generator. |
| Fields inherited from class adams.data.featuregenerator.AbstractDatabaseConnectionFeatureGenerator |
|---|
m_DatabaseConnection |
| Fields inherited from class adams.data.featuregenerator.AbstractFeatureGenerator |
|---|
m_Prefix, PREFIX_FEATURE |
| Fields inherited from class adams.core.option.AbstractOptionHandler |
|---|
m_DebugLevel, m_OptionManager |
| Constructor Summary | |
|---|---|
FilteredFeatureGenerator()
|
|
| Method Summary | |
|---|---|
void |
defineOptions()
Adds options to the internal list of options. |
String |
filterTipText()
Returns the tip text for this property. |
String |
generatorTipText()
Returns the tip text for this property. |
protected AbstractDatabaseConnection |
getDefaultDatabaseConnection()
Returns the default database connection. |
AbstractFilter |
getFilter()
Returns the filter. |
AbstractFeatureGenerator |
getGenerator()
Returns the generator. |
String |
globalInfo()
Returns a string describing the object. |
protected Heatmap |
processData(Heatmap data)
Processes the data/report. |
void |
setFilter(AbstractFilter value)
Sets the filter. |
void |
setGenerator(AbstractFeatureGenerator value)
Sets the generator. |
protected void |
updateDatabaseConnection()
Updates the database connection in dependent schemes. |
| Methods inherited from class adams.data.featuregenerator.AbstractDatabaseConnectionFeatureGenerator |
|---|
getDatabaseConnection, initialize, setDatabaseConnection |
| Methods inherited from class adams.data.featuregenerator.AbstractFeatureGenerator |
|---|
addFeature, addFeature, checkData, cleanUp, compareTo, equals, forCommandLine, forName, generate, getDefaultPrefix, getGenerators, getPrefix, prefixTipText, reset, setPrefix, shallowCopy, shallowCopy |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
|---|
cleanUpOptions, debug, debug, debugLevelTipText, destroy, finishInit, getDebugLevel, getOptionManager, isDebugOn, newOptionManager, setDebugLevel, toCommandLine, toString |
| Methods inherited from class adams.core.ConsoleObject |
|---|
getDebugging, getSystemErr, getSystemOut, sizeOf |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected AbstractFilter m_Filter
protected AbstractFeatureGenerator m_Generator
| Constructor Detail |
|---|
public FilteredFeatureGenerator()
| Method Detail |
|---|
public String globalInfo()
globalInfo in class AbstractOptionHandlerpublic void defineOptions()
defineOptions in interface OptionHandlerdefineOptions in class AbstractFeatureGeneratorprotected AbstractDatabaseConnection getDefaultDatabaseConnection()
getDefaultDatabaseConnection in class AbstractDatabaseConnectionFeatureGeneratorpublic void setFilter(AbstractFilter value)
value - the filterpublic AbstractFilter getFilter()
public String filterTipText()
public void setGenerator(AbstractFeatureGenerator value)
value - the generatorpublic AbstractFeatureGenerator getGenerator()
public String generatorTipText()
protected void updateDatabaseConnection()
updateDatabaseConnection in class AbstractDatabaseConnectionFeatureGeneratorprotected Heatmap processData(Heatmap data)
processData in class AbstractFeatureGeneratordata - the data to process
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||