Interface Expression
-
- All Superinterfaces:
SqlAstNode,SqlSelectionProducer
- All Known Subinterfaces:
AggregateFunctionExpression,FunctionExpression,JdbcParameter,Literal,OrderedSetAggregateFunctionExpression,PluralTableGroup,Predicate,SelfRenderingExpression,SqmPathInterpretation<T>,TableGroup,VirtualTableGroup,WindowFunctionExpression
- All Known Implementing Classes:
AbstractJdbcParameter,AbstractPredicate,AbstractSqmPathInterpretation,AbstractTableGroup,AliasedExpression,Any,BasicValuedPathInterpretation,BetweenPredicate,BinaryArithmeticExpression,BooleanExpressionPredicate,CaseSearchedExpression,CaseSimpleExpression,CastTarget,CollectionTableGroup,ColumnReference,ComparisonPredicate,Conversion,CorrelatedPluralTableGroup,CorrelatedTableGroup,CteTableGroup,DelegatingTableGroup,DiscriminatedAssociationPathInterpretation,DiscriminatedAssociationTypePathInterpretation,DiscriminatorPathInterpretation,Distinct,Duration,DurationUnit,EmbeddableValuedPathInterpretation,EntityTypeLiteral,EntityValuedPathInterpretation,Every,ExistsPredicate,ExtractUnit,FilterPredicate,FilterPredicate.FilterFragmentPredicate,FunctionTableGroup,GroupedPredicate,InListPredicate,InSubQueryPredicate,JdbcLiteral,JdbcParameterImpl,Junction,LazyTableGroup,LikePredicate,LiteralAsParameter,MappedByTableGroup,ModifiedSubQueryExpression,MutatingTableReferenceGroupWrapper,NegatedPredicate,NonAggregatedCompositeValuedPathInterpretation,NullnessPredicate,OneToManyTableGroup,Over,Overflow,PluralValuedSimplePathInterpretation,QueryGroup,QueryLiteral,QueryPart,QueryPartTableGroup,QuerySpec,ResultSetMappingSqlSelection,SelfRenderingAggregateFunctionSqlAstExpression,SelfRenderingFunctionSqlAstExpression,SelfRenderingOrderedSetAggregateFunctionSqlAstExpression,SelfRenderingOrderingExpression,SelfRenderingPredicate,SelfRenderingSqlFragmentExpression,SelfRenderingWindowFunctionSqlAstExpression,SqlFragmentPredicate,SqlSelectionExpression,SqlTuple,SqlTypedMappingJdbcParameter,SqmParameterInterpretation,SqmTupleInterpretation,StandardTableGroup,StandardVirtualTableGroup,Star,Summarization,SyntheticVirtualTableGroup,TableGroupImpl,UnaryOperation,UnionTableGroup,ValuesTableGroup,VersionTypeSeedParameterSpecification
public interface Expression extends SqlAstNode, SqlSelectionProducer
Models an expression at the SQL AST level.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SqlSelectioncreateSqlSelection(int jdbcPosition, int valuesArrayPosition, JavaType javaType, TypeConfiguration typeConfiguration)Create a SqlSelection for the given JDBC ResultSet positiondefault ColumnReferencegetColumnReference()JdbcMappingContainergetExpressionType()The type for this expression-
Methods inherited from interface org.hibernate.sql.ast.tree.SqlAstNode
accept
-
-
-
-
Method Detail
-
getExpressionType
JdbcMappingContainer getExpressionType()
The type for this expression
-
getColumnReference
default ColumnReference getColumnReference()
-
createSqlSelection
default SqlSelection createSqlSelection(int jdbcPosition, int valuesArrayPosition, JavaType javaType, 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 astypeConfiguration- The associated TypeConfiguration
-
-