public final class QuerySuggest extends QueryParser
funcs, mods, modules, namespaces, vars
Constructor and Description |
---|
QuerySuggest(String query,
QueryContext qc,
Data data)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
checkPred(boolean open)
Checks a predicate.
|
protected void |
checkTest(Test test,
boolean attr)
Performs an optional test check.
|
StringList |
complete()
Sorts and returns the query suggestions.
|
QueryException |
error(QueryError err,
Object... arg)
Creates the specified error.
|
module, parseLibrary, parseMain
public QuerySuggest(String query, QueryContext qc, Data data) throws QueryException
query
- query stringqc
- query contextdata
- data referenceQueryException
- query exceptionpublic StringList complete()
protected void checkTest(Test test, boolean attr)
QueryParser
test
- node testattr
- attribute flagprotected void checkPred(boolean open)
QueryParser
open
- open flagpublic QueryException error(QueryError err, Object... arg)
QueryParser
err
- error to be thrownarg
- error argumentsCopyright © 2005–2015 BaseX Team. All rights reserved.