public static class BucketFunction.BucketInt extends BucketFunction.BucketBase
| Constructor and Description |
|---|
BucketInt(org.apache.spark.sql.types.DataType sqlType) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
canonicalName() |
boolean |
equals(java.lang.Object other) |
static int |
hash(int value) |
int |
hashCode() |
org.apache.spark.sql.types.DataType[] |
inputTypes() |
static int |
invoke(int numBuckets,
int value) |
java.lang.Integer |
produceResult(org.apache.spark.sql.catalyst.InternalRow input) |
apply, name, resultTypepublic static int invoke(int numBuckets,
int value)
public static int hash(int 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)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Object