Class BucketFunction.BucketBase

java.lang.Object
org.apache.iceberg.spark.functions.BucketFunction.BucketBase
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>
Direct Known Subclasses:
BucketFunction.BucketBinary, BucketFunction.BucketDecimal, BucketFunction.BucketInt, BucketFunction.BucketLong, BucketFunction.BucketString
Enclosing class:
BucketFunction

public abstract static class BucketFunction.BucketBase extends Object
See Also:
  • Field Summary Link icon

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

    MAGIC_METHOD_NAME
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    static int
    apply(int numBuckets, int hashedValue)
     
    boolean
    equals(Object other)
     
    int
     
     
    org.apache.spark.sql.types.DataType
     

    Methods inherited from class java.lang.Object Link icon

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

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

    canonicalName, inputTypes, isDeterministic, isResultNullable

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

    produceResult
  • Constructor Details Link icon

    • BucketBase Link icon

      public BucketBase()
  • Method Details Link icon

    • apply Link icon

      public static int apply(int numBuckets, int hashedValue)
    • name Link icon

      public String name()
    • resultType Link icon

      public org.apache.spark.sql.types.DataType resultType()
    • hashCode Link icon

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

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