Interface Visitable
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbsExpression, AbstractDomainObject, AndPredicate, ArrayExpression, AverageExpression, BetweenExpression, BinaryOperatorExpression, CaseExpressionImpl, ConcatExpression, CountExpression, CurrentTimeExpression, DistinctExpression, DividedByExpression, ElseExpression, EntryExpression, EqualExpression, ExistsExpression, FetchPath, GreaterEqualExpression, GreaterThanExpression, IndexExpression, InExpression, IsEmptyExpression, IsNullExpression, JoinPath, KeyExpression, LengthExpression, LessEqualExpression, LessThanExpression, LikeExpression, LiteralExpression, LocateExpression, LogicalPredicate, LowerExpression, MaxExpression, MemberOfExpression, MinExpression, MinusExpression, NewInstance, NotEqualExpression, OperatorPath, OrderableItem, OrPredicate, ParameterExpression, PlusExpression, QueryDefinitionImpl, RangeExpression, RootPath, SizeExpression, SquareRootExpression, SubStringExpression, SumExpression, TimesExpression, TrimExpression, TypeExpression, UnaryMinusExpression, UpperExpression, ValueExpression, VarArgsExpression
An element of query that is convertible to a JPQL String given a aliasing
scheme. QueryDefinition visits each of its element and translates them.
- Author:
- Pinaki Poddar
-
Method Summary
Modifier and TypeMethodDescriptionasExpression(org.apache.openjpa.persistence.query.AliasContext ctx) Get a JPQL fragment as used in WHERE clause.asJoinable(org.apache.openjpa.persistence.query.AliasContext ctx) Gets the string representation in FROM clause.asProjection(org.apache.openjpa.persistence.query.AliasContext ctx) Gets the string representation in SELECT projection.getAliasHint(org.apache.openjpa.persistence.query.AliasContext ctx) Gets the hint to be used while creating alias.
-
Method Details
-
asExpression
Get a JPQL fragment as used in WHERE clause. -
asProjection
Gets the string representation in SELECT projection. -
asJoinable
Gets the string representation in FROM clause. -
getAliasHint
Gets the hint to be used while creating alias.
-