use of javax.jdo.query.CharacterExpression in project datanucleus-api-jdo by datanucleus.
the class StringExpressionImpl method charAt.
/* (non-Javadoc)
* @see org.datanucleus.query.typesafe.StringExpression#charAt(int)
*/
public CharacterExpression charAt(int pos) {
List<org.datanucleus.query.expression.Expression> args = new ArrayList();
args.add(new Literal(pos));
org.datanucleus.query.expression.Expression invokeExpr = new InvokeExpression(queryExpr, "charAt", args);
return new CharacterExpressionImpl(invokeExpr);
}
Aggregations