com.triactive.jdo.store.sql.expr
Class StringExpression
java.lang.Object
com.triactive.jdo.store.sql.expr.AbstractSqlExpression
com.triactive.jdo.store.sql.expr.StringExpression
- All Implemented Interfaces:
- SqlExpression, StatementTextGenerator
- Direct Known Subclasses:
- StringLiteral
- public class StringExpression
- extends AbstractSqlExpression
Methods inherited from class com.triactive.jdo.store.sql.expr.AbstractSqlExpression |
accessField, and, callMethod, cast, com, div, eor, getColumnMapping, getJavaType, getMapping, getQueryStatement, getReferencedColumns, innermostQuery, innermostQuery, ior, mod, mul, neg, newBody, newBody, newBody, newBody, newBody, newBody, newResultExpression, newSubqueryBody, not, select, setMapping, sub, toStatementText, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StringExpression
public StringExpression(AbstractSqlExpression.Body body)
StringExpression
public StringExpression(QueryStatement.QueryColumn qsc)
eq
public BooleanExpression eq(SqlExpression expr)
- Description copied from interface:
SqlExpression
- Returns a new expression representing "this == expr".
- Specified by:
eq
in interface SqlExpression
- Overrides:
eq
in class AbstractSqlExpression
noteq
public BooleanExpression noteq(SqlExpression expr)
- Description copied from interface:
SqlExpression
- Returns a new expression representing "this != expr".
- Specified by:
noteq
in interface SqlExpression
- Overrides:
noteq
in class AbstractSqlExpression
lt
public BooleanExpression lt(SqlExpression expr)
- Description copied from interface:
SqlExpression
- Returns a new expression representing "this < expr".
- Specified by:
lt
in interface SqlExpression
- Overrides:
lt
in class AbstractSqlExpression
lteq
public BooleanExpression lteq(SqlExpression expr)
- Description copied from interface:
SqlExpression
- Returns a new expression representing "this <= expr".
- Specified by:
lteq
in interface SqlExpression
- Overrides:
lteq
in class AbstractSqlExpression
gt
public BooleanExpression gt(SqlExpression expr)
- Description copied from interface:
SqlExpression
- Returns a new expression representing "this > expr".
- Specified by:
gt
in interface SqlExpression
- Overrides:
gt
in class AbstractSqlExpression
gteq
public BooleanExpression gteq(SqlExpression expr)
- Description copied from interface:
SqlExpression
- Returns a new expression representing "this >= expr".
- Specified by:
gteq
in interface SqlExpression
- Overrides:
gteq
in class AbstractSqlExpression
add
public SqlExpression add(SqlExpression expr)
- Description copied from interface:
SqlExpression
- Returns a new expression representing "this + expr".
- Specified by:
add
in interface SqlExpression
- Overrides:
add
in class AbstractSqlExpression
endsWithMethod
public SqlExpression endsWithMethod(SqlExpression str)
indexOfMethod
public SqlExpression indexOfMethod(SqlExpression str)
lengthMethod
public SqlExpression lengthMethod()
startsWithMethod
public SqlExpression startsWithMethod(SqlExpression str)
startsWithMethod
public SqlExpression startsWithMethod(SqlExpression str,
SqlExpression toffset)
substringMethod
public SqlExpression substringMethod(SqlExpression begin)
substringMethod
public SqlExpression substringMethod(SqlExpression begin,
SqlExpression end)
toLowerCaseMethod
public SqlExpression toLowerCaseMethod()
toUpperCaseMethod
public SqlExpression toUpperCaseMethod()
trimMethod
public SqlExpression trimMethod()
Copyright © 2001-2007 The TJDO Project All Rights Reserved.