org.apache.openjpa.jdbc.kernel.exps
Class ToLowerCase
java.lang.Object
org.apache.openjpa.jdbc.kernel.exps.AbstractVal
org.apache.openjpa.jdbc.kernel.exps.StringFunction
org.apache.openjpa.jdbc.kernel.exps.ToLowerCase
- All Implemented Interfaces:
- Serializable, Val, Value
public class ToLowerCase
- extends StringFunction
Lower-cases a string.
- Author:
- Abe White
- See Also:
- Serialized Form
Fields inherited from interface org.apache.openjpa.jdbc.kernel.exps.Val |
ABS_VAL, ARGS_VAL, CMP_EQUAL, COALESCE_VAL, CONCAT_VAL, FORCE_OUTER, GENERALCASE_VAL, INDEXOF_VAL, JOIN_REL, LENGTH_VAL, LOCATE_VAL, LOWER_VAL, MATH_VAL, NULL_CMP, NULLIF_VAL, SIMPLECASE_VAL, SQRT_VAL, SUBSTRING_VAL, TRIM_VAL, UPPER_VAL, VAL, WHENCONDITION_VAL, WHENSCALAR_VAL |
Methods inherited from class org.apache.openjpa.jdbc.kernel.exps.StringFunction |
acceptVisit, calculateValue, getMetaData, getType, getValue, groupBy, initialize, length, load, orderBy, select, selectColumns, setImplicitType, setMetaData |
Methods inherited from class org.apache.openjpa.jdbc.kernel.exps.AbstractVal |
appendIndex, appendIsEmpty, appendIsNotEmpty, appendIsNotNull, appendIsNull, appendSize, appendType, getAlias, getName, getPath, getSelectAs, isAggregate, isVariable, isXPath, setAlias, toDataStoreValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ToLowerCase
public ToLowerCase(Val val)
- Constructor. Provide the string to operate on.
appendTo
public void appendTo(Select sel,
ExpContext ctx,
ExpState state,
SQLBuffer buf,
int index)
- Description copied from interface:
Val
- Append the
index
th SQL element to the given buffer.
getId
public int getId()
- Specified by:
getId
in interface Val
- Overrides:
getId
in class AbstractVal
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.