DbContextRule

A BNF terminal rule that is linked to the database context information. This class is used by the H2 Console, to support auto-complete.

Methods
DbContextRule(DbContents contents, int type)
BNF terminal rule Constructor
DbContextRule(DbContents contents, int type)
BNF terminal rule Constructor
Parameters:
contents - Extract rule from this component
type - Rule type, one of {@link DbContextRule#COLUMN}, {@link DbContextRule#TABLE}, {@link DbContextRule#TABLE_ALIAS}, {@link DbContextRule#NEW_TABLE_ALIAS}, {@link DbContextRule#COLUMN_ALIAS}, {@link DbContextRule#SCHEMA}
void accept(BnfVisitor visitor)
void accept(BnfVisitor visitor)
boolean autoComplete(Sentence sentence)
boolean autoComplete(Sentence sentence)
void setColumnType(String columnType)
void setColumnType(String columnType)
Parameters:
columnType - COLUMN Auto completion can be filtered by column type
void setLinks(HashMap ruleMap)
void setLinks(HashMap ruleMap)