| Modifier and Type | Field and Description |
|---|---|
| private SQLParser | |
| private Object | |
| private final CompilerContext | |
| private CharStream | |
| pack-priv static final int | |
| protected String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private SQLParser | |
| public String | Returns: Current SQL text string.Implements org. Returns the current SQL text string that is being parsed. |
| protected Object | |
| public Visitable | parseSearchCondition(String
the SQL fragment to parse sqlFragment)Implements org. Parse an SQL fragment that represents a |
| public Visitable | parseStatement(String statementSQLText)
Implements org.
|
| public Visitable | Returns: A QueryTree representing the parsed statementStatement to parse statementSQLText, Object[] parameter defaults. Passed around as an array
of objects, but is really an array of StorableDataValues paramDefaults)Implements org. Parse a statement and return a query tree. |
| private Visitable | Returns: parse tree for the SQLthe SQL statement or fragment to parse sql, Object[] parameter defaults to pass on to the parser
in the case where paramDefaults, boolean sql is a full SQL statementtrue if sql is a full SQL statement,
false if it is a fragmentParse a full SQL statement or a fragment that represents a
|
| cachedParser | back to summary |
|---|---|
| private SQLParser cachedParser | |
| cachedTokenManager | back to summary |
|---|---|
| private Object cachedTokenManager | |
| cc | back to summary |
|---|---|
| private final CompilerContext cc | |
| charStream | back to summary |
|---|---|
| private CharStream charStream | |
| LARGE_TOKEN_SIZE | back to summary |
|---|---|
| pack-priv static final int LARGE_TOKEN_SIZE | |
| SQLtext | back to summary |
|---|---|
| protected String SQLtext | |
| ParserImpl | back to summary |
|---|---|
| public ParserImpl(CompilerContext cc) Constructor for Parser | |
| getParser | back to summary |
|---|---|
| private SQLParser getParser() new parser, appropriate for the ParserImpl object. | |
| getSQLtext | back to summary |
|---|---|
| public String getSQLtext() Implements org. Returns the current SQL text string that is being parsed.
| |
| getTokenManager | back to summary |
|---|---|
| protected Object getTokenManager() Returns a initialized (clean) TokenManager, paired w. the Parser in getParser, Appropriate for this ParserImpl object. | |
| parseSearchCondition | back to summary |
|---|---|
| public Visitable parseSearchCondition(String sqlFragment) throws StandardException Implements org. Doc from org. Parse an SQL fragment that represents a
| |
| parseStatement | back to summary |
|---|---|
| public Visitable parseStatement(String statementSQLText) throws StandardException Implements org. | |
| parseStatement | back to summary |
|---|---|
| public Visitable parseStatement(String statementSQLText, Object[] paramDefaults) throws StandardException Implements org. Parse a statement and return a query tree. Implements the Parser interface
| |
| parseStatementOrSearchCondition | back to summary |
|---|---|
| private Visitable parseStatementOrSearchCondition(String sql, Object[] paramDefaults, boolean isStatement) throws StandardException Parse a full SQL statement or a fragment that represents a
| |