Class BucketFunction.BucketBase
- java.lang.Object
-
- org.apache.iceberg.spark.functions.BucketFunction.BucketBase
-
- All Implemented Interfaces:
java.io.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<java.lang.Integer>
- Direct Known Subclasses:
BucketFunction.BucketBinary
,BucketFunction.BucketDecimal
,BucketFunction.BucketInt
,BucketFunction.BucketLong
,BucketFunction.BucketString
- Enclosing class:
- BucketFunction
public abstract static class BucketFunction.BucketBase extends java.lang.Object
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BucketBase()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static int
apply(int numBuckets, int hashedValue)
boolean
equals(java.lang.Object other)
int
hashCode()
java.lang.String
name()
org.apache.spark.sql.types.DataType
resultType()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
apply
public static int apply(int numBuckets, int hashedValue)
-
name
public java.lang.String name()
-
resultType
public org.apache.spark.sql.types.DataType resultType()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
-