|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SpellChecker
SpellChecker defines an interface to run a spellchecker over
a fulltext query statement.
| Method Summary | |
|---|---|
String |
check(QueryRootNode aqt)
Runs the spell checker over the first spellcheck relation query node in the abstract query tree and returns a suggestion in case this spellchecker thinks the words are misspelled. |
void |
close()
Closes this spell checker and allows it to free resources. |
void |
init(QueryHandler handler)
Initializes this spell checker with an abstract query tree. |
| Method Detail |
|---|
void init(QueryHandler handler)
throws IOException
handler - the query handler that created this spell checker.
IOException - if an error occurs while initializing the spell
checker.
String check(QueryRootNode aqt)
throws IOException
null is
returned.
aqt - the abstract query tree, which may contain a relation query
node with a spellcheck operation.
null if this spell checker
determines that the fulltext query statement is spelled
correctly.
IOExceptionvoid close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||