Package org.apache.hadoop.hbase.util
Class LoadTestDataGeneratorWithTags
java.lang.Object
org.apache.hadoop.hbase.util.test.LoadTestDataGenerator
org.apache.hadoop.hbase.util.MultiThreadedAction.DefaultDataGenerator
org.apache.hadoop.hbase.util.LoadTestDataGeneratorWithTags
@Private
public class LoadTestDataGeneratorWithTags
extends MultiThreadedAction.DefaultDataGenerator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate intprivate intFields inherited from class org.apache.hadoop.hbase.util.test.LoadTestDataGenerator
args, INCREMENT, kvGenerator, MUTATE_INFO -
Constructor Summary
ConstructorsConstructorDescriptionLoadTestDataGeneratorWithTags(int minValueSize, int maxValueSize, int minColumnsPerKey, int maxColumnsPerKey, byte[]... columnFamilies) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.client.MutationbeforeMutate(long rowkeyBase, org.apache.hadoop.hbase.client.Mutation m) Giving a chance for the LoadTestDataGenerator to change the Mutation load.voidinitialize(String[] args) initialize the LoadTestDataGenerator init argsMethods inherited from class org.apache.hadoop.hbase.util.MultiThreadedAction.DefaultDataGenerator
generateColumnsForCf, generateValue, getColumnFamilies, getDeterministicUniqueKey, verify, verifyMethods inherited from class org.apache.hadoop.hbase.util.test.LoadTestDataGenerator
beforeGet, generateData, getArgs
-
Field Details
-
minNumTags
-
maxNumTags
-
minTagLength
-
maxTagLength
-
-
Constructor Details
-
LoadTestDataGeneratorWithTags
public LoadTestDataGeneratorWithTags(int minValueSize, int maxValueSize, int minColumnsPerKey, int maxColumnsPerKey, byte[]... columnFamilies)
-
-
Method Details
-
initialize
Description copied from class:LoadTestDataGeneratorinitialize the LoadTestDataGenerator init args- Overrides:
initializein classLoadTestDataGenerator
-
beforeMutate
public org.apache.hadoop.hbase.client.Mutation beforeMutate(long rowkeyBase, org.apache.hadoop.hbase.client.Mutation m) throws IOException Description copied from class:LoadTestDataGeneratorGiving a chance for the LoadTestDataGenerator to change the Mutation load.- Overrides:
beforeMutatein classLoadTestDataGenerator- Returns:
- updated Mutation
- Throws:
IOException
-