|
||||||||||
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.UnaryOperatorExpression org.apache.openjpa.persistence.query.SubStringExpression
public class SubStringExpression
Denotes SUBSTR(a,i1,i2) Expression.
Field Summary |
---|
Fields inherited from class org.apache.openjpa.persistence.query.UnaryOperatorExpression |
---|
_e, _op |
Fields inherited from class org.apache.openjpa.persistence.query.AbstractVisitable |
---|
CLOSE_BRACE, COMMA, EMPTY, OPEN_BRACE, SPACE |
Constructor Summary | |
---|---|
SubStringExpression(Expression op,
Expression start)
|
|
SubStringExpression(Expression op,
Expression start,
Expression l)
|
|
SubStringExpression(Expression op,
int start)
|
|
SubStringExpression(Expression op,
int start,
int len)
|
Method Summary | |
---|---|
String |
asExpression(AliasContext ctx)
Get a JPQL fragment as used in WHERE clause. |
Methods inherited from class org.apache.openjpa.persistence.query.UnaryOperatorExpression |
---|
asProjection, distinct, getOperand, 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.Expression |
---|
abs, concat, concat, dividedBy, dividedBy, in, in, in, in, in, in, isNull, length, locate, locate, locate, locate, locate, locate, lower, member, minus, minus, minus, mod, mod, plus, plus, sqrt, substring, substring, substring, substring, substring, substring, times, times, trim, trim, trim, trim, trim, trim, upper |
Methods inherited from interface org.apache.openjpa.persistence.query.SelectItem |
---|
asc, desc |
Methods inherited from interface org.apache.openjpa.persistence.query.PredicateOperand |
---|
between, between, between, between, between, between, between, between, between, between, between, between, between, equal, equal, equal, equal, equal, equal, equal, equal, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterEqual, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, lessEqual, lessEqual, lessEqual, lessEqual, lessEqual, lessThan, lessThan, lessThan, lessThan, lessThan, like, like, like, like, like, like, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual |
Methods inherited from interface org.apache.openjpa.persistence.query.Visitable |
---|
asJoinable |
Constructor Detail |
---|
public SubStringExpression(Expression op, Expression start)
public SubStringExpression(Expression op, int start)
public SubStringExpression(Expression op, int start, int len)
public SubStringExpression(Expression op, Expression start, Expression l)
Method Detail |
---|
public String asExpression(AliasContext ctx)
Visitable
asExpression
in interface Visitable
asExpression
in class UnaryOperatorExpression
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |