org.makumba.providers
Class QueryAnalysisProvider.FromWhere
java.lang.Object
org.makumba.providers.QueryAnalysisProvider.FromWhere
- Enclosing class:
- QueryAnalysisProvider
public static class QueryAnalysisProvider.FromWhere
- extends Object
A holder for FROM and WHERE sections to enrich a query, and the query enrichment code. Can be called repeatedly
on the same query. FIXME: for now only adding to the root query is performed
- Version:
- $Id: QueryAnalysisProvider.java 5151 2010-05-18 19:07:27Z rosso_nero $
- Author:
- cristi
Method Summary |
void |
addActor(antlr.collections.AST actorType,
String paramSyntax)
|
void |
addFrom(antlr.collections.AST from)
|
void |
addFromWhere(antlr.collections.AST from,
antlr.collections.AST where)
|
void |
addToTreeFromWhere(antlr.collections.AST query)
Add to a query the ranges and the where conditions that were found. |
void |
addWhere(antlr.collections.AST where)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
actors
Set<String> actors
QueryAnalysisProvider.FromWhere
public QueryAnalysisProvider.FromWhere()
addFromWhere
public void addFromWhere(antlr.collections.AST from,
antlr.collections.AST where)
addFrom
public void addFrom(antlr.collections.AST from)
addWhere
public void addWhere(antlr.collections.AST where)
addActor
public void addActor(antlr.collections.AST actorType,
String paramSyntax)
addToTreeFromWhere
public void addToTreeFromWhere(antlr.collections.AST query)
- Add to a query the ranges and the where conditions that were found. The AST is assumed to be the root of a
query