Class BucketFunction.BucketDecimal

java.lang.Object
org.apache.iceberg.spark.functions.BucketFunction.BucketBase
org.apache.iceberg.spark.functions.BucketFunction.BucketDecimal
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:
BucketFunction

public static class BucketFunction.BucketDecimal extends BucketFunction.BucketBase
See Also:
  • Constructor Details Link icon

    • BucketDecimal Link icon

      public BucketDecimal(org.apache.spark.sql.types.DataType sqlType)
  • Method Details Link icon

    • invoke Link icon

      public static Integer invoke(int numBuckets, org.apache.spark.sql.types.Decimal value)
    • hash Link icon

      public static int hash(BigDecimal value)
    • inputTypes Link icon

      public org.apache.spark.sql.types.DataType[] inputTypes()
    • produceResult Link icon

      public Integer produceResult(org.apache.spark.sql.catalyst.InternalRow input)
    • canonicalName Link icon

      public String canonicalName()
    • hashCode Link icon

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

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