|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) E28847-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
org.eclipse.persistence.jpa.internal.jpql.parser.ExpressionFactory
abstract class ExpressionFactory
An ExpressionFactory is responsible to parse a portion of JPQL query that starts with one of the factory's identifiers.
| Field Summary | |
|---|---|
private java.lang.String |
idThe unique identifier of this ExpressionFactory. |
private java.lang.String[] |
identifiersThe JPQL identifiers handled by this factory. |
| Constructor Summary | |
|---|---|
ExpressionFactory(java.lang.String id, java.lang.String... identifiers)Creates a new ExpressionFactory. |
|
| Method Summary | |
|---|---|
(package private) abstract AbstractExpression |
buildExpression(AbstractExpression parent, WordParser wordParser, java.lang.String word, JPQLQueryBNF queryBNF, AbstractExpression expression, boolean tolerant)Creates a new Expression. |
int |
compareTo(ExpressionFactory expressionFactory) |
boolean |
equals(java.lang.Object object) |
(package private) java.lang.String |
getId()Returns the unique identifier of this ExpressionFactory. |
(package private) IJPAVersion |
getVersion()Returns the supported JPA version. |
int |
hashCode() |
(package private) java.lang.String[] |
identifiers()Returns the JPQL identifiers handled by this factory. |
java.lang.String |
toString() |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private final java.lang.String id
ExpressionFactory.private final java.lang.String[] identifiers
| Constructor Detail |
|---|
ExpressionFactory(java.lang.String id,
java.lang.String... identifiers)
ExpressionFactory.
id - The unique identifier of this ExpressionFactoryidentifiers - The JPQL identifiers handled by this factory| Method Detail |
|---|
abstract AbstractExpression buildExpression(AbstractExpression parent,
WordParser wordParser,
java.lang.String word,
JPQLQueryBNF queryBNF,
AbstractExpression expression,
boolean tolerant)
Expression.parent - The parent expressionwordParser - The text to parse based on the current position of the cursorword - The current word to parsequeryBNF - The BNF grammar that was used to identifier this factory to be capable to parse a portion of the queryexpression - During the parsing, it is possible the first part of an expression was parsed which needs to be used as a sub-expression of the newly created expressionExpression representing a portion or the totality of the given textpublic final int compareTo(ExpressionFactory expressionFactory)
compareTo in interface java.lang.Comparable<ExpressionFactory>public final boolean equals(java.lang.Object object)
equals in class java.lang.Objectfinal java.lang.String getId()
ExpressionFactory.ExpressionFactory with ExpressionRegistryIJPAVersion getVersion()
public final int hashCode()
hashCode in class java.lang.Objectfinal java.lang.String[] identifiers()
public final java.lang.String toString()
toString in class java.lang.Object
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||