public class HashHelper extends Object
Constructor and Description |
---|
HashHelper() |
Modifier and Type | Method and Description |
---|---|
static int |
hash(ByteBuffer buf,
int seed)
taken from mahout
|
static int |
hash32(double val,
long seed) |
static int |
hash32(float val,
long seed) |
static int |
hash32(int start,
int end,
DrillBuf buffer,
int seed) |
static int |
hash32(int val,
long seed) |
static int |
hash32(long val,
long seed) |
static long |
hash64(double val,
long seed) |
static long |
hash64(float val,
long seed) |
static long |
hash64(long val,
long seed) |
static long |
hash64(long start,
long end,
DrillBuf buffer,
long seed) |
public static int hash(ByteBuffer buf, int seed)
public static int hash32(int val, long seed)
public static int hash32(long val, long seed)
public static int hash32(float val, long seed)
public static long hash64(float val, long seed)
public static long hash64(long val, long seed)
public static long hash64(double val, long seed)
public static long hash64(long start, long end, DrillBuf buffer, long seed)
public static int hash32(double val, long seed)
public static int hash32(int start, int end, DrillBuf buffer, int seed)
Copyright © 2016 The Apache Software Foundation. All rights reserved.