public static class BucketFunction.BucketString extends BucketFunction.BucketBase
Constructor and Description |
---|
BucketString() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
canonicalName() |
static int |
hash(java.lang.String value) |
org.apache.spark.sql.types.DataType[] |
inputTypes() |
static java.lang.Integer |
invoke(int numBuckets,
org.apache.spark.unsafe.types.UTF8String value) |
java.lang.Integer |
produceResult(org.apache.spark.sql.catalyst.InternalRow input) |
apply, name, resultType
public static java.lang.Integer invoke(int numBuckets, org.apache.spark.unsafe.types.UTF8String value)
public static int hash(java.lang.String 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)