|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.torque.util.BasePeer
it.unimo.dbgroup.momis.om.BaseWnReverseIndexPeer
it.unimo.dbgroup.momis.om.WnReverseIndexPeer
The skeleton for this class was autogenerated by Torque on: [Mon Sep 30 11:06:07 CEST 2002] You should add additional methods to this class to meet the application requirements. This class will only be generated as long as it does not already exist in the output directory.
| Nested Class Summary | |
(package private) static class |
WnReverseIndexPeer.MyLRUMapForWnReverseIndex
|
| Field Summary |
| Fields inherited from class it.unimo.dbgroup.momis.om.BaseWnReverseIndexPeer |
CLASS_DEFAULT, CLASSNAME_DEFAULT, DATABASE_NAME, numColumns, TABLE_NAME, TERM, WN_REVERSE_INDEX_ID, WN_SYNSET_ID_LIST |
| Fields inherited from class org.apache.torque.util.BasePeer |
category, DEFAULT_MAP_BUILDER, IGNORE_CASE, ORDER_BY |
| Constructor Summary | |
WnReverseIndexPeer()
|
|
| Method Summary | |
static void |
buildWnReverseIndex()
|
static WnReverseIndex |
createEntry(java.lang.String term,
org.apache.torque.om.NumberKey synId,
int glossLength,
java.util.Vector positions)
Creates a new tuple in WN_REVERSE_INSEX |
static boolean |
findSynsetId(java.lang.String term,
org.apache.torque.om.NumberKey id)
Verifies if the current synset is conatined in the list associated to the given term |
static WnReverseIndex |
findTerm(java.lang.String term)
|
static void |
getAllSynsetId(java.lang.String term,
java.util.HashMap map,
java.util.HashMap occMap,
java.util.HashMap termMap)
|
static void |
getAverageListSize()
Method that computes the average number of synset ids related to a generic term. |
static void |
getMaxMin()
Method that computes the MAX length of actual glosses in the db and the MIN length of actual glosses in the db with duplicate. |
static void |
getMaxMinFreq()
Method that computes the MAX length of actual glosses in the db and the MIN length of actual glosses in the db with duplicate |
static void |
getTermVariance(java.util.HashMap hist,
float media)
|
static void |
insertNewGloss(WnSynset currSynset)
Update the Reverse Index: this task will insert in the index the terms of a new created synset' gloss |
static void |
updateWnReverseIndex(WnSynset currSynset,
java.lang.String oldGloss)
Update the Reverse Index: this task will take some seconds This method is invocated each time the user modify a gloss of a "new created" synset in the LemmaBrowser. |
static void |
updateWnReverseIndexWithNewSense(WnSynset currSynset)
Update the Reverse Index: this task will take some seconds This method is invocated each time the user add a new sense from SenseBrowser window |
| Methods inherited from class it.unimo.dbgroup.momis.om.BaseWnReverseIndexPeer |
addSelectColumns, buildCriteria, doDelete, doDelete, doDelete, doDelete, doInsert, doInsert, doInsert, doInsert, doSelect, doSelect, doSelect, doSelectVillageRecords, doSelectVillageRecords, doUpdate, doUpdate, doUpdate, doUpdate, getMapBuilder, getOMClass, getTableMap, populateObject, populateObjects, resultSet2Objects, retrieveByPK, retrieveByPK, retrieveByPKs, retrieveByPKs, row2Object |
| Methods inherited from class org.apache.torque.util.BasePeer |
beginTransaction, commitTransaction, createPreparedStatement, createQueryString, deleteAll, deleteAll, doPSSelect, doPSSelect, doUpdate, doUpdate, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeStatement, executeStatement, executeStatement, getMapBuilder, getSelectResults, getSelectResults, getSelectResults, getSelectResults, handleMultiple, handleMultipleRecords, hashtableToByteArray, initColumnNames, initCriteriaKeys, initTableColumns, initTableSchema, initTableSchema, rollBackTransaction |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WnReverseIndexPeer()
| Method Detail |
public static void getMaxMin()
throws java.lang.Exception
java.lang.Exception
public static void updateWnReverseIndex(WnSynset currSynset,
java.lang.String oldGloss)
throws java.lang.Exception
java.lang.Exception
public static WnReverseIndex findTerm(java.lang.String term)
throws java.lang.Exception
java.lang.Exception
public static void getAllSynsetId(java.lang.String term,
java.util.HashMap map,
java.util.HashMap occMap,
java.util.HashMap termMap)
throws java.lang.Exception
java.lang.Exception
public static boolean findSynsetId(java.lang.String term,
org.apache.torque.om.NumberKey id)
throws java.lang.Exception
java.lang.Exception
public static WnReverseIndex createEntry(java.lang.String term,
org.apache.torque.om.NumberKey synId,
int glossLength,
java.util.Vector positions)
throws java.lang.Exception
java.lang.Exception
public static void buildWnReverseIndex()
throws java.lang.Exception
java.lang.Exception
public static void updateWnReverseIndexWithNewSense(WnSynset currSynset)
throws java.lang.Exception
java.lang.Exception
public static void getTermVariance(java.util.HashMap hist,
float media)
throws java.lang.Exception
java.lang.Exception
public static void getAverageListSize()
throws java.lang.Exception
java.lang.Exception
public static void getMaxMinFreq()
throws java.lang.Exception
java.lang.Exception
public static void insertNewGloss(WnSynset currSynset)
throws java.lang.Exception
java.lang.Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||