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