Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.dialect.function |
A framework for defining database-specific SQL functions
that are available via the dialect.
|
org.hibernate.engine.query.spi | |
org.hibernate.engine.spi | |
org.hibernate.hql.internal | |
org.hibernate.hql.internal.ast |
An ANTLR-based parser for Hibernate Query Language.
|
org.hibernate.hql.internal.ast.tree | |
org.hibernate.hql.internal.ast.util | |
org.hibernate.hql.internal.classic |
This package contains the Hibernate 2.x query parser which
is being end-of-lifed.
|
org.hibernate.hql.spi | |
org.hibernate.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
org.hibernate.loader |
This package defines functionality for processing JDBC
result sets and returning complex graphs of persistent
objects.
|
org.hibernate.loader.criteria |
This package defines the criteria query compiler and loader
|
org.hibernate.loader.custom |
This package defines a framework for custom loaders that accept
handwritten SQL
|
org.hibernate.loader.hql |
This package defines a loader for the AST-based query parser
|
org.hibernate.persister.collection |
This package abstracts the persistence mechanism for collections.
|
org.hibernate.persister.entity |
This package abstracts persistence mechanisms for
entities, and defines the Hibernate runtime
metamodel.
|
org.hibernate.sql |
This package defines helper classes for rendering SQL
fragments and SQL statements.
|
Modifier and Type | Class and Description |
---|---|
class |
QueryParameterException
Parameter invalid or not found in the query
|
Modifier and Type | Method and Description |
---|---|
protected int |
StandardAnsiSqlAggregationFunctions.SumFunction.determineJdbcTypeCode(Type type,
Mapping mapping) |
protected int |
StandardAnsiSqlAggregationFunctions.AvgFunction.determineJdbcTypeCode(Type firstArgumentType,
SessionFactoryImplementor factory) |
Type |
VarArgsSQLFunction.getReturnType(Type firstArgumentType,
Mapping mapping)
The return type of the function.
|
Type |
TrimFunctionTemplate.getReturnType(Type firstArgument,
Mapping mapping) |
Type |
SQLFunctionTemplate.getReturnType(Type argumentType,
Mapping mapping)
The return type of the function.
|
Type |
SQLFunction.getReturnType(Type firstArgumentType,
Mapping mapping)
The return type of the function.
|
Type |
PositionSubstringFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
NvlFunction.getReturnType(Type argumentType,
Mapping mapping) |
Type |
NoArgSQLFunction.getReturnType(Type argumentType,
Mapping mapping) |
Type |
DerbyConcatFunction.getReturnType(Type argumentType,
Mapping mapping)
The return type of the function.
|
Type |
ConvertFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
ClassicAvgFunction.getReturnType(Type columnType,
Mapping mapping) |
Type |
CharIndexFunction.getReturnType(Type columnType,
Mapping mapping) |
Type |
CastFunction.getReturnType(Type columnType,
Mapping mapping) |
Type |
AbstractAnsiTrimEmulationFunction.getReturnType(Type argumentType,
Mapping mapping) |
String |
TrimFunctionTemplate.render(Type firstArgument,
List args,
SessionFactoryImplementor factory) |
String |
StaticPrecisionFspTimestampFunction.render(Type argumentType,
List args,
SessionFactoryImplementor factory) |
String |
StandardAnsiSqlAggregationFunctions.AvgFunction.render(Type firstArgumentType,
List arguments,
SessionFactoryImplementor factory) |
String |
SQLFunction.render(Type firstArgumentType,
List arguments,
SessionFactoryImplementor factory)
Render the function call as SQL fragment.
|
String |
PositionSubstringFunction.render(Type firstArgumentType,
List args,
SessionFactoryImplementor factory) |
String |
NvlFunction.render(Type argumentType,
List args,
SessionFactoryImplementor factory) |
String |
NoArgSQLFunction.render(Type argumentType,
List args,
SessionFactoryImplementor factory) |
String |
DerbyConcatFunction.render(Type argumentType,
List args,
SessionFactoryImplementor factory)
Render the function call as SQL fragment.
|
String |
ConvertFunction.render(Type firstArgumentType,
List args,
SessionFactoryImplementor factory) |
String |
CharIndexFunction.render(Type columnType,
List args,
SessionFactoryImplementor factory) |
String |
CastFunction.render(Type columnType,
List args,
SessionFactoryImplementor factory) |
String |
AbstractAnsiTrimEmulationFunction.render(Type argumentType,
List args,
SessionFactoryImplementor factory) |
Modifier and Type | Method and Description |
---|---|
FilterQueryPlan |
QueryPlanCache.getFilterQueryPlan(String filterString,
String collectionRole,
boolean shallow,
Map enabledFilters) |
HQLQueryPlan |
QueryPlanCache.getHQLQueryPlan(String queryString,
boolean shallow,
Map enabledFilters) |
static void |
ParameterParser.parse(String sqlString,
ParameterParser.Recognizer recognizer)
Performs the actual parsing and tokenizing of the query string making appropriate
callbacks to the given recognizer upon recognition of the various tokens.
|
Modifier and Type | Method and Description |
---|---|
void |
QueryParameters.validateParameters() |
Modifier and Type | Class and Description |
---|---|
class |
QueryExecutionRequestException
Expecting to execute an illegal operation regarding the query type
|
Modifier and Type | Class and Description |
---|---|
class |
InvalidWithClauseException
Indicates an issue with the encountered with-clause.
|
class |
QuerySyntaxException
Exception thrown when there is a syntax error in the HQL.
|
Modifier and Type | Method and Description |
---|---|
void |
QueryTranslatorImpl.compile(Map replacements,
boolean shallow)
Compile a "normal" query.
|
void |
QueryTranslatorImpl.compile(String collectionRole,
Map replacements,
boolean shallow)
Compile a filter.
|
int[] |
HqlSqlWalker.getNamedParameterLocations(String name)
Returns the locations of all occurrences of the named parameter.
|
protected void |
HqlSqlWalker.postProcessInsert(antlr.collections.AST insert) |
void |
ParseErrorHandler.throwQueryException() |
void |
ErrorCounter.throwQueryException() |
Modifier and Type | Method and Description |
---|---|
QueryException |
DotNode.IllegalCollectionDereferenceExceptionBuilder.buildIllegalCollectionDereferenceException(String collectionPropertyName,
FromReferenceNode lhs) |
Modifier and Type | Method and Description |
---|---|
void |
InsertStatement.validate()
Performs detailed semantic validation on this insert statement tree.
|
void |
IntoClause.validateTypes(SelectClause selectClause) |
Modifier and Type | Method and Description |
---|---|
QueryableCollection |
SessionFactoryHelper.requireQueryableCollection(String role)
Locate the collection persister by the collection role, requiring that
such a persister exist.
|
Modifier and Type | Method and Description |
---|---|
void |
PathExpressionParser.addAssociation(QueryTranslatorImpl q) |
String |
PathExpressionParser.addFromAssociation(QueryTranslatorImpl q) |
String |
PathExpressionParser.addFromCollection(QueryTranslatorImpl q) |
Type |
SelectParser.aggregateType(List funcTokenList,
Type type,
QueryTranslatorImpl q) |
protected String |
QueryTranslatorImpl.applyLocks(String sql,
QueryParameters parameters,
Dialect dialect,
List<Loader.AfterLoadAction> afterLoadActions) |
void |
QueryTranslatorImpl.compile(Map replacements,
boolean scalar)
Compile a "normal" query.
|
void |
QueryTranslatorImpl.compile(String collectionRole,
Map replacements,
boolean scalar)
Compile a filter.
|
protected String[] |
PathExpressionParser.currentColumns() |
void |
WhereParser.end(QueryTranslatorImpl q) |
void |
SelectPathExpressionParser.end(QueryTranslatorImpl q) |
void |
PreprocessingParser.end(QueryTranslatorImpl q) |
void |
PathExpressionParser.end(QueryTranslatorImpl q) |
void |
Parser.end(QueryTranslatorImpl q) |
void |
OrderByParser.end(QueryTranslatorImpl q) |
void |
GroupByParser.end(QueryTranslatorImpl q) |
void |
FromPathExpressionParser.end(QueryTranslatorImpl q) |
void |
ClauseParser.end(QueryTranslatorImpl q) |
void |
PathExpressionParser.fetch(QueryTranslatorImpl q,
String entityName) |
String |
PathExpressionParser.getCollectionSubquery(Map enabledFilters) |
int[] |
QueryTranslatorImpl.getNamedParameterLocs(String name) |
protected Type |
PathExpressionParser.getPropertyType() |
protected List |
QueryTranslatorImpl.getResultList(List results,
ResultTransformer resultTransformer) |
String |
PathExpressionParser.getWhereColumn() |
boolean |
PathExpressionParser.isCollectionValued() |
static void |
ParserHelper.parse(Parser p,
String text,
String seperators,
QueryTranslatorImpl q) |
protected void |
SelectPathExpressionParser.setExpectingCollectionIndex() |
protected void |
PathExpressionParser.setExpectingCollectionIndex() |
protected void |
FromPathExpressionParser.setExpectingCollectionIndex() |
void |
WhereParser.start(QueryTranslatorImpl q) |
void |
PreprocessingParser.start(QueryTranslatorImpl q) |
void |
Parser.start(QueryTranslatorImpl q) |
void |
OrderByParser.start(QueryTranslatorImpl q) |
void |
GroupByParser.start(QueryTranslatorImpl q) |
void |
WhereParser.token(String token,
QueryTranslatorImpl q) |
void |
SelectParser.token(String token,
QueryTranslatorImpl q) |
void |
PreprocessingParser.token(String token,
QueryTranslatorImpl q) |
void |
PathExpressionParser.token(String token,
QueryTranslatorImpl q) |
void |
Parser.token(String token,
QueryTranslatorImpl q) |
void |
OrderByParser.token(String token,
QueryTranslatorImpl q) |
void |
GroupByParser.token(String token,
QueryTranslatorImpl q) |
void |
FromParser.token(String token,
QueryTranslatorImpl q) |
void |
ClauseParser.token(String token,
QueryTranslatorImpl q) |
Modifier and Type | Method and Description |
---|---|
void |
QueryTranslator.compile(Map replacements,
boolean shallow)
Compile a "normal" query.
|
void |
FilterTranslator.compile(String collectionRole,
Map replacements,
boolean shallow)
Compile a filter.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractQueryImpl.verifyParameters()
Perform parameter validation.
|
Modifier and Type | Method and Description |
---|---|
protected List |
Loader.getResultList(List results,
ResultTransformer resultTransformer) |
Modifier and Type | Method and Description |
---|---|
protected String |
CriteriaLoader.applyLocks(String sql,
QueryParameters parameters,
Dialect dialect,
List<Loader.AfterLoadAction> afterLoadActions) |
Modifier and Type | Method and Description |
---|---|
protected String |
CustomLoader.applyLocks(String sql,
QueryParameters parameters,
Dialect dialect,
List<Loader.AfterLoadAction> afterLoadActions) |
int[] |
CustomLoader.getNamedParameterLocs(String name) |
protected List |
CustomLoader.getResultList(List results,
ResultTransformer resultTransformer) |
Modifier and Type | Method and Description |
---|---|
protected String |
QueryLoader.applyLocks(String sql,
QueryParameters parameters,
Dialect dialect,
List<Loader.AfterLoadAction> afterLoadActions) |
int[] |
QueryLoader.getNamedParameterLocs(String name)
Returns the locations of all occurrences of the named parameter.
|
protected List |
QueryLoader.getResultList(List results,
ResultTransformer resultTransformer) |
Modifier and Type | Method and Description |
---|---|
String[] |
ElementPropertyMapping.toColumns(String propertyName)
Given a property path, return the corresponding column name(s).
|
String[] |
CollectionPropertyMapping.toColumns(String propertyName)
Given a property path, return the corresponding column name(s).
|
String[] |
AbstractCollectionPersister.toColumns(String propertyName)
Given a property path, return the corresponding column name(s).
|
String[] |
ElementPropertyMapping.toColumns(String alias,
String propertyName) |
String[] |
CollectionPropertyMapping.toColumns(String alias,
String propertyName) |
String[] |
AbstractCollectionPersister.toColumns(String alias,
String propertyName)
Given a query alias and a property path, return the qualified
column name
|
Type |
ElementPropertyMapping.toType(String propertyName) |
Type |
CollectionPropertyMapping.toType(String propertyName) |
Type |
AbstractCollectionPersister.toType(String propertyName) |
Modifier and Type | Method and Description |
---|---|
protected QueryException |
AbstractPropertyMapping.propertyException(String propertyName) |
Modifier and Type | Method and Description |
---|---|
protected QueryException |
AbstractPropertyMapping.propertyException(String propertyName) |
String[] |
PropertyMapping.toColumns(String propertyName)
Given a property path, return the corresponding column name(s).
|
String[] |
AbstractPropertyMapping.toColumns(String propertyName) |
String[] |
AbstractEntityPersister.toColumns(String propertyName) |
String[] |
PropertyMapping.toColumns(String alias,
String propertyName)
Given a query alias and a property path, return the qualified
column name
|
String[] |
JoinedSubclassEntityPersister.toColumns(String alias,
String propertyName) |
String[] |
BasicEntityPropertyMapping.toColumns(String alias,
String propertyName) |
String[] |
AbstractPropertyMapping.toColumns(String alias,
String propertyName) |
String[] |
AbstractEntityPersister.toColumns(String alias,
String propertyName) |
Type |
PropertyMapping.toType(String propertyName)
Given a component path expression, get the type of the property
|
Type |
AbstractPropertyMapping.toType(String propertyName) |
Type |
AbstractEntityPersister.toType(String propertyName) |
Constructor and Description |
---|
ForUpdateFragment(Dialect dialect,
LockOptions lockOptions,
Map<String,String[]> keyColumnNames) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.