Class DaysFunction.BaseToDaysFunction

java.lang.Object
org.apache.iceberg.spark.functions.DaysFunction.BaseToDaysFunction
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.ReducibleFunction<Integer,Integer>, org.apache.spark.sql.connector.catalog.functions.ScalarFunction<Integer>
Direct Known Subclasses:
DaysFunction.DateToDaysFunction, DaysFunction.TimestampNtzToDaysFunction, DaysFunction.TimestampToDaysFunction
Enclosing class:
DaysFunction

protected abstract static class DaysFunction.BaseToDaysFunction extends Object implements org.apache.spark.sql.connector.catalog.functions.ReducibleFunction<Integer,Integer>
See Also:
  • Field Summary

    Fields inherited from interface org.apache.spark.sql.connector.catalog.functions.ScalarFunction

    MAGIC_METHOD_NAME
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object other)
     
    int
     
     
    org.apache.spark.sql.connector.catalog.functions.Reducer<Integer,Integer>
    reducer(org.apache.spark.sql.connector.catalog.functions.ReducibleFunction<?,?> otherFunction)
     
    org.apache.spark.sql.types.DataType
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.spark.sql.connector.catalog.functions.BoundFunction

    canonicalName, inputTypes, isDeterministic, isResultNullable

    Methods inherited from interface org.apache.spark.sql.connector.catalog.functions.ReducibleFunction

    reducer

    Methods inherited from interface org.apache.spark.sql.connector.catalog.functions.ScalarFunction

    produceResult
  • Constructor Details

    • BaseToDaysFunction

      protected BaseToDaysFunction()
  • Method Details

    • name

      public String name()
      Specified by:
      name in interface org.apache.spark.sql.connector.catalog.functions.Function
    • resultType

      public org.apache.spark.sql.types.DataType resultType()
      Specified by:
      resultType in interface org.apache.spark.sql.connector.catalog.functions.BoundFunction
    • reducer

      public org.apache.spark.sql.connector.catalog.functions.Reducer<Integer,Integer> reducer(org.apache.spark.sql.connector.catalog.functions.ReducibleFunction<?,?> otherFunction)
      Specified by:
      reducer in interface org.apache.spark.sql.connector.catalog.functions.ReducibleFunction<Integer,Integer>
    • hashCode

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

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