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