@Internal public final class ItemAtTypeStrategy extends Object implements TypeStrategy
BuiltInFunctionDefinitions.AT
.
Returns either the element of an LogicalTypeFamily.COLLECTION
type or the value of
LogicalTypeRoot.MAP
.
Constructor and Description |
---|
ItemAtTypeStrategy() |
Modifier and Type | Method and Description |
---|---|
Optional<DataType> |
inferType(CallContext callContext)
Infers a type from the given function call.
|
public Optional<DataType> inferType(CallContext callContext)
TypeStrategy
inferType
in interface TypeStrategy
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.