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

org.hibernate.hql.ast.tree.OperatorNode Maven / Gradle / Ivy

The newest version!
package org.hibernate.hql.ast.tree;

import org.hibernate.type.Type;
import antlr.SemanticException;

/**
 * Contract for nodes representing operators (logic or arithmetic).
 *
 * @author Steve Ebersole 
 */
public interface OperatorNode {
	/**
	 * Called by the tree walker during hql-sql semantic analysis
	 * after the operator sub-tree is completely built.
	 */
	public abstract void initialize() throws SemanticException;

	/**
	 * Retrieves the data type for the overall operator expression.
	 *
	 * @return The expression's data type.
	 */
	public Type getDataType();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy