Class HoursFunction.BaseToHourFunction

java.lang.Object
org.apache.iceberg.spark.functions.HoursFunction.BaseToHourFunction
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:
HoursFunction.TimestampNtzToHoursFunction, HoursFunction.TimestampToHoursFunction
Enclosing class:
HoursFunction

public abstract static class HoursFunction.BaseToHourFunction 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
    Constructor
    Description
     
  • 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<?,?> otherBucketFunction)
     

    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, resultType

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

    name

    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

    • BaseToHourFunction

      public BaseToHourFunction()
  • Method Details

    • reducer

      public org.apache.spark.sql.connector.catalog.functions.Reducer<Integer,Integer> reducer(org.apache.spark.sql.connector.catalog.functions.ReducibleFunction<?,?> otherBucketFunction)
      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