Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.basex.query
Class QuerySuggest

    java.lang.Object
      org.basex.util.InputParser
          org.basex.query.QueryParser
              org.basex.query.QuerySuggest

    public final class QuerySuggest

extends QueryParser

This class analyzes the current path and gives suggestions for code completions.

Author:
  Workgroup DBIS, University of Konstanz 2005-09, ISC License, Christian Gruen

Field Summary

Fields inherited from class org.basex.query.QueryParser
`modLoaded`

Fields inherited from class org.basex.util.InputParser
`file, ql, qm, qp, qu`

Constructor Summary
`QuerySuggest(QueryContext c, Context context)` Constructor.

Method Summary
`StringList` | `complete()` Sorts and returns the query suggestions.

Methods inherited from class org.basex.query.QueryParser
`parse, parse, path`

Methods inherited from class org.basex.util.InputParser
`consume, consume, consumeWS, curr, curr, ent, found, init, invalidEnt, mark, more, next, quote, rest, valid`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### QuerySuggest

    public QuerySuggest(QueryContext c,
                        Context context)

  Constructor.

  Parameters:
    `c` - QueryContext
    `context` - Context

Method Detail

### complete

    public StringList complete()

  Sorts and returns the query suggestions.

  Returns:
    completions

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD