Interface Visitable
-
- All Superinterfaces:
java.io.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
public interface Visitable extends java.io.SerializableAn 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringasExpression(org.apache.openjpa.persistence.query.AliasContext ctx)Get a JPQL fragment as used in WHERE clause.java.lang.StringasJoinable(org.apache.openjpa.persistence.query.AliasContext ctx)Gets the string representation in FROM clause.java.lang.StringasProjection(org.apache.openjpa.persistence.query.AliasContext ctx)Gets the string representation in SELECT projection.java.lang.StringgetAliasHint(org.apache.openjpa.persistence.query.AliasContext ctx)Gets the hint to be used while creating alias.
-
-
-
Method Detail
-
asExpression
java.lang.String asExpression(org.apache.openjpa.persistence.query.AliasContext ctx)
Get a JPQL fragment as used in WHERE clause.
-
asProjection
java.lang.String asProjection(org.apache.openjpa.persistence.query.AliasContext ctx)
Gets the string representation in SELECT projection.
-
asJoinable
java.lang.String asJoinable(org.apache.openjpa.persistence.query.AliasContext ctx)
Gets the string representation in FROM clause.
-
getAliasHint
java.lang.String getAliasHint(org.apache.openjpa.persistence.query.AliasContext ctx)
Gets the hint to be used while creating alias.
-
-