GigaSpaces XAP 9.7.2 API

org.openspaces.jpa.openjpa.query
Class MatchesExpression

java.lang.Object
  extended by org.openspaces.jpa.openjpa.query.MatchesExpression
All Implemented Interfaces:
Serializable, org.apache.openjpa.kernel.exps.Expression, ExpressionNode
Direct Known Subclasses:
NotMatchesExpression

public class MatchesExpression
extends Object
implements org.apache.openjpa.kernel.exps.Expression, ExpressionNode

Represents a LIKE expression in a JPQL query.

Since:
8.0.1
Author:
Idan Moyal
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.openspaces.jpa.openjpa.query.ExpressionNode
ExpressionNode.NodeType
 
Field Summary
protected  ExpressionNode _candidate
           
protected  ExpressionNode _regularExpression
           
 
Method Summary
 void acceptVisit(org.apache.openjpa.kernel.exps.ExpressionVisitor visitor)
           
 void appendSql(StringBuilder sql)
          Appends the node SQL string to the string builder.
 ExpressionNode.NodeType getNodeType()
          Gets the node type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_candidate

protected ExpressionNode _candidate

_regularExpression

protected ExpressionNode _regularExpression
Method Detail

acceptVisit

public void acceptVisit(org.apache.openjpa.kernel.exps.ExpressionVisitor visitor)
Specified by:
acceptVisit in interface org.apache.openjpa.kernel.exps.Expression

appendSql

public void appendSql(StringBuilder sql)
Description copied from interface: ExpressionNode
Appends the node SQL string to the string builder.

Specified by:
appendSql in interface ExpressionNode
Parameters:
sql - The SQL string builder to append to.

getNodeType

public ExpressionNode.NodeType getNodeType()
Description copied from interface: ExpressionNode
Gets the node type

Specified by:
getNodeType in interface ExpressionNode
Returns:
The node type.

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.