Package org.apache.hadoop.hbase.io.hfile
Class KeySampler
java.lang.Object
org.apache.hadoop.hbase.io.hfile.KeySampler
-
Field Summary
-
Constructor Summary
ConstructorDescriptionKeySampler
(Random random, byte[] first, byte[] last, org.apache.hadoop.hbase.util.RandomDistribution.DiscreteRNG keyLenRNG) -
Method Summary
Modifier and TypeMethodDescriptionprivate int
keyPrefixToInt
(byte[] key) void
next
(org.apache.hadoop.io.BytesWritable key)
-
Field Details
-
Constructor Details
-
KeySampler
public KeySampler(Random random, byte[] first, byte[] last, org.apache.hadoop.hbase.util.RandomDistribution.DiscreteRNG keyLenRNG)
-
-
Method Details
-
keyPrefixToInt
-
next
-