Class TruncateFunction.TruncateTinyInt

java.lang.Object
org.apache.iceberg.spark.functions.TruncateFunction.TruncateBase<Byte>
org.apache.iceberg.spark.functions.TruncateFunction.TruncateTinyInt
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<Byte>
Enclosing class:
TruncateFunction

public static class TruncateFunction.TruncateTinyInt extends TruncateFunction.TruncateBase<Byte>
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.types.DataType[]
     
    static byte
    invoke(int width, byte value)
     
    produceResult(org.apache.spark.sql.catalyst.InternalRow input)
     
    org.apache.spark.sql.types.DataType
     

    Methods inherited from class org.apache.iceberg.spark.functions.TruncateFunction.TruncateBase

    name

    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

    isDeterministic, isResultNullable
  • Constructor Details

    • TruncateTinyInt

      public TruncateTinyInt()
  • Method Details

    • invoke

      public static byte invoke(int width, byte value)
    • inputTypes

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

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

      public String canonicalName()
    • produceResult

      public Byte 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