Top Description Constructors Methods
org.eclipse.persistence.jpa.jpql.parser

public final Class MaxFunction

extends AggregateFunction
Class Inheritance

One of the aggregate functions. The arguments must correspond to orderable state-field types (i.e., numeric types, string types, character types, or date types). The return type of this function is based on the state-field's type.
BNF: expression ::= MAX([DISTINCT] state_field_path_expression)
Author
Pascal Filion
Since
2.3
Version
2.5

Constructor Summary

AccessConstructor and Description
public
MaxFunction(AbstractExpression
The parent of this expression
parent
)

Creates a new MaxFunction.

Method Summary

Modifier and TypeMethod and Description
public void
accept(ExpressionVisitor
The ExpressionVisitor to visit this object
visitor
)

Implements org.eclipse.persistence.jpa.jpql.parser.Expression.accept.

Visits this Expression by the given visitor.
Inherited from org.eclipse.persistence.jpa.jpql.parser.AggregateFunction:
addOrderedEncapsulatedExpressionTobuildEncapsulatedExpressiongetActualDistinctIdentifiergetEncapsulatedExpressionQueryBNFIdgetQueryBNFhasDistincthasSpaceAfterDistinctparseEncapsulatedExpressiontoParsedTextEncapsulatedExpression

Constructor Detail

MaxFunctionback to summary
public MaxFunction(AbstractExpression parent)

Creates a new MaxFunction.

Parameters
parent:AbstractExpression

The parent of this expression

Method Detail

acceptback to summary
public void accept(ExpressionVisitor visitor)

Implements org.eclipse.persistence.jpa.jpql.parser.Expression.accept.

Doc from org.eclipse.persistence.jpa.jpql.parser.Expression.accept.

Visits this Expression by the given visitor.

Parameters
visitor:ExpressionVisitor

The ExpressionVisitor to visit this object

Annotations
@Override