All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.loader.plan.spi.ScalarReturn Maven / Gradle / Ivy

There is a newer version: 7.0.0.Alpha1
Show newest version
/*
 * 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 .
 */
package org.hibernate.loader.plan.spi;

import org.hibernate.engine.spi.SessionFactoryImplementor;
import org.hibernate.type.Type;

/**
 * Represent a simple scalar return within a query result.  Generally this would be values of basic (String, Integer,
 * etc) or composite types.
 *
 * @author Steve Ebersole
 * @author Gail Badner
 */
public interface ScalarReturn extends Return {

	/**
	 * Gets the name of the scalar return.
	 *
	 * @return The name of the scalar return.
	 */
	public String getName();

	/**
	 * Gets the type of the scalar return.
	 *
	 * @return The type of the scalar return.
	 */
	public Type getType();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy