org.hibernate.hql.internal.ast.tree.ResolvableNode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-core Show documentation
Show all versions of hibernate-core Show documentation
JPMS Module-Info's for a few of the Jakarta Libraries just until they add them in themselves
/*
* 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.hql.internal.ast.tree;
import org.hibernate.relocated.org.hibernate.relocated.antlr.SemanticException;
import org.hibernate.relocated.org.hibernate.relocated.antlr.collections.AST;
/**
* The contract for expression sub-trees that can resolve themselves.
*
* @author josh
*/
public interface ResolvableNode {
/**
* Does the work of resolving an identifier or a dot
*/
void resolve(boolean generateJoin, boolean implicitJoin, String classAlias, AST parent, AST parentPredicate) throws SemanticException;
/**
* Does the work of resolving an identifier or a dot, but without a parent predicate node
*/
void resolve(boolean generateJoin, boolean implicitJoin, String classAlias, AST parent) throws SemanticException;
/**
* Does the work of resolving an identifier or a dot, but without a parent predicate node or parent node
*/
void resolve(boolean generateJoin, boolean implicitJoin, String classAlias) throws SemanticException;
/**
* Does the work of resolving an identifier or a dot, but without a parent predicate node or parent node or alias
*/
void resolve(boolean generateJoin, boolean implicitJoin) throws SemanticException;
/**
* Does the work of resolving inside of the scope of a function call
*/
void resolveInFunctionCall(boolean generateJoin, boolean implicitJoin) throws SemanticException;
/**
* Does the work of resolving an index [].
*/
void resolveIndex(AST parent) throws SemanticException;
}