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
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) org.apache.hadoop.hbase.client.MutationbeforeMutate(long rowkeyBase, org.apache.hadoop.hbase.client.Mutation m) voidinitialize(String[] args) private 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
- Overrides:
initializein 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:
beforeMutatein 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:
beforeGetin classorg.apache.hadoop.hbase.util.test.LoadTestDataGenerator
-