Class LoadTestDataGeneratorWithVisibilityLabels
java.lang.Object
org.apache.hadoop.hbase.util.test.LoadTestDataGenerator
org.apache.hadoop.hbase.util.MultiThreadedAction.DefaultDataGenerator
org.apache.hadoop.hbase.security.visibility.LoadTestDataGeneratorWithVisibilityLabels
@Private
public class LoadTestDataGeneratorWithVisibilityLabels
extends MultiThreadedAction.DefaultDataGenerator
-
Field Summary
FieldsFields inherited from class org.apache.hadoop.hbase.util.test.LoadTestDataGenerator
args, INCREMENT, kvGenerator, MUTATE_INFO -
Constructor Summary
ConstructorsConstructorDescriptionLoadTestDataGeneratorWithVisibilityLabels(int minValueSize, int maxValueSize, int minColumnsPerKey, int maxColumnsPerKey, byte[]... columnFamilies) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.client.GetbeforeGet(long rowkeyBase, org.apache.hadoop.hbase.client.Get get) Giving a chance for the LoadTestDataGenerator to change the Get load.org.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 argsprivate static String[][]toAuthorizationsSet(String authorizationsStr) Methods 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
generateData, getArgs
-
Field Details
-
COMMA
- See Also:
-
visibilityExps
-
authorizations
-
-
Constructor Details
-
LoadTestDataGeneratorWithVisibilityLabels
public LoadTestDataGeneratorWithVisibilityLabels(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
-
toAuthorizationsSet
-
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
-
beforeGet
public org.apache.hadoop.hbase.client.Get beforeGet(long rowkeyBase, org.apache.hadoop.hbase.client.Get get) Description copied from class:LoadTestDataGeneratorGiving a chance for the LoadTestDataGenerator to change the Get load.- Overrides:
beforeGetin classLoadTestDataGenerator- Returns:
- updated Get
-