Class ArrayAppendPrependTypeStrategy

java.lang.Object
org.apache.flink.table.types.inference.strategies.ArrayAppendPrependTypeStrategy
All Implemented Interfaces:
TypeStrategy

@Internal public class ArrayAppendPrependTypeStrategy extends Object implements TypeStrategy
Type strategy that returns a 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.
  • Constructor Details

    • ArrayAppendPrependTypeStrategy

      public ArrayAppendPrependTypeStrategy()
  • Method Details