Class TimestampTestBase

java.lang.Object
org.apache.hadoop.hbase.TimestampTestBase

public class TimestampTestBase extends Object
Tests user specifiable time stamps putting, getting and scanning. Also tests same in presence of deletes. Test cores are written so can be run against an HRegion and against an HTable: i.e. both local and remote.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    (package private) static interface 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final byte[]
     
    private static final byte[]
     
    private static final byte[]
     
    private static final long
     
    private static final long
     
    private static final long
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private static void
    assertOnlyLatest(org.apache.hadoop.hbase.client.Table incommon, long currentTime)
     
    static int
    assertScanContentTimestamp(org.apache.hadoop.hbase.client.Table in, long ts)
     
    static void
    assertVersions(org.apache.hadoop.hbase.client.Table incommon, long[] tss)
     
    static void
    delete(org.apache.hadoop.hbase.client.Table loader)
     
    static void
    delete(org.apache.hadoop.hbase.client.Table loader, byte[] column)
     
    static void
    delete(org.apache.hadoop.hbase.client.Table loader, byte[] column, long ts)
     
    static void
    delete(org.apache.hadoop.hbase.client.Table loader, long ts)
     
    static void
    doTestDelete(org.apache.hadoop.hbase.client.Table table, TimestampTestBase.FlushCache flusher)
     
    static void
    doTestTimestampScanning(org.apache.hadoop.hbase.client.Table incommon, TimestampTestBase.FlushCache flusher)
     
    static org.apache.hadoop.hbase.client.Result
    get(org.apache.hadoop.hbase.client.Table loader)
     
    static void
    put(org.apache.hadoop.hbase.client.Table loader)
     
    static void
    put(org.apache.hadoop.hbase.client.Table loader, byte[] bytes, long ts)
     
    static void
    put(org.apache.hadoop.hbase.client.Table loader, long ts)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait