@Internal public static interface ResolverRule.ResolutionContext
Modifier and Type | Method and Description |
---|---|
ReadableConfig |
configuration()
Access to configuration.
|
FunctionLookup |
functionLookup()
Access to available
FunctionDefinition s. |
Optional<LocalReferenceExpression> |
getLocalReference(String alias)
Access to available local references.
|
List<LocalReferenceExpression> |
getLocalReferences()
Access to available local references.
|
Optional<DataType> |
getOutputDataType()
Access to the expected top-level output data type.
|
Optional<LocalOverWindow> |
getOverWindow(Expression alias)
Access to available local over windows.
|
boolean |
isGroupedAggregation()
Whether the expression is evaluated for a grouped aggregation.
|
ExpressionResolver.PostResolverFactory |
postResolutionFactory()
Enables the creation of resolved expressions for transformations after the actual
resolution.
|
FieldReferenceLookup |
referenceLookup()
Access to available
FieldReferenceExpression
in inputs. |
SqlExpressionResolver |
sqlExpressionResolver()
Translates a SQL expression to
ResolvedExpression . |
TableReferenceLookup |
tableLookup()
Access to available
TableReferenceExpression . |
DataTypeFactory |
typeFactory()
Access to
DataTypeFactory . |
ClassLoader |
userClassLoader()
Access to user classloader.
|
ReadableConfig configuration()
ClassLoader userClassLoader()
FieldReferenceLookup referenceLookup()
FieldReferenceExpression
in inputs.TableReferenceLookup tableLookup()
TableReferenceExpression
.FunctionLookup functionLookup()
FunctionDefinition
s.DataTypeFactory typeFactory()
DataTypeFactory
.SqlExpressionResolver sqlExpressionResolver()
ResolvedExpression
.ExpressionResolver.PostResolverFactory postResolutionFactory()
Optional<LocalReferenceExpression> getLocalReference(String alias)
List<LocalReferenceExpression> getLocalReferences()
Optional<DataType> getOutputDataType()
Optional<LocalOverWindow> getOverWindow(Expression alias)
boolean isGroupedAggregation()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.