@InterfaceAudience.Private public class LoadTestDataGeneratorWithTags extends MultiThreadedAction.DefaultDataGenerator
Modifier and Type | Field and Description |
---|---|
private int |
maxNumTags |
private int |
maxTagLength |
private int |
minNumTags |
private int |
minTagLength |
args, INCREMENT, kvGenerator, MUTATE_INFO
Constructor and Description |
---|
LoadTestDataGeneratorWithTags(int minValueSize,
int maxValueSize,
int minColumnsPerKey,
int maxColumnsPerKey,
byte[]... columnFamilies) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.hbase.client.Mutation |
beforeMutate(long rowkeyBase,
org.apache.hadoop.hbase.client.Mutation m)
Giving a chance for the LoadTestDataGenerator to change the Mutation load.
|
void |
initialize(String[] args)
initialize the LoadTestDataGenerator n * init args
|
generateColumnsForCf, generateValue, getColumnFamilies, getDeterministicUniqueKey, verify, verify
beforeGet, generateData, getArgs
private int minNumTags
private int maxNumTags
private int minTagLength
private int maxTagLength
public LoadTestDataGeneratorWithTags(int minValueSize, int maxValueSize, int minColumnsPerKey, int maxColumnsPerKey, byte[]... columnFamilies)
public void initialize(String[] args)
LoadTestDataGenerator
initialize
in class LoadTestDataGenerator
public org.apache.hadoop.hbase.client.Mutation beforeMutate(long rowkeyBase, org.apache.hadoop.hbase.client.Mutation m) throws IOException
LoadTestDataGenerator
beforeMutate
in class LoadTestDataGenerator
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.