org.datanucleus.query.compiler
Interface Parser

All Known Implementing Classes:
JDOQLParser, JPQLParser

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 parse(java.lang.String expression)
           
 Node[] parseFrom(java.lang.String expression)
           
 Node[] parseOrder(java.lang.String expression)
           
 Node[][] parseParameters(java.lang.String expression)
           
 Node[] parseResult(java.lang.String expression)
           
 Node[] parseTupple(java.lang.String expression)
           
 Node[] parseUpdate(java.lang.String expression)
           
 Node parseVariable(java.lang.String expression)
           
 Node[][] parseVariables(java.lang.String expression)
           
 

Method Detail

parse

Node parse(java.lang.String expression)

parseFrom

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

parseUpdate

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

parseOrder

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

parseResult

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

parseTupple

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

parseVariables

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

parseVariable

Node parseVariable(java.lang.String expression)

parseParameters

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


Copyright © 2011. All Rights Reserved.