Class MonthsFunction.DateToMonthsFunction

java.lang.Object
org.apache.iceberg.spark.functions.MonthsFunction.DateToMonthsFunction
All Implemented Interfaces:
Serializable, org.apache.spark.sql.connector.catalog.functions.BoundFunction, org.apache.spark.sql.connector.catalog.functions.Function, org.apache.spark.sql.connector.catalog.functions.ScalarFunction<Integer>
Enclosing class:
MonthsFunction

public static class MonthsFunction.DateToMonthsFunction extends Object
See Also:
  • Constructor Details

    • DateToMonthsFunction

      public DateToMonthsFunction()
  • Method Details

    • invoke

      public static int invoke(int days)
    • inputTypes

      public org.apache.spark.sql.types.DataType[] inputTypes()
    • canonicalName

      public String canonicalName()
    • produceResult

      public Integer produceResult(org.apache.spark.sql.catalyst.InternalRow input)
    • name

      public String name()
    • resultType

      public org.apache.spark.sql.types.DataType resultType()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object