Class BucketFunction.BucketBinary

java.lang.Object
org.apache.iceberg.spark.functions.BucketFunction.BucketBase
org.apache.iceberg.spark.functions.BucketFunction.BucketBinary
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.BucketBinary extends BucketFunction.BucketBase
See Also:
  • Constructor Details

    • BucketBinary

      public BucketBinary()
  • Method Details

    • invoke

      public static Integer invoke(int numBuckets, byte[] value)
    • hash

      public static int hash(ByteBuffer value)
    • inputTypes

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

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

      public String canonicalName()
    • hashCode

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

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