public static class BucketFunction.BucketLong extends BucketFunction.BucketBase
Constructor and Description |
---|
BucketLong(org.apache.spark.sql.types.DataType sqlType) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
canonicalName() |
static int |
hash(long value) |
org.apache.spark.sql.types.DataType[] |
inputTypes() |
static int |
invoke(int numBuckets,
long value) |
java.lang.Integer |
produceResult(org.apache.spark.sql.catalyst.InternalRow input) |
apply, name, resultType
public static int invoke(int numBuckets, long value)
public static int hash(long value)
public org.apache.spark.sql.types.DataType[] inputTypes()
public java.lang.String canonicalName()
public java.lang.Integer produceResult(org.apache.spark.sql.catalyst.InternalRow input)