@InterfaceAudience.Private public class LoadTestDataGeneratorWithVisibilityLabels extends MultiThreadedAction.DefaultDataGenerator
| Modifier and Type | Field and Description |
|---|---|
private String[][] |
authorizations |
private static String |
COMMA |
private String[] |
visibilityExps |
args, INCREMENT, kvGenerator, MUTATE_INFO| Constructor and Description |
|---|
LoadTestDataGeneratorWithVisibilityLabels(int minValueSize,
int maxValueSize,
int minColumnsPerKey,
int maxColumnsPerKey,
byte[]... columnFamilies) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.hbase.client.Get |
beforeGet(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.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
|
private static String[][] |
toAuthorizationsSet(String authorizationsStr) |
generateColumnsForCf, generateValue, getColumnFamilies, getDeterministicUniqueKey, verify, verifygenerateData, getArgsprivate static final String COMMA
private String[] visibilityExps
private String[][] authorizations
public LoadTestDataGeneratorWithVisibilityLabels(int minValueSize, int maxValueSize, int minColumnsPerKey, int maxColumnsPerKey, byte[]... columnFamilies)
public void initialize(String[] args)
LoadTestDataGeneratorinitialize in class LoadTestDataGeneratorargs - init argsprivate static String[][] toAuthorizationsSet(String authorizationsStr)
public org.apache.hadoop.hbase.client.Mutation beforeMutate(long rowkeyBase, org.apache.hadoop.hbase.client.Mutation m) throws IOException
LoadTestDataGeneratorbeforeMutate in class LoadTestDataGeneratorIOExceptionpublic org.apache.hadoop.hbase.client.Get beforeGet(long rowkeyBase, org.apache.hadoop.hbase.client.Get get)
LoadTestDataGeneratorbeforeGet in class LoadTestDataGeneratorCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.