public static class StripeCompactionsPerformanceEvaluation.SeqShardedDataGenerator
extends LoadTestDataGenerator
Constructor and Description |
---|
SeqShardedDataGenerator(int minValueSize,
int maxValueSize,
int numPartitions) |
Modifier and Type | Method and Description |
---|---|
byte[][] |
generateColumnsForCf(byte[] rowKey,
byte[] cf) |
byte[] |
generateValue(byte[] rowKey,
byte[] cf,
byte[] column) |
byte[][] |
getColumnFamilies() |
byte[] |
getDeterministicUniqueKey(long keyBase) |
boolean |
verify(byte[] rowKey,
byte[] cf,
byte[] column,
byte[] value) |
boolean |
verify(byte[] rowKey,
byte[] cf,
java.util.Set<byte[]> columnSet) |
public SeqShardedDataGenerator(int minValueSize, int maxValueSize, int numPartitions)
public byte[] getDeterministicUniqueKey(long keyBase)
public byte[][] getColumnFamilies()
public byte[][] generateColumnsForCf(byte[] rowKey, byte[] cf)
public byte[] generateValue(byte[] rowKey, byte[] cf, byte[] column)
public boolean verify(byte[] rowKey, byte[] cf, byte[] column, byte[] value)
public boolean verify(byte[] rowKey, byte[] cf, java.util.Set<byte[]> columnSet)