Class ExpressionResolver.PostResolverFactory
- java.lang.Object
-
- org.apache.flink.table.expressions.resolver.ExpressionResolver.PostResolverFactory
-
- Enclosing class:
- ExpressionResolver
@Internal public class ExpressionResolver.PostResolverFactory extends Object
Factory for creating resolved expressions after the actual resolution has happened. This is required when a resolved expression stack needs to be modified in later transformations.Note: Further resolution or validation will not happen anymore, therefore the created expressions must be valid.
-
-
Constructor Summary
Constructors Constructor Description PostResolverFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CallExpression
array(DataType dataType, ResolvedExpression... expression)
CallExpression
as(ResolvedExpression expression, String alias)
CallExpression
cast(ResolvedExpression expression, DataType dataType)
CallExpression
get(ResolvedExpression composite, ValueLiteralExpression key, DataType dataType)
CallExpression
map(DataType dataType, ResolvedExpression... expression)
CallExpression
row(DataType dataType, ResolvedExpression... expression)
CallExpression
wrappingCall(BuiltInFunctionDefinition definition, ResolvedExpression expression)
-
-
-
Method Detail
-
as
public CallExpression as(ResolvedExpression expression, String alias)
-
cast
public CallExpression cast(ResolvedExpression expression, DataType dataType)
-
row
public CallExpression row(DataType dataType, ResolvedExpression... expression)
-
array
public CallExpression array(DataType dataType, ResolvedExpression... expression)
-
map
public CallExpression map(DataType dataType, ResolvedExpression... expression)
-
wrappingCall
public CallExpression wrappingCall(BuiltInFunctionDefinition definition, ResolvedExpression expression)
-
get
public CallExpression get(ResolvedExpression composite, ValueLiteralExpression key, DataType dataType)
-
-