|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.persistence.query.AbstractVisitable org.apache.openjpa.persistence.query.ExpressionImpl org.apache.openjpa.persistence.query.BinaryOperatorExpression org.apache.openjpa.persistence.query.LocateExpression
public class LocateExpression
Denotes LOCATE(e1, e2, n) Expression. e1 : string to be located e2 : string to be searched n : starting poistion in e2, default is 1
Field Summary |
---|
Fields inherited from class org.apache.openjpa.persistence.query.BinaryOperatorExpression |
---|
_e1, _e2, _op |
Fields inherited from class org.apache.openjpa.persistence.query.AbstractVisitable |
---|
CLOSE_BRACE, COMMA, EMPTY, OPEN_BRACE, SPACE |
Constructor Summary | |
---|---|
LocateExpression(Expression key,
Expression str,
Expression start)
|
|
LocateExpression(Expression key,
Expression str,
int start)
|
|
LocateExpression(Expression key,
String str,
Expression start)
|
|
LocateExpression(Expression key,
String str,
int start)
|
Method Summary | |
---|---|
String |
asExpression(AliasContext ctx)
Get a JPQL fragment as used in WHERE clause. |
Methods inherited from class org.apache.openjpa.persistence.query.BinaryOperatorExpression |
---|
asProjection, getOperand1, getOperand2, getOperator |
Methods inherited from class org.apache.openjpa.persistence.query.ExpressionImpl |
---|
abs, asc, between, between, between, between, between, between, between, between, between, between, between, between, between, concat, concat, desc, dividedBy, dividedBy, equal, equal, equal, equal, equal, equal, equal, equal, getAliasHint, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, in, in, in, in, in, in, isNull, length, lessEqual, lessEqual, lessEqual, lessEqual, lessEqual, lessThan, lessThan, lessThan, lessThan, lessThan, like, like, like, like, like, like, locate, locate, locate, locate, locate, locate, lower, member, minus, minus, minus, mod, mod, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, plus, plus, sqrt, substring, substring, substring, substring, substring, substring, times, times, trim, trim, trim, trim, trim, trim, upper |
Methods inherited from class org.apache.openjpa.persistence.query.AbstractVisitable |
---|
asJoinable |
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 |
Constructor Detail |
---|
public LocateExpression(Expression key, String str, int start)
public LocateExpression(Expression key, Expression str, int start)
public LocateExpression(Expression key, String str, Expression start)
public LocateExpression(Expression key, Expression str, Expression start)
Method Detail |
---|
public String asExpression(AliasContext ctx)
Visitable
asExpression
in interface Visitable
asExpression
in class BinaryOperatorExpression
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |