org.datanucleus.query.expression
Class ExpressionCompiler

java.lang.Object
  extended by org.datanucleus.query.expression.ExpressionCompiler

public class ExpressionCompiler
extends java.lang.Object

Compiler for expressions. Responsible for taking a Node tree and creating an Expression tree.


Constructor Summary
ExpressionCompiler()
           
 
Method Summary
 Expression compileExpression(Node node)
          Primary entry point for compiling a node for the filter, grouping, having, result clauses.
 Expression compileFromExpression(Node node)
          Primary entry point for compiling a node for the from clause.
 Expression compileOrderExpression(Node node)
          Primary entry point for compiling a node for the order clause.
 void setSymbolTable(SymbolTable symtbl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionCompiler

public ExpressionCompiler()
Method Detail

setSymbolTable

public void setSymbolTable(SymbolTable symtbl)

compileOrderExpression

public Expression compileOrderExpression(Node node)
Primary entry point for compiling a node for the order clause.

Parameters:
node - The node
Returns:
Its compiled expression

compileFromExpression

public Expression compileFromExpression(Node node)
Primary entry point for compiling a node for the from clause.

Parameters:
node - The node
Returns:
Its compiled expression

compileExpression

public Expression compileExpression(Node node)
Primary entry point for compiling a node for the filter, grouping, having, result clauses.

Parameters:
node - The node
Returns:
Its compiled expression


Copyright © 2009. All Rights Reserved.