Package org.apache.iceberg.util
Class BucketUtil
- java.lang.Object
-
- org.apache.iceberg.util.BucketUtil
-
public class BucketUtil extends java.lang.Object
Contains the logic for hashing various types for use with thebucket
partition transformations
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
hash(double value)
static int
hash(float value)
static int
hash(int value)
static int
hash(long value)
static int
hash(java.lang.CharSequence value)
static int
hash(java.math.BigDecimal value)
static int
hash(java.nio.ByteBuffer value)
static int
hash(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)
-
-