/*
 * Hibernate, Relational Persistence for Idiomatic Java
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later.
 * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
 */
package org.hibernate.query.criteria.internal.expression.function;
import javax.persistence.criteria.Expression;

Contract for expressions which model a SQL function call.
Author:Steve Ebersole
Type parameters:
  • <T> – The type of the function result.
/** * Contract for expressions which model a SQL function call. * * @param <T> The type of the function result. * * @author Steve Ebersole */
public interface FunctionExpression<T> extends Expression<T> {
Retrieve the name of the function.
Returns:The function name.
/** * Retrieve the name of the function. * * @return The function name. */
public String getFunctionName();
Is this function a value aggregator (like a COUNT or MAX function e.g.)?
Returns:True if this functions does aggregation.
/** * Is this function a value aggregator (like a <tt>COUNT</tt> or <tt>MAX</tt> function e.g.)? * * @return True if this functions does aggregation. */
public boolean isAggregation(); }