org.exolab.castor.jdo.oql
public class ParseTreeWalker extends Object implements TokenTypes
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:25 $
| Field Summary | |
|---|---|
| static int | AGGREGATE |
| static int | DEPENDANT_OBJECT |
| static int | DEPENDANT_OBJECT_VALUE |
| static int | DEPENDANT_VALUE |
| static int | FUNCTION |
| static int | MAX_TABLE_LENGTH |
| static int | PARENT_OBJECT |
| Constructor Summary | |
|---|---|
| ParseTreeWalker(LockEngine dbEngine, ParseTreeNode parseTree, ClassLoader classLoader)
Creates a new parse tree walker. | |
| Method Summary | |
|---|---|
| String | buildTableAlias(String tableName, Vector path, int tableIndex)
Builds the alias name for a table from the path info.
|
| JDOClassDescriptor | getClassDescriptor()
Accessor method for _clsDesc.
|
| Class | getObjClass()
Accessor method for _objClass.
|
| Hashtable | getParamInfo()
Accessor method for _paramInfo.
|
| Vector | getPathInfo()
Method to get path info for the selected object. |
| int | getProjectionType()
Accessor method for _projectionType.
|
| QueryExpression | getQueryExpression()
Accessor method for private _queryExpr member.
|
Parameters: dbEngine The Persistence Engine parseTree The parse tree to walk
Throws: QueryException Thrown by checkErrors.
Parameters: tableName The name of the table to add to the select clause tableAlias The path info vector to build the alias with pathIndex Field index in the path info
Returns: The _clsDesc member.
Returns: The _objClass member.
Returns: The _paramInfo member.
Returns: The _projectionType member.
Returns: private _queryExpr member