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