textclassifier.database
Interface documentConnecter


public interface documentConnecter


Method Summary
 java.lang.String getAttributes()
          Returns SQL command that gets all attributes names sql command returns only one column - attribute name!
 java.lang.String getCategories()
          Returns array of all categories (objects Category)
 java.lang.String getSqlQueryGetCategoriesAndCountsOfItemset(largeItemset oneItemset)
           
 java.lang.String getSqlQueryGetValuesAndCountsOfAttribute(java.lang.String attribute, int mincount)
           
 java.lang.String getTotalTransCount()
          Returns SQL command that returns total count of transactions
 java.lang.String getTransInCategory(Category category)
          Returns transactions thats are in category cat
 java.lang.String hasHigherSupportThanMinsupp(java.util.HashSet<fitem> fitemset, double min_supp)
           
 

Method Detail

getCategories

java.lang.String getCategories()
Returns array of all categories (objects Category)


getTotalTransCount

java.lang.String getTotalTransCount()
Returns SQL command that returns total count of transactions


getAttributes

java.lang.String getAttributes()
Returns SQL command that gets all attributes names sql command returns only one column - attribute name!


getTransInCategory

java.lang.String getTransInCategory(Category category)
Returns transactions thats are in category cat


hasHigherSupportThanMinsupp

java.lang.String hasHigherSupportThanMinsupp(java.util.HashSet<fitem> fitemset,
                                             double min_supp)

getSqlQueryGetValuesAndCountsOfAttribute

java.lang.String getSqlQueryGetValuesAndCountsOfAttribute(java.lang.String attribute,
                                                          int mincount)

getSqlQueryGetCategoriesAndCountsOfItemset

java.lang.String getSqlQueryGetCategoriesAndCountsOfItemset(largeItemset oneItemset)