@Internal public class ArrayAppendPrependTypeStrategy extends Object implements TypeStrategy
DataTypes.ARRAY(DataType) with element type equal to the
type of the first argument if it's not nullable or element to add is not nullable, otherwise it
returns DataTypes.ARRAY(DataType) with type equal to the type of the element to add to
array.public Optional<DataType> inferType(CallContext callContext)
TypeStrategyinferType 在接口中 TypeStrategyCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.