public class JdbcDictionaryImpl extends AbstractBaseDictionary
Constructor and Description |
---|
JdbcDictionaryImpl(Connection conn,
String tableName,
String lookupFieldName) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(String text)
Determines whether the Dictionary contains the specified input text.
|
Collection<MetaDataHit> |
getEntries(String text)
Gets any meta data entries associated with the specified input text.
|
getMetaFieldNames, retainMetaData
public JdbcDictionaryImpl(Connection conn, String tableName, String lookupFieldName)
public boolean contains(String text) throws DictionaryException
text
- The input text.DictionaryException
public Collection<MetaDataHit> getEntries(String text) throws DictionaryException
text
- The input text.DictionaryException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.