public abstract static class BucketFunction.BucketBase
extends java.lang.Object
implements org.apache.spark.sql.connector.catalog.functions.ScalarFunction<java.lang.Integer>
Constructor and Description |
---|
BucketBase() |
Modifier and Type | Method and Description |
---|---|
static int |
apply(int numBuckets,
int hashedValue) |
java.lang.String |
name() |
org.apache.spark.sql.types.DataType |
resultType() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static int apply(int numBuckets, int hashedValue)
public java.lang.String name()
name
in interface org.apache.spark.sql.connector.catalog.functions.Function
public org.apache.spark.sql.types.DataType resultType()
resultType
in interface org.apache.spark.sql.connector.catalog.functions.BoundFunction