@Internal public class UnnestRowsFunction extends BuiltInSpecializedFunction
UnnestTableFunctionBase
.Modifier and Type | Class and Description |
---|---|
static class |
UnnestRowsFunction.CollectionUnnestTableFunction
Table function that unwraps the elements of a collection (array or multiset).
|
static class |
UnnestRowsFunction.MapUnnestTableFunction
Table function that unwraps the elements of a map.
|
SpecializedFunction.ExpressionEvaluator, SpecializedFunction.ExpressionEvaluatorFactory, SpecializedFunction.SpecializedContext
Constructor and Description |
---|
UnnestRowsFunction() |
Modifier and Type | Method and Description |
---|---|
static LogicalType |
getUnnestedType(LogicalType logicalType) |
UserDefinedFunction |
specialize(SpecializedFunction.SpecializedContext context)
Provides a runtime implementation that is specialized for the given call and session.
|
getKind, getRequirements, getTypeInference, isDeterministic
public UserDefinedFunction specialize(SpecializedFunction.SpecializedContext context)
SpecializedFunction
The method must return an instance of UserDefinedFunction
or throw a TableException
if the given call is not supported. The returned instance must have the same
FunctionDefinition
semantics but can have a different FunctionDefinition.getTypeInference(DataTypeFactory)
implementation.
public static LogicalType getUnnestedType(LogicalType logicalType)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.