org.apache.openjpa.jdbc.kernel.exps
Class Sqrt
java.lang.Object
org.apache.openjpa.jdbc.kernel.exps.AbstractVal
org.apache.openjpa.jdbc.kernel.exps.UnaryOp
org.apache.openjpa.jdbc.kernel.exps.Sqrt
- All Implemented Interfaces:
- Serializable, Val, Value
public class Sqrt
- extends UnaryOp
Square root.
- Author:
- Abe White
- See Also:
- Serialized Form
Fields inherited from interface org.apache.openjpa.jdbc.kernel.exps.Val |
ABS_VAL, ARGS_VAL, CONCAT_VAL, FORCE_OUTER, INDEXOF_VAL, JOIN_REL, LENGTH_VAL, LOCATE_VAL, LOWER_VAL, MATH_VAL, NULL_CMP, SQRT_VAL, SUBSTRING_VAL, TRIM_VAL, UPPER_VAL, VAL |
Constructor Summary |
Sqrt(Val val)
Constructor. |
Methods inherited from class org.apache.openjpa.jdbc.kernel.exps.UnaryOp |
acceptVisit, appendTo, calculateValue, getMetaData, getNoParen, getType, getValue, groupBy, initialize, initializeValue, length, load, orderBy, select, selectColumns, setImplicitType, setMetaData |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Sqrt
public Sqrt(Val val)
- Constructor. Provide the value to operate on.
getType
protected Class getType(Class c)
- Description copied from class:
UnaryOp
- Return the type of this value based on the argument type. Returns
the argument type by default.
- Overrides:
getType
in class UnaryOp
getOperator
protected String getOperator()
- Description copied from class:
UnaryOp
- Return the name of this operator.
- Specified by:
getOperator
in class UnaryOp
getId
public int getId()
- Specified by:
getId
in interface Val
- Overrides:
getId
in class AbstractVal
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.