Class StripeCompactionsPerformanceEvaluation.SeqShardedDataGenerator

java.lang.Object
org.apache.hadoop.hbase.util.test.LoadTestDataGenerator
org.apache.hadoop.hbase.StripeCompactionsPerformanceEvaluation.SeqShardedDataGenerator
Enclosing class:
StripeCompactionsPerformanceEvaluation

public static class StripeCompactionsPerformanceEvaluation.SeqShardedDataGenerator extends org.apache.hadoop.hbase.util.test.LoadTestDataGenerator
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final byte[][]
     
    private final int
     
    private static final int
     
    private static final int
     

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

    args, INCREMENT, kvGenerator, MUTATE_INFO
  • Constructor Summary

    Constructors
    Constructor
    Description
    SeqShardedDataGenerator(int minValueSize, int maxValueSize, int numPartitions)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[][]
    generateColumnsForCf(byte[] rowKey, byte[] cf)
     
    byte[]
    generateValue(byte[] rowKey, byte[] cf, byte[] column)
     
    byte[][]
     
    byte[]
     
    private String
    getPrefix(long i)
     
    boolean
    verify(byte[] rowKey, byte[] cf, byte[] column, byte[] value)
     
    boolean
    verify(byte[] rowKey, byte[] cf, Set<byte[]> columnSet)
     

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

    beforeGet, beforeMutate, generateData, getArgs, initialize

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • SeqShardedDataGenerator

      public SeqShardedDataGenerator(int minValueSize, int maxValueSize, int numPartitions)
  • Method Details

    • getDeterministicUniqueKey

      public byte[] getDeterministicUniqueKey(long keyBase)
      Specified by:
      getDeterministicUniqueKey in class org.apache.hadoop.hbase.util.test.LoadTestDataGenerator
    • getPrefix

      private String getPrefix(long i)
    • getColumnFamilies

      public byte[][] getColumnFamilies()
      Specified by:
      getColumnFamilies in class org.apache.hadoop.hbase.util.test.LoadTestDataGenerator
    • generateColumnsForCf

      public byte[][] generateColumnsForCf(byte[] rowKey, byte[] cf)
      Specified by:
      generateColumnsForCf in class org.apache.hadoop.hbase.util.test.LoadTestDataGenerator
    • generateValue

      public byte[] generateValue(byte[] rowKey, byte[] cf, byte[] column)
      Specified by:
      generateValue in class org.apache.hadoop.hbase.util.test.LoadTestDataGenerator
    • verify

      public boolean verify(byte[] rowKey, byte[] cf, byte[] column, byte[] value)
      Specified by:
      verify in class org.apache.hadoop.hbase.util.test.LoadTestDataGenerator
    • verify

      public boolean verify(byte[] rowKey, byte[] cf, Set<byte[]> columnSet)
      Specified by:
      verify in class org.apache.hadoop.hbase.util.test.LoadTestDataGenerator