Package org.apache.iceberg.util
Class BucketUtil
- java.lang.Object
-
- org.apache.iceberg.util.BucketUtil
-
public class BucketUtil extends java.lang.ObjectContains the logic for hashing various types for use with thebucketpartition transformations
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static inthash(double value)static inthash(float value)static inthash(int value)static inthash(long value)static inthash(java.lang.CharSequence value)static inthash(java.math.BigDecimal value)static inthash(java.nio.ByteBuffer value)static inthash(java.util.UUID value)
-
-
-
Method Detail
-
hash
public static int hash(int value)
-
hash
public static int hash(long value)
-
hash
public static int hash(float value)
-
hash
public static int hash(double value)
-
hash
public static int hash(java.lang.CharSequence value)
-
hash
public static int hash(java.nio.ByteBuffer value)
-
hash
public static int hash(java.util.UUID value)
-
hash
public static int hash(java.math.BigDecimal value)
-
-