org.apache.openjpa.jdbc.kernel.exps
Class Max

java.lang.Object
  extended by org.apache.openjpa.jdbc.kernel.exps.AbstractVal
      extended by org.apache.openjpa.jdbc.kernel.exps.UnaryOp
          extended by org.apache.openjpa.jdbc.kernel.exps.Max
All Implemented Interfaces:
Serializable, Val, Value

 class Max
extends UnaryOp

Maximum.

Author:
Abe White

Field Summary
 
Fields inherited from class org.apache.openjpa.jdbc.kernel.exps.AbstractVal
FALSE, TRUE
 
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
Max(Val val)
          Constructor.
 
Method Summary
protected  String getOperator()
          Return the name of this operator.
 boolean isAggregate()
          Return true if this value is an aggregate.
 
Methods inherited from class org.apache.openjpa.jdbc.kernel.exps.UnaryOp
acceptVisit, appendTo, calculateValue, getMetaData, getNoParen, getType, getType, getValue, groupBy, initialize, initializeValue, length, load, orderBy, select, selectColumns, setImplicitType, setMetaData
 
Methods inherited from class org.apache.openjpa.jdbc.kernel.exps.AbstractVal
appendIsEmpty, appendIsNotEmpty, appendIsNotNull, appendIsNull, appendSize, getId, isVariable, isXPath, toDataStoreValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Max

public Max(Val val)
Constructor. Provide the value to operate on.

Method Detail

getOperator

protected String getOperator()
Description copied from class: UnaryOp
Return the name of this operator.

Specified by:
getOperator in class UnaryOp

isAggregate

public boolean isAggregate()
Description copied from interface: Value
Return true if this value is an aggregate.

Specified by:
isAggregate in interface Value
Overrides:
isAggregate in class AbstractVal


Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.