Class SenseAndUsageDatabaseManager
java.lang.Object
net.didion.jwnl.dictionary.database.DatabaseManagerImpl
net.didion.jwnl.dictionary.database.SenseAndUsageDatabaseManager
- All Implemented Interfaces:
DatabaseManager, Createable
Database Manager that handles the extended database containing sense key and usage statistics.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final StringThe SQL statement to grab a synset word.Fields inherited from class DatabaseManagerImpl
_connectionManager, _minMaxIds, _rand, ALL_EXCEPTIONS_SQL, ALL_LEMMAS_LIKE_SQL, ALL_LEMMAS_SQL, ALL_SYNSETS_SQL, COUNT_INDEX_WORDS_SQL, DRIVER, EXCEPTION_SQL, JNDI, LEMMA_FOR_INDEX_WORD_ID_SQL, PASSWORD, SYNSET_IDS_FOR_INDEX_WORD_SQL, SYNSET_POINTER_SQL, SYNSET_SQL, SYNSET_VERB_FRAME_SQL, SYNSET_WORD_SQL, URL, USERNAME -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new database manager with no connection.SenseAndUsageDatabaseManager(ConnectionManager connectionManager) Create a new database manager with a connection. -
Method Summary
Methods inherited from class DatabaseManagerImpl
createPOSIdQuery, createPOSOffsetQuery, createPOSQuery, createPOSStringQuery, getExceptionQuery, getExceptionsQuery, getIndexWordLemmasQuery, getIndexWordLemmasQuery, getIndexWordSynsetsQuery, getPointerQuery, getRandomIndexWordQuery, getSynsetQuery, getSynsetsQuery, getVerbFrameQuery
-
Field Details
-
SENSE_SYNSET_WORD_SQL
The SQL statement to grab a synset word.- See Also:
-
-
Constructor Details
-
SenseAndUsageDatabaseManager
public SenseAndUsageDatabaseManager()Create a new database manager with no connection. -
SenseAndUsageDatabaseManager
Create a new database manager with a connection.- Parameters:
connectionManager- - the connection manager.
-
-
Method Details
-
create
Creates a new database manager from the parameters.- Specified by:
createin interfaceCreateable- Overrides:
createin classDatabaseManagerImpl- Throws:
JWNLException
-
getSynsetWordQuery
- Specified by:
getSynsetWordQueryin interfaceDatabaseManager- Overrides:
getSynsetWordQueryin classDatabaseManagerImpl- Throws:
JWNLException
-