Interface IFeatureDBConnection
-
- All Known Implementing Classes:
SingleFeatureDBConnection
public interface IFeatureDBConnection
Connection to the database of feature feature values representing the fitness of a parameter for representing an event type.- Author:
- Dustin Kempton, Data Mining Lab, Georgia State University
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
featureTableExists(EventType type)
Checks to see if the feature table for the particular event type exists.ImageDBWaveParamPair[]
getBestFeatures(EventType type, int num)
Selects the top features in the database and returns the array of their descriptors
-
-
-
Method Detail
-
getBestFeatures
ImageDBWaveParamPair[] getBestFeatures(EventType type, int num) throws SQLException
Selects the top features in the database and returns the array of their descriptors- Parameters:
type
- The event type to select features fornum
- The number of features to return- Returns:
- The array of the top features in the database
- Throws:
SQLException
- If an error occurs
-
featureTableExists
boolean featureTableExists(EventType type) throws SQLException
Checks to see if the feature table for the particular event type exists.- Parameters:
type
- The event type to check for.- Returns:
- True if exists, else false.
- Throws:
SQLException
- If an error occurs
-
-