public class JPQLStatement extends Object
JPQLStatement.JPQLStatementBuilder
. Based upon the JPQL
Context types ( JPQLContextType
different
kinds of JPQL statements are built.
The JPQL statements thus generated can be executed using JPA Query APIs to fetch JPA entities.JPQLBuilderFactory
,
JPQLContextView
Modifier and Type | Class and Description |
---|---|
static class |
JPQLStatement.DELIMITER |
static class |
JPQLStatement.JPQLStatementBuilder
The abstract class is extended by specific JPQL statement builders for
building JPQL statements like
Select statements
Select single statements
Select statements with Join
Insert/Modify/Delete statements
A default statement builder for building each kind of JPQL statements is
provided by the library.
|
static class |
JPQLStatement.KEYWORD |
static class |
JPQLStatement.Operator |
Modifier and Type | Method and Description |
---|---|
static JPQLStatement.JPQLStatementBuilder |
createBuilder(JPQLContextView context)
The method is used for creating an instance of JPQL Statement Builder for
building JPQL statements.
|
String |
toString()
The method provides a String representation of JPQLStatement.
|
protected String statement
public static JPQLStatement.JPQLStatementBuilder createBuilder(JPQLContextView context) throws ODataJPARuntimeException
context
- a non null value of JPQLContextView
. The context is
expected to be set to be built with no
errors.ODataJPARuntimeException
Copyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.