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
    Modifier and Type
    Field
    Description
    private String[][]
     
    private static final String
     
    private String[]
     

    Fields inherited from class org.apache.hadoop.hbase.util.test.LoadTestDataGenerator

    args, INCREMENT, kvGenerator, MUTATE_INFO
  • Constructor Summary

    Constructors
    Constructor
    Description
    LoadTestDataGeneratorWithVisibilityLabels(int minValueSize, int maxValueSize, int minColumnsPerKey, int maxColumnsPerKey, byte[]... columnFamilies)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.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
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • initialize

      public void initialize(String[] args)
      Overrides:
      initialize in class org.apache.hadoop.hbase.util.test.LoadTestDataGenerator
    • toAuthorizationsSet

      private static String[][] toAuthorizationsSet(String authorizationsStr)
    • beforeMutate

      public org.apache.hadoop.hbase.client.Mutation beforeMutate(long rowkeyBase, org.apache.hadoop.hbase.client.Mutation m) throws IOException
      Overrides:
      beforeMutate in class org.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 class org.apache.hadoop.hbase.util.test.LoadTestDataGenerator