Top Inners Fields Constructors Methods
org.hibernate.query.sql.internal

public Class SQLQueryParser

extends Object
Class Inheritance
Imports
java.util.Map, java.util.regex.Pattern, org.hibernate.QueryException, org.hibernate.boot.model.naming.Identifier, org.hibernate.boot.model.relational.SqlStringGenerationContext, org.hibernate.dialect.Dialect, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.persister.collection.SQLLoadableCollection, org.hibernate.persister.entity.SQLLoadable

Authors
Gavin King, Max Andersen, Steve Ebersole, Paul Benedict

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface

Field Summary

Modifier and TypeField and Description
private long
private static final String
private final SQLQueryParser.ParserContext
private static final String
private final SessionFactoryImplementor
factory

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
private static final String
private final String
private static final Pattern
private static final String

Constructor Summary

AccessConstructor and Description
public
SQLQueryParser(String queryString, SQLQueryParser.ParserContext context, SessionFactoryImplementor factory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.

Method Summary

Modifier and TypeMethod and Description
protected String
public String
public boolean
private String
resolveCollectionProperties(String aliasName, String propertyName)

private String
resolveProperties(String aliasName, String propertyName)

protected String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

aliasesFoundback to summary
private long aliasesFound
CATALOG_PLACEHOLDERback to summary
private static final String CATALOG_PLACEHOLDER
contextback to summary
private final SQLQueryParser.ParserContext context
DOMAIN_PLACEHOLDERback to summary
private static final String DOMAIN_PLACEHOLDER
factoryback to summary
private final SessionFactoryImplementor factory

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

HIBERNATE_PLACEHOLDER_PREFIXback to summary
private static final String HIBERNATE_PLACEHOLDER_PREFIX
originalQueryStringback to summary
private final String originalQueryString
PREPARED_STATEMENT_PATTERNback to summary
private static final Pattern PREPARED_STATEMENT_PATTERN
SCHEMA_PLACEHOLDERback to summary
private static final String SCHEMA_PLACEHOLDER

Constructor Detail

SQLQueryParserback to summary
public SQLQueryParser(String queryString, SQLQueryParser.ParserContext context, SessionFactoryImplementor factory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Method Detail

getOriginalQueryStringback to summary
protected String getOriginalQueryString()
processback to summary
public String process()
queryHasAliasesback to summary
public boolean queryHasAliases()
resolveCollectionPropertiesback to summary
private String resolveCollectionProperties(String aliasName, String propertyName)
resolvePropertiesback to summary
private String resolveProperties(String aliasName, String propertyName)
substituteBracketsback to summary
protected String substituteBrackets(String sqlQuery) throws QueryException
org.hibernate.query.sql.internal back to summary

public Interface SQLQueryParser.ParserContext

Known Direct Implementers
org.hibernate.query.sql.internal.ResultSetMappingProcessor

Method Summary

Modifier and TypeMethod and Description
public SQLLoadableCollection
getCollectionPersister(String alias)

Deprecated as a consequence of SQLLoadableCollection being deprecated.
public String
public SQLLoadable
getEntityPersister(String alias)

Deprecated as a consequence of SQLLoadable being deprecated.
public String
public Map<String, String[]>
public boolean
public boolean
isEntityAlias(String aliasName)

Method Detail

getCollectionPersisterback to summary
public SQLLoadableCollection getCollectionPersister(String alias)

Deprecated

as a consequence of SQLLoadableCollection being deprecated. See corresponding docs for further information.

getCollectionSuffixback to summary
public String getCollectionSuffix(String alias)
getEntityPersisterback to summary
public SQLLoadable getEntityPersister(String alias)

Deprecated

as a consequence of SQLLoadable being deprecated. See corresponding docs for further information.

getEntitySuffixback to summary
public String getEntitySuffix(String alias)
getPropertyResultsMapback to summary
public Map<String, String[]> getPropertyResultsMap(String alias)
isCollectionAliasback to summary
public boolean isCollectionAlias(String aliasName)
isEntityAliasback to summary
public boolean isEntityAlias(String aliasName)