org.datanucleus.query.compiler
Interface Parser

All Known Implementing Classes:
JDOQLParser, JPQLParser, SQLParser

public interface Parser

Interface for a parser of a query. To be implemented for each particular query language. Responsible for taking a String clause of a query and converting it into a Node tree.


Method Summary
 Node compile(java.lang.String expression)
           
 Node[] compileFrom(java.lang.String expression)
           
 Node[] compileOrder(java.lang.String expression)
           
 Node[][] compileParameters(java.lang.String expression)
           
 Node[] compileTupple(java.lang.String expression)
           
 Node compileVariable(java.lang.String expression)
           
 Node[][] compileVariables(java.lang.String expression)
           
 

Method Detail

compile

Node compile(java.lang.String expression)

compileFrom

Node[] compileFrom(java.lang.String expression)

compileOrder

Node[] compileOrder(java.lang.String expression)

compileTupple

Node[] compileTupple(java.lang.String expression)

compileVariables

Node[][] compileVariables(java.lang.String expression)

compileVariable

Node compileVariable(java.lang.String expression)

compileParameters

Node[][] compileParameters(java.lang.String expression)


Copyright © 2009. All Rights Reserved.