Interface Expression
- All Superinterfaces:
SqlAstNode, SqlSelectionProducer
- All Known Subinterfaces:
AggregateFunctionExpression, FunctionExpression, JdbcParameter, Literal, OrderedSetAggregateFunctionExpression, PluralTableGroup, Predicate, SelfRenderingExpression, SqlTypedExpression, org.hibernate.query.sqm.sql.internal.SqmPathInterpretation<T>, TableGroup, VirtualTableGroup, WindowFunctionExpression
- All Known Implementing Classes:
org.hibernate.sql.exec.internal.AbstractJdbcParameter, AbstractPredicate, AbstractTableGroup, AggregateColumnWriteExpression, AliasedExpression, Any, BetweenPredicate, BinaryArithmeticExpression, BooleanExpressionPredicate, CaseSearchedExpression, CaseSimpleExpression, CastTarget, CollectionTableGroup, ColumnReference, ColumnValueParameter, ColumnWriteFragment, ComparisonPredicate, Conversion, CorrelatedPluralTableGroup, CorrelatedTableGroup, CteTableGroup, DelegatingTableGroup, Distinct, Duration, DurationUnit, EmbeddableFunctionTableGroup, EmbeddableTypeLiteral, EntityTypeLiteral, Every, ExistsPredicate, ExtractUnit, FilterPredicate, FilterPredicate.FilterFragmentPredicate, FunctionTableGroup, GroupedPredicate, InArrayPredicate, InListPredicate, InSubQueryPredicate, JdbcLiteral, Junction, LazyTableGroup, LikePredicate, LiteralAsParameter, MappedByTableGroup, ModifiedSubQueryExpression, MutatingTableReferenceGroupWrapper, NegatedPredicate, NestedColumnReference, NullnessPredicate, OneToManyTableGroup, Over, Overflow, PostgreSQLJsonTableFunction.ClauseLevelDocumentExpression, QueryLiteral, QueryPartTableGroup, SelectStatement, SelfRenderingAggregateFunctionSqlAstExpression, SelfRenderingFunctionSqlAstExpression, SelfRenderingOrderedSetAggregateFunctionSqlAstExpression, SelfRenderingOrderingExpression, SelfRenderingPredicate, SelfRenderingSqlFragmentExpression, SelfRenderingWindowFunctionSqlAstExpression, SqlSelectionExpression, SqlTuple, StandardTableGroup, StandardVirtualTableGroup, Star, Summarization, ThruthnessPredicate, UnaryOperation, UnionTableGroup, UnparsedNumericLiteral, ValuesTableGroup
Models an expression at the SQL AST level.
-
Method Summary
Modifier and TypeMethodDescriptiondefault SqlSelectioncreateDomainResultSqlSelection(int jdbcPosition, int valuesArrayPosition, JavaType javaType, boolean virtual, TypeConfiguration typeConfiguration) default SqlSelectioncreateSqlSelection(int jdbcPosition, int valuesArrayPosition, JavaType javaType, boolean virtual, TypeConfiguration typeConfiguration) Create a SqlSelection for the given JDBC ResultSet positiondefault @Nullable ColumnReference@Nullable JdbcMappingContainerThe type for this expressionMethods inherited from interface SqlAstNode
accept
-
Method Details
-
getExpressionType
@Nullable JdbcMappingContainer getExpressionType()The type for this expression -
getColumnReference
-
createSqlSelection
default SqlSelection createSqlSelection(int jdbcPosition, int valuesArrayPosition, JavaType javaType, boolean virtual, TypeConfiguration typeConfiguration) Description copied from interface:SqlSelectionProducerCreate a SqlSelection for the given JDBC ResultSet position- Specified by:
createSqlSelectionin interfaceSqlSelectionProducer- Parameters:
jdbcPosition- The index position used to read values from JDBCvaluesArrayPosition- The position in our "current JDBC values array"javaType- The descriptor for the Java type to read the value asvirtual- Whether the select is virtual or real. SeeSqlSelection.isVirtual()typeConfiguration- The associated TypeConfiguration
-
createDomainResultSqlSelection
default SqlSelection createDomainResultSqlSelection(int jdbcPosition, int valuesArrayPosition, JavaType javaType, boolean virtual, TypeConfiguration typeConfiguration)
-