Top Methods
org.hibernate.sql.ast.tree.from

public Interface ColumnReferenceQualifier

Known Direct Subinterfaces
org.hibernate.sql.ast.tree.from.TableGroup, org.hibernate.sql.ast.tree.from.TableReference
Known Direct Implementers
org.hibernate.sql.ast.tree.from.AbstractColumnReferenceQualifier
Imports
java.util.Locale, org.hibernate.metamodel.mapping.ValuedModelPart, org.hibernate.spi.NavigablePath

Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public default TableReference
getTableReference(NavigablePath navigablePath, String tableExpression)

public default TableReference
getTableReference(String tableExpression)

public TableReference
getTableReference(NavigablePath
The path for which to look up the table reference, may be null
navigablePath
,
String
The table expression for which to look up the table reference
tableExpression
,
boolean
Whether to potentially create table reference joins for this table group
resolve
)

Returns the table reference for the table expression, or null if not found.

public default TableReference
getTableReference(NavigablePath navigablePath, ValuedModelPart modelPart, String tableExpression, boolean resolve)

public default TableReference
resolveTableReference(String tableExpression)

public default TableReference
resolveTableReference(NavigablePath
The path for which to look up the table reference, may be null
navigablePath
,
String
The table expression for which to look up the table reference
tableExpression
)

Like getTableReference(NavigablePath, String, boolean), but will throw an exception if no table reference can be found, even after resolving possible table reference joins.

public default TableReference
resolveTableReference(NavigablePath navigablePath, ValuedModelPart modelPart, String tableExpression)

Method Detail

getTableReferenceback to summary
public default TableReference getTableReference(NavigablePath navigablePath, String tableExpression)
getTableReferenceback to summary
public default TableReference getTableReference(String tableExpression)
getTableReferenceback to summary
public TableReference getTableReference(NavigablePath navigablePath, String tableExpression, boolean resolve)

Returns the table reference for the table expression, or null if not found.

Parameters
navigablePath:NavigablePath

The path for which to look up the table reference, may be null

tableExpression:String

The table expression for which to look up the table reference

resolve:boolean

Whether to potentially create table reference joins for this table group

getTableReferenceback to summary
public default TableReference getTableReference(NavigablePath navigablePath, ValuedModelPart modelPart, String tableExpression, boolean resolve)
resolveTableReferenceback to summary
public default TableReference resolveTableReference(String tableExpression)
resolveTableReferenceback to summary
public default TableReference resolveTableReference(NavigablePath navigablePath, String tableExpression)

Like getTableReference(NavigablePath, String, boolean), but will throw an exception if no table reference can be found, even after resolving possible table reference joins.

Parameters
navigablePath:NavigablePath

The path for which to look up the table reference, may be null

tableExpression:String

The table expression for which to look up the table reference

Exceptions
UnknownTableReferenceException:
to indicate that the given tableExpression could not be resolved
resolveTableReferenceback to summary
public default TableReference resolveTableReference(NavigablePath navigablePath, ValuedModelPart modelPart, String tableExpression)