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 org.apache.hadoop.hbase.util.MultiThreadedAction.DefaultDataGenerator
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.util.test.LoadTestDataGenerator
args, INCREMENT, kvGenerator, MUTATE_INFO
-
Constructor Summary
ConstructorDescriptionLoadTestDataGeneratorWithVisibilityLabels
(int minValueSize, int maxValueSize, int minColumnsPerKey, int maxColumnsPerKey, byte[]... columnFamilies) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.client.Get
beforeGet
(long rowkeyBase, org.apache.hadoop.hbase.client.Get get) org.apache.hadoop.hbase.client.Mutation
beforeMutate
(long rowkeyBase, org.apache.hadoop.hbase.client.Mutation m) void
initialize
(String[] args) private static String[][]
toAuthorizationsSet
(String authorizationsStr) Methods 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
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
- Overrides:
initialize
in classorg.apache.hadoop.hbase.util.test.LoadTestDataGenerator
-
toAuthorizationsSet
-
beforeMutate
public org.apache.hadoop.hbase.client.Mutation beforeMutate(long rowkeyBase, org.apache.hadoop.hbase.client.Mutation m) throws IOException - Overrides:
beforeMutate
in classorg.apache.hadoop.hbase.util.test.LoadTestDataGenerator
- Throws:
IOException
-
beforeGet
public org.apache.hadoop.hbase.client.Get beforeGet(long rowkeyBase, org.apache.hadoop.hbase.client.Get get) - Overrides:
beforeGet
in classorg.apache.hadoop.hbase.util.test.LoadTestDataGenerator
-