org.apache.olingo.odata2.jpa.processor.api.jpql
Class JPQLStatement.JPQLStatementBuilder

java.lang.Object
  extended by org.apache.olingo.odata2.jpa.processor.api.jpql.JPQLStatement.JPQLStatementBuilder
Enclosing class:
JPQLStatement

public abstract static class JPQLStatement.JPQLStatementBuilder
extends Object

The abstract class is extended by specific JPQL statement builders for building JPQL statements like

  1. Select statements
  2. Select single statements
  3. Select statements with Join
  4. Insert/Modify/Delete statements
A default statement builder for building each kind of JPQL statements is provided by the library.


Constructor Summary
protected JPQLStatement.JPQLStatementBuilder()
           
 
Method Summary
abstract  JPQLStatement build()
          The abstract method is implemented by specific statement builder for building JPQL Statement.
protected  JPQLStatement createStatement(String statement)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JPQLStatement.JPQLStatementBuilder

protected JPQLStatement.JPQLStatementBuilder()
Method Detail

createStatement

protected final JPQLStatement createStatement(String statement)

build

public abstract JPQLStatement build()
                             throws ODataJPARuntimeException
The abstract method is implemented by specific statement builder for building JPQL Statement.

Returns:
an instance of JPQLStatement
Throws:
ODataJPARuntimeException - in case there are errors building the statements


Copyright © 2013-2015 The Apache Software Foundation. All Rights Reserved.