org.apache.openjpa.persistence.query
Class LikeExpression

java.lang.Object
  extended by org.apache.openjpa.persistence.query.AbstractVisitable
      extended by org.apache.openjpa.persistence.query.BinaryExpressionPredicate
          extended by org.apache.openjpa.persistence.query.LikeExpression
All Implemented Interfaces:
Serializable, Predicate, Visitable

public class LikeExpression
extends BinaryExpressionPredicate

Denotes e1 LIKE e2 Expression.

Author:
Pinaki Poddar
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.openjpa.persistence.query.BinaryExpressionPredicate
_e1, _e2, _op
 
Fields inherited from class org.apache.openjpa.persistence.query.AbstractVisitable
CLOSE_BRACE, COMMA, EMPTY, OPEN_BRACE
 
Constructor Summary
LikeExpression(Expression e, Expression pattern)
           
LikeExpression(Expression e, Expression pattern, Object echar)
           
 
Method Summary
 String asExpression(AliasContext ctx)
          Get a JPQL fragment as used in WHERE clause.
 
Methods inherited from class org.apache.openjpa.persistence.query.BinaryExpressionPredicate
and, asExpression, getOperand, getOperand2, getOperator, not, or
 
Methods inherited from class org.apache.openjpa.persistence.query.AbstractVisitable
asJoinable, asProjection, getAliasHint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.openjpa.persistence.query.Visitable
asJoinable, asProjection, getAliasHint
 

Constructor Detail

LikeExpression

public LikeExpression(Expression e,
                      Expression pattern,
                      Object echar)

LikeExpression

public LikeExpression(Expression e,
                      Expression pattern)
Method Detail

asExpression

public String asExpression(AliasContext ctx)
Description copied from interface: Visitable
Get a JPQL fragment as used in WHERE clause.

Specified by:
asExpression in interface Visitable
Overrides:
asExpression in class BinaryExpressionPredicate


Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.