Top Description Fields Constructors Methods
org.hibernate.hql.internal.ast.util

public final Class PathHelper

extends Object
Class Inheritance
Imports
org.hibernate.hql.internal.antlr.HqlSqlTokenTypes, org.hibernate.internal.CoreMessageLogger, org.hibernate.internal.util.StringHelper, org.jboss.logging.Logger, antlr.ASTFactory, antlr.collections.AST

Provides utility methods for paths.
Author
josh

Field Summary

Modifier and TypeField and Description
private static final CoreMessageLogger

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static String
public static AST

Returns:

An HQL AST representing the path.
parsePath
(String
The path.
path
,
ASTFactory
The AST factory to use.
factory
)

Turns a path into an AST.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

LOGback to summary
private static final CoreMessageLogger LOG

Constructor Detail

PathHelperback to summary
private PathHelper()

Method Detail

getAliasback to summary
public static String getAlias(String path)
parsePathback to summary
public static AST parsePath(String path, ASTFactory factory)

Turns a path into an AST.

Parameters
path:String

The path.

factory:ASTFactory

The AST factory to use.

Returns:AST

An HQL AST representing the path.