Uses of Interface
org.hibernate.query.sqm.tree.SqmTypedNode
-
Packages that use SqmTypedNode Package Description org.hibernate.dialect.function org.hibernate.query.criteria Hibernate's support for JPA criteria queries.org.hibernate.query.sqm.function org.hibernate.query.sqm.produce.function Package defining support forSqmFunctionDescriptorhandling.org.hibernate.query.sqm.tree This package contains the classes that make up the SQM tree nodes.org.hibernate.query.sqm.tree.domain org.hibernate.query.sqm.tree.expression org.hibernate.query.sqm.tree.from org.hibernate.query.sqm.tree.jpa org.hibernate.query.sqm.tree.predicate org.hibernate.query.sqm.tree.select org.hibernate.type.spi -
-
Uses of SqmTypedNode in org.hibernate.dialect.function
Classes in org.hibernate.dialect.function that implement SqmTypedNode Modifier and Type Class Description protected static classFormatFunction.FormatSqmFunction<T>protected classInverseDistributionFunction.SelfRenderingInverseDistributionFunction<T>Method parameters in org.hibernate.dialect.function with type arguments of type SqmTypedNode Modifier and Type Method Description protected <T> SelfRenderingSqmFunction<T>CastStrEmulation. generateSqmFunctionExpression(List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)protected <T> SelfRenderingSqmFunction<T>CoalesceIfnullEmulation. generateSqmFunctionExpression(List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)protected <T> SelfRenderingSqmFunctionExtractFunction. generateSqmFunctionExpression(List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)protected <T> SelfRenderingSqmFunction<T>FormatFunction. generateSqmFunctionExpression(List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)protected <T> SelfRenderingSqmFunction<T>InsertSubstringOverlayEmulation. generateSqmFunctionExpression(List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)protected <T> SelfRenderingSqmFunction<T>LocatePositionEmulation. generateSqmFunctionExpression(List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)protected <T> SelfRenderingSqmFunction<T>LpadRpadPadEmulation. generateSqmFunctionExpression(List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)protected <T> SelfRenderingSqmFunction<T>NvlCoalesceEmulation. generateSqmFunctionExpression(List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)protected <T> SelfRenderingSqmFunction<T>TransactSQLStrFunction. generateSqmFunctionExpression(List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)<T> SelfRenderingSqmOrderedSetAggregateFunction<T>HypotheticalSetWindowEmulation. generateSqmOrderedSetAggregateFunctionExpression(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, SqmOrderByClause withinGroupClause, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)<T> SelfRenderingSqmOrderedSetAggregateFunction<T>InverseDistributionFunction. generateSqmOrderedSetAggregateFunctionExpression(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, SqmOrderByClause withinGroupClause, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)<T> SelfRenderingSqmOrderedSetAggregateFunction<T>InverseDistributionWindowEmulation. generateSqmOrderedSetAggregateFunctionExpression(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, SqmOrderByClause withinGroupClause, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)Constructor parameters in org.hibernate.dialect.function with type arguments of type SqmTypedNode Constructor Description FormatSqmFunction(SqmFunctionDescriptor descriptor, FunctionRenderingSupport renderingSupport, List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, ArgumentsValidator argumentsValidator, FunctionReturnTypeResolver returnTypeResolver, boolean supportsPatternLiterals, QueryEngine queryEngine)SelfRenderingInverseDistributionFunction(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, SqmOrderByClause withinGroupClause, ReturnableType<T> impliedResultType, QueryEngine queryEngine) -
Uses of SqmTypedNode in org.hibernate.query.criteria
Subinterfaces of SqmTypedNode in org.hibernate.query.criteria Modifier and Type Interface Description interfaceJpaDerivedJoin<T> -
Uses of SqmTypedNode in org.hibernate.query.sqm.function
Classes in org.hibernate.query.sqm.function that implement SqmTypedNode Modifier and Type Class Description classSelfRenderingSqmAggregateFunction<T>classSelfRenderingSqmFunction<T>classSelfRenderingSqmOrderedSetAggregateFunction<T>classSelfRenderingSqmWindowFunction<T>Methods in org.hibernate.query.sqm.function with parameters of type SqmTypedNode Modifier and Type Method Description default <T> SelfRenderingSqmFunction<T>SqmFunctionDescriptor. generateSqmExpression(SqmTypedNode<?> argument, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)Convenience for single argumentMethod parameters in org.hibernate.query.sqm.function with type arguments of type SqmTypedNode Modifier and Type Method Description <T> SelfRenderingSqmFunction<T>AbstractSqmFunctionDescriptor. generateAggregateSqmExpression(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)default <T> SelfRenderingSqmFunction<T>SqmFunctionDescriptor. generateAggregateSqmExpression(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)LikeSqmFunctionDescriptor.generateSqmExpression(List, ReturnableType, QueryEngine, TypeConfiguration)but also accepts a filter predicate.<T> SelfRenderingSqmFunction<T>AbstractSqmFunctionDescriptor. generateOrderedSetAggregateSqmExpression(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, SqmOrderByClause withinGroupClause, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)default <T> SelfRenderingSqmFunction<T>SqmFunctionDescriptor. generateOrderedSetAggregateSqmExpression(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, SqmOrderByClause withinGroupClause, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)LikeSqmFunctionDescriptor.generateSqmExpression(List, ReturnableType, QueryEngine, TypeConfiguration)but also accepts a filter predicate.protected <T> SelfRenderingSqmAggregateFunction<T>AbstractSqmFunctionDescriptor. generateSqmAggregateFunctionExpression(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)Return an SQM node or subtree representing an invocation of this aggregate function with the given arguments.<T> SelfRenderingSqmAggregateFunction<T>AbstractSqmSelfRenderingFunctionDescriptor. generateSqmAggregateFunctionExpression(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)<T> SelfRenderingSqmFunction<T>AbstractSqmFunctionDescriptor. generateSqmExpression(List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)<T> SelfRenderingSqmFunction<T>SqmFunctionDescriptor. generateSqmExpression(List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)Instantiate this template with the given arguments and expected return type.protected abstract <T> SelfRenderingSqmFunction<T>AbstractSqmFunctionDescriptor. generateSqmFunctionExpression(List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)Return an SQM node or subtree representing an invocation of this function with the given arguments.protected <T> SelfRenderingSqmFunction<T>AbstractSqmSelfRenderingFunctionDescriptor. generateSqmFunctionExpression(List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)protected <T> SelfRenderingSqmFunction<T>JdbcEscapeFunctionDescriptor. generateSqmFunctionExpression(List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)protected <T> SelfRenderingSqmFunction<T>MultipatternSqmFunctionDescriptor. generateSqmFunctionExpression(List<? extends SqmTypedNode<?>> arguments, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)protected <T> SelfRenderingSqmAggregateFunction<T>AbstractSqmFunctionDescriptor. generateSqmOrderedSetAggregateFunctionExpression(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, SqmOrderByClause withinGroupClause, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)Return an SQM node or subtree representing an invocation of this ordered set-aggregate function with the given arguments.<T> SelfRenderingSqmOrderedSetAggregateFunction<T>AbstractSqmSelfRenderingFunctionDescriptor. generateSqmOrderedSetAggregateFunctionExpression(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, SqmOrderByClause withinGroupClause, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)protected <T> SelfRenderingSqmWindowFunction<T>AbstractSqmFunctionDescriptor. generateSqmWindowFunctionExpression(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, Boolean respectNulls, Boolean fromFirst, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)Return an SQM node or subtree representing an invocation of this window function with the given arguments.protected <T> SelfRenderingSqmWindowFunction<T>AbstractSqmSelfRenderingFunctionDescriptor. generateSqmWindowFunctionExpression(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, Boolean respectNulls, Boolean fromFirst, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)<T> SelfRenderingSqmFunction<T>AbstractSqmFunctionDescriptor. generateWindowSqmExpression(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, Boolean respectNulls, Boolean fromFirst, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)default <T> SelfRenderingSqmFunction<T>SqmFunctionDescriptor. generateWindowSqmExpression(List<? extends SqmTypedNode<?>> arguments, SqmPredicate filter, Boolean respectNulls, Boolean fromFirst, ReturnableType<T> impliedResultType, QueryEngine queryEngine, TypeConfiguration typeConfiguration)LikeSqmFunctionDescriptor.generateSqmExpression(List, ReturnableType, QueryEngine, TypeConfiguration)but also accepts a filter predicate.protected List<SqlAstNode>SelfRenderingSqmFunction. resolveSqlAstArguments(List<? extends SqmTypedNode<?>> sqmArguments, SqmToSqlAstConverter walker) -
Uses of SqmTypedNode in org.hibernate.query.sqm.produce.function
Method parameters in org.hibernate.query.sqm.produce.function with type arguments of type SqmTypedNode Modifier and Type Method Description static JdbcMappingStandardFunctionReturnTypeResolvers. extractArgumentJdbcMapping(TypeConfiguration typeConfiguration, List<? extends SqmTypedNode<?>> arguments, int position)static ReturnableType<?>StandardFunctionReturnTypeResolvers. extractArgumentType(List<? extends SqmTypedNode<?>> arguments, int position)ReturnableType<?>FunctionReturnTypeResolver. resolveFunctionReturnType(ReturnableType<?> impliedType, List<? extends SqmTypedNode<?>> arguments, TypeConfiguration typeConfiguration)Resolve the return type for a function given its context-implied type and the arguments to this call.voidArgumentsValidator. validate(List<? extends SqmTypedNode<?>> arguments, String functionName, QueryEngine queryEngine)Perform validation that may be done using theSqmTypedNodetree and assigned Java types.voidArgumentTypesValidator. validate(List<? extends SqmTypedNode<?>> arguments, String functionName, QueryEngine queryEngine)We do an initial validation phase with just the SQM tree, even though we don't have all typing information available here (in particular, we don't have the final JDBC type codes for things with converters) because this is the phase that is run at startup for named queries, and can be done in an IDE. -
Uses of SqmTypedNode in org.hibernate.query.sqm.tree
Methods in org.hibernate.query.sqm.tree that return SqmTypedNode Modifier and Type Method Description SqmTypedNode<T>SqmTypedNode. copy(SqmCopyContext context) -
Uses of SqmTypedNode in org.hibernate.query.sqm.tree.domain
Subinterfaces of SqmTypedNode in org.hibernate.query.sqm.tree.domain Modifier and Type Interface Description interfaceSqmCorrelation<O,T>Specialization ofSqmFromfor sub-query correlationsinterfaceSqmPath<T>Models a reference to a part of the application's domain model as part of an SQM tree.interfaceSqmPathWrapper<W,T>SqmPath specialization for an SqmPath that wraps another SqmPathinterfaceSqmSimplePath<T>interfaceSqmTreatedPath<T,S extends T>Classes in org.hibernate.query.sqm.tree.domain that implement SqmTypedNode Modifier and Type Class Description classAbstractSqmAttributeJoin<O,T>Models a join based on a mapped attribute reference.classAbstractSqmFrom<O,T>Convenience base class for SqmFrom implementationsclassAbstractSqmJoin<O,T>classAbstractSqmPath<T>classAbstractSqmPluralJoin<O,C,E>classAbstractSqmSimplePath<T>classAbstractSqmSpecificPluralPartPath<T>classNonAggregatedCompositeSimplePath<T>classSqmAnyValuedSimplePath<T>classSqmBagJoin<O,E>classSqmBasicValuedSimplePath<T>classSqmCorrelatedBagJoin<O,T>classSqmCorrelatedCrossJoin<T>classSqmCorrelatedEntityJoin<T>classSqmCorrelatedListJoin<O,T>classSqmCorrelatedMapJoin<O,K,V>classSqmCorrelatedPluralPartJoin<O,T>classSqmCorrelatedRoot<T>classSqmCorrelatedRootJoin<T>classSqmCorrelatedSetJoin<O,T>classSqmCorrelatedSingularJoin<O,T>classSqmDerivedRoot<T>classSqmElementAggregateFunction<T>classSqmEmbeddedValuedSimplePath<T>classSqmEntityValuedSimplePath<T>classSqmFkExpression<T>Reference to the key-side (as opposed to the target-side) of the foreign-key of a to-one association.classSqmIndexAggregateFunction<T>classSqmIndexedCollectionAccessPath<T>classSqmListJoin<O,E>classSqmMapEntryReference<K,V>Represents the reference to a Map attribute'sMap.Entryentries in a select clauseclassSqmMapJoin<O,K,V>classSqmPluralPartJoin<O,T>classSqmPluralValuedSimplePath<E>An SqmPath for plural attribute pathsclassSqmSetJoin<O,E>classSqmSingularJoin<O,T>classSqmTreatedBagJoin<O,T,S extends T>classSqmTreatedCrossJoin<T,S extends T>classSqmTreatedEntityJoin<T,S extends T>classSqmTreatedListJoin<O,T,S extends T>classSqmTreatedMapJoin<O,K,V,S extends V>classSqmTreatedPluralPartJoin<O,T,S extends T>classSqmTreatedRoot<T,S extends T>classSqmTreatedSetJoin<O,T,S extends T>classSqmTreatedSimplePath<T,S extends T>classSqmTreatedSingularJoin<O,T,S extends T> -
Uses of SqmTypedNode in org.hibernate.query.sqm.tree.expression
Subinterfaces of SqmTypedNode in org.hibernate.query.sqm.tree.expression Modifier and Type Interface Description interfaceSqmAggregateFunction<T>A SQM aggregate function.interfaceSqmExpression<T>The base contract for any kind of expression node in the SQM tree.interfaceSqmOrderedSetAggregateFunction<T>A SQM ordered set-aggregate function.interfaceSqmParameter<T>Models a parameter expression declared in the query.interfaceSqmWindowFunction<T>A SQM window function.Classes in org.hibernate.query.sqm.tree.expression that implement SqmTypedNode Modifier and Type Class Description classAbstractSqmExpression<T>classAbstractSqmParameter<T>Common support for SqmParameter implsclassJpaCriteriaParameter<T>JpaParameterExpressioncreated via JPACriteriaBuilder.classSqmAliasedNodeRefModels a reference to aSqmAliasedNodeused in the order-by or group-by clause by either position or alias, though the reference is normalized here to a positional refclassSqmAny<T>classSqmAnyDiscriminatorValue<T>classSqmBinaryArithmetic<T>classSqmByUnitclassSqmCaseSearched<R>classSqmCaseSimple<T,R>classSqmCastTarget<T>classSqmCoalesce<T>classSqmCollationclassSqmCollectionSizeRepresents theSIZE()function.classSqmDistinct<T>classSqmDurationUnit<T>classSqmEnumLiteral<E extends Enum<E>>Specialized SQM literal defined by an enum reference.classSqmEvery<T>classSqmExtractUnit<T>classSqmFieldLiteral<T>classSqmFormatEffectively a query-literal but we want to handle it specially in the SQM -> SQL AST conversionclassSqmFunction<T>A SQM functionclassSqmJpaCriteriaParameterWrapper<T>Acts as the per-use wrapper for a JpaCriteriaParameter (CriteriaBuilder.parameter(java.lang.Class<T>)).classSqmLiteral<T>Represents a literal value in the sqm, e.g. 1 'some string' some.JavaClass.CONSTANT some.JavaEnum.VALUE etcclassSqmLiteralEntityType<T>Represents an reference to an entity type as a literal.classSqmLiteralNull<T>classSqmModifiedSubQueryExpression<T>Represents aSqmModifiedSubQueryExpression.Modifier.ALL,SqmModifiedSubQueryExpression.Modifier.ANY,SqmModifiedSubQueryExpression.Modifier.SOMEmodifier appplied to a subquery as part of a comparison.classSqmNamedParameter<T>Represents a named query parameter in the SQM tree.classSqmOver<T>classSqmOverflow<T>classSqmParameterizedEntityType<T>Entity type expression based on a parameter - `TYPE( :someParam )`classSqmPositionalParameter<T>Models a positional parameter expressionclassSqmSelfRenderingExpression<T>classSqmStarclassSqmSummarization<T>classSqmToDuration<T>classSqmTrimSpecificationNeeded to pass TrimSpecification as an SqmExpression when we call out to SqmFunctionTemplates handling TRIM calls as a function argument.classSqmTuple<T>Models a tuple of values, generally defined as a series of values wrapped in parentheses, e.g.classSqmUnaryOperation<T>classValueBindJpaCriteriaParameter<T>It is a JpaCriteriaParameter created from a value when ValueHandlingMode is equal to BINDMethods in org.hibernate.query.sqm.tree.expression that return types with arguments of type SqmTypedNode Modifier and Type Method Description List<? extends SqmTypedNode<?>>SqmFunction. getArguments()Constructor parameters in org.hibernate.query.sqm.tree.expression with type arguments of type SqmTypedNode Constructor Description SqmFunction(String functionName, SqmFunctionDescriptor functionDescriptor, SqmExpressible<T> type, List<? extends SqmTypedNode<?>> arguments, NodeBuilder criteriaBuilder) -
Uses of SqmTypedNode in org.hibernate.query.sqm.tree.from
Subinterfaces of SqmTypedNode in org.hibernate.query.sqm.tree.from Modifier and Type Interface Description interfaceSqmAttributeJoin<O,T>Models a join based on a mapped attribute reference.interfaceSqmFrom<O,T>Models a Bindable's inclusion in theFROMclause.interfaceSqmJoin<O,T>interfaceSqmQualifiedJoin<O,T>Common contract for qualified/restricted/predicated joins.Classes in org.hibernate.query.sqm.tree.from that implement SqmTypedNode Modifier and Type Class Description classSqmCrossJoin<T>classSqmDerivedJoin<T>classSqmEntityJoin<T>classSqmRoot<E> -
Uses of SqmTypedNode in org.hibernate.query.sqm.tree.jpa
Classes in org.hibernate.query.sqm.tree.jpa that implement SqmTypedNode Modifier and Type Class Description classAbstractJpaSelection<T>Base support forJpaSelectionimpls. -
Uses of SqmTypedNode in org.hibernate.query.sqm.tree.predicate
Subinterfaces of SqmTypedNode in org.hibernate.query.sqm.tree.predicate Modifier and Type Interface Description interfaceSqmInPredicate<T>interfaceSqmNegatablePredicateContract for predicates that have a negated form, e.g.interfaceSqmPredicateClasses in org.hibernate.query.sqm.tree.predicate that implement SqmTypedNode Modifier and Type Class Description classAbstractNegatableSqmPredicateclassAbstractSqmPredicateclassSqmBetweenPredicateclassSqmBooleanExpressionPredicateRepresents an expression whose type is boolean, and can therefore be used as a predicate.classSqmComparisonPredicateclassSqmEmptinessPredicateclassSqmExistsPredicateclassSqmGroupedPredicateclassSqmInListPredicate<T>classSqmInSubQueryPredicate<T>classSqmJunctionPredicateclassSqmLikePredicateclassSqmMemberOfPredicateclassSqmNegatedPredicateclassSqmNullnessPredicate -
Uses of SqmTypedNode in org.hibernate.query.sqm.tree.select
Subinterfaces of SqmTypedNode in org.hibernate.query.sqm.tree.select Modifier and Type Interface Description interfaceSqmAliasedNode<T>Models any aliased expression.interfaceSqmSelectableNode<T>Defines a SQM AST node that can be used as a selection in the query, or as an argument to a dynamic-instantiation.Classes in org.hibernate.query.sqm.tree.select that implement SqmTypedNode Modifier and Type Class Description classSqmDynamicInstantiation<T>Represents a dynamic instantiation (select new XYZ(...) ...) as part of the SQM.classSqmDynamicInstantiationArgument<T>Represents an individual argument to a dynamic instantiation.classSqmJpaCompoundSelection<T>classSqmSelection<T>Represents an individual selection within a select clause.classSqmSubQuery<T> -
Uses of SqmTypedNode in org.hibernate.type.spi
Method parameters in org.hibernate.type.spi with type arguments of type SqmTypedNode Modifier and Type Method Description SqmExpressible<?>TypeConfiguration. resolveTupleType(List<? extends SqmTypedNode<?>> typedNodes)
-