| java.lang.Object org.h2.bnf.Sentence
Sentence | public class Sentence (Code) | | A query context object. It contains the list of table and alias objects.
Used for autocomplete.
|
CONTEXT | final public static int CONTEXT(Code) | | The possible choices of the item depend on the context.
For example the item represents a table name of the current database.
|
FUNCTION | final static int FUNCTION(Code) | | |
KEYWORD | final static int KEYWORD(Code) | | |
add | public void add(String n, String string, int type)(Code) | | Add a word to the set of next tokens.
Parameters: n - the token name Parameters: string - an example text Parameters: type - the type |
addAlias | public void addAlias(String alias, DbTableOrView table)(Code) | | Add an alias name and object
Parameters: alias - the alias name Parameters: table - the alias table |
addTable | public void addTable(DbTableOrView table)(Code) | | Add a table.
Parameters: table - the table |
getAliases | public HashMap getAliases()(Code) | | Get the alias map.
the alias map |
getTables | public HashSet getTables()(Code) | | Get the set of tables.
the set of tables |
|
|