SqlASTFactory
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final AliasGenerator | |
| private ArrayList | |
| private final String | |
| private FromClause | |
| private final HqlParser | |
| private int | |
| private final LiteralProcessor | |
| private static final Logger | |
| private Map | |
| private int | |
| private int | |
| private ArrayList | |
| private final ParseErrorHandler | |
| private int | |
| private final ASTPrinter | |
| private Set | |
| private final QueryTranslatorImpl | |
| private SelectClause | |
| private Map | selectExpressionsByResultVariable
Maps each top-level result variable to its SelectExpression; (excludes result variables defined in subqueries) |
| private final SessionFactoryHelper | |
| private final Map | |
| private final boolean | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | HqlSqlWalker(QueryTranslatorImpl
Back pointer to the query translator implementation that is using this tree transform. qti, SessionFactoryImplementor The session factory implementor where the Hibernate mappings can be found. sfi, HqlParser A reference to the phase-1 parser parser, Map<K, V> Registers the token replacement map with the walker. This map will
be used to substitute function names and constants. tokenReplacements, String The collection role name of the collection used as the basis for the
filter, NULL if this is not a collection filter compilation. collectionRole)Create a new tree transformer. |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| protected void | |
| private String | |
| protected AST | createFromElement(String path, AST alias, AST propertyFetch)
Overrides org. |
| protected AST | createFromFilterElement(AST filterEntity, AST alias)
Overrides org. |
| protected void | createFromJoinElement(AST path, AST alias, int joinType, AST fetchNode, AST propertyFetch, AST with)
Overrides org. |
| protected AST | createIntoClause(String path, AST propertySpec)
Overrides org. |
| private void | |
| protected void | |
| private void | |
| protected AST | generateNamedParameter(AST delimiterNode, AST nameNode)
Overrides org. |
| protected AST | |
| private AST | generateSyntheticDotNodeForNonQualifiedPropertyRef(AST property, FromElement fromElement)
Deprecated
as a consequence of
FromElement being deprecated.
|
| private AST | |
| public AliasGenerator | |
| public ArrayList | |
| public ASTPrinter | |
| public String | |
| public FromClause | |
| public Map | |
| public FromClause | |
| public int | |
| public LiteralProcessor | |
| public int[] | getNamedParameterLocations(String name)
Implements org. |
| public int | |
| public ArrayList | |
| public ParseErrorHandler | |
| public Set | Returns: A set of table names (Strings).Returns the set of unique query spaces (a.k.a. table names) that occurred in the query. |
| public String[] | |
| public Type[] | |
| public SelectClause | |
| public SessionFactoryHelper | |
| public Map | |
| protected void | handleResultVariableRef(AST resultVariableRef)
Overrides org. |
| private void | handleWithFragment(FromElement fromElement, AST hqlWithNode)
Deprecated
as a consequence of
FromElement being deprecated.
|
| private boolean | |
| public boolean | |
| private boolean | |
| protected boolean | |
| protected boolean | isOrderExpressionResultVariableRef(AST orderExpressionNode)
Overrides org. |
| public boolean | |
| private boolean | |
| protected void | |
| protected AST | |
| protected AST | lookupProperty(AST dot, boolean root, boolean inSelect)
Overrides org. |
| public static void | |
| private void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | prepareFromClauseInputTree(AST fromClauseInput)
Overrides org. |
| protected void | prepareLogicOperator(AST operator)
Overrides org. |
| protected void | prepareVersioned(AST updateNode, AST versioned)
Overrides org. |
| protected void | processAggregation(AST node, boolean inSelect)
Overrides org. |
| protected void | |
| protected void | |
| protected void | processConstructor(AST constructor)
Overrides org. |
| protected void | processFunction(AST functionCall, boolean inSelect)
Overrides org. |
| protected void | |
| protected void | |
| protected void | |
| protected void | pushFromClause(AST
The new 'FROM' context. fromNode, AST The from node from the input AST. inputFromNode)Overrides org. |
| public void | reportError(RecognitionException e)
Overrides antlr. Implements org. |
| public void | reportError(String s)
Overrides antlr. Implements org. |
| public void | reportWarning(String s)
Overrides antlr. Implements org. |
| protected void | |
| protected void | |
| protected void | |
| protected void | setImpliedJoinType(int joinType)
Overrides org. |
| public static boolean | |
| public void | |
| public void | |
| private void | |
| private void | |
| protected void |