Class HoursFunction.TimestampNtzToHoursFunction

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

public static class HoursFunction.TimestampNtzToHoursFunction extends Object
See Also:
  • Constructor Details

    • TimestampNtzToHoursFunction

      public TimestampNtzToHoursFunction()
  • Method Details

    • invoke

      public static int invoke(long micros)
    • name

      public String name()
    • inputTypes

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

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

      public String canonicalName()
    • produceResult

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

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

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