Class BucketFunction.BucketString
java.lang.Object
org.apache.iceberg.spark.functions.BucketFunction.BucketBase
org.apache.iceberg.spark.functions.BucketFunction.BucketString
- All Implemented Interfaces:
Serializable,org.apache.spark.sql.connector.catalog.functions.BoundFunction,org.apache.spark.sql.connector.catalog.functions.Function,org.apache.spark.sql.connector.catalog.functions.ReducibleFunction<Integer,,Integer> org.apache.spark.sql.connector.catalog.functions.ScalarFunction<Integer>
- Enclosing class:
BucketFunction
- See Also:
-
Field Summary
Fields inherited from interface org.apache.spark.sql.connector.catalog.functions.ScalarFunction
MAGIC_METHOD_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic inthash(byte[] value) static intinthashCode()org.apache.spark.sql.types.DataType[]static Integerinvoke(int numBuckets, org.apache.spark.unsafe.types.UTF8String value) produceResult(org.apache.spark.sql.catalyst.InternalRow input) Methods inherited from class org.apache.iceberg.spark.functions.BucketFunction.BucketBase
apply, gcd, name, reducer, resultTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.spark.sql.connector.catalog.functions.BoundFunction
isDeterministic, isResultNullableMethods inherited from interface org.apache.spark.sql.connector.catalog.functions.ReducibleFunction
reducer
-
Constructor Details
-
BucketString
public BucketString()
-
-
Method Details