Class LoadTestDataGeneratorWithACL
java.lang.Object
org.apache.hadoop.hbase.util.test.LoadTestDataGenerator
org.apache.hadoop.hbase.util.MultiThreadedAction.DefaultDataGenerator
org.apache.hadoop.hbase.util.test.LoadTestDataGeneratorWithACL
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
private static final org.slf4j.Logger
private int
private String[]
Fields inherited from class org.apache.hadoop.hbase.util.test.LoadTestDataGenerator
args, INCREMENT, kvGenerator, MUTATE_INFO
-
Constructor Summary
ConstructorsConstructorDescriptionLoadTestDataGeneratorWithACL
(int minValueSize, int maxValueSize, int minColumnsPerKey, int maxColumnsPerKey, byte[]... columnFamilies) -
Method Summary
Modifier and TypeMethodDescriptionorg.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 init argsMethods inherited from class org.apache.hadoop.hbase.util.MultiThreadedAction.DefaultDataGenerator
generateColumnsForCf, generateValue, getColumnFamilies, getDeterministicUniqueKey, verify, verify
Methods inherited from class org.apache.hadoop.hbase.util.test.LoadTestDataGenerator
beforeGet, generateData, getArgs
-
Field Details
-
LOG
-
userNames
-
COMMA
- See Also:
-
specialPermCellInsertionFactor
-
-
Constructor Details
-
LoadTestDataGeneratorWithACL
public LoadTestDataGeneratorWithACL(int minValueSize, int maxValueSize, int minColumnsPerKey, int maxColumnsPerKey, byte[]... columnFamilies)
-
-
Method Details
-
initialize
Description copied from class:LoadTestDataGenerator
initialize the LoadTestDataGenerator init args- Overrides:
initialize
in 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:LoadTestDataGenerator
Giving a chance for the LoadTestDataGenerator to change the Mutation load.- Overrides:
beforeMutate
in classLoadTestDataGenerator
- Returns:
- updated Mutation
- Throws:
IOException
-