|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.persistence.jpa.jpql.parser.ExpressionFactory
org.eclipse.persistence.jpa.jpql.parser.AbstractLiteralExpressionFactory
public abstract class AbstractLiteralExpressionFactory
This factory is responsible to return the right literal expression.
StringLiteral,
InputParameter,
NumericLiteral,
KeywordExpression,
StateFieldPathExpression,
IdentificationVariable| Constructor Summary | |
|---|---|
protected |
AbstractLiteralExpressionFactory(java.lang.String id)
Creates a new AbstractLiteralExpressionFactory. |
| Method Summary | |
|---|---|
protected abstract AbstractExpression |
buildExpression(AbstractExpression parent,
WordParser wordParser,
java.lang.String word,
AbstractExpression expression,
boolean tolerant)
Creates the actual AbstractExpression this factory manages. |
protected AbstractExpression |
buildExpression(AbstractExpression parent,
WordParser wordParser,
java.lang.String word,
JPQLQueryBNF queryBNF,
AbstractExpression expression,
boolean tolerant)
Creates a new Expression. |
protected boolean |
isCollection()
Determines |
| Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.ExpressionFactory |
|---|
compareTo, equals, getExpressionRegistry, getFallBackExpressionFactoryId, getId, hashCode, identifiers, setFallBackExpressionFactory, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractLiteralExpressionFactory(java.lang.String id)
AbstractLiteralExpressionFactory.
id - The unique identifier of this ExpressionFactory| Method Detail |
|---|
protected abstract AbstractExpression buildExpression(AbstractExpression parent,
WordParser wordParser,
java.lang.String word,
AbstractExpression expression,
boolean tolerant)
AbstractExpression this factory manages.
parent - The parent AbstractExpressionwordParser - The text to parse based on the current position of the cursorword - The current word being parsedexpression - 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 expression
AbstractExpression representing the portion or the totality of the
text held by WordParser starting at the cursor position
protected AbstractExpression buildExpression(AbstractExpression parent,
WordParser wordParser,
java.lang.String word,
JPQLQueryBNF queryBNF,
AbstractExpression expression,
boolean tolerant)
Expression.
buildExpression in class ExpressionFactoryparent - 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 expression
Expression representing a portion or the totality of the given textprotected boolean isCollection()
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||