public class TimestampTestBase extends Object
Modifier and Type | Class and Description |
---|---|
(package private) static interface |
TimestampTestBase.FlushCache |
Modifier and Type | Field and Description |
---|---|
static byte[] |
FAMILY_NAME |
private static byte[] |
QUALIFIER_NAME |
private static byte[] |
ROW |
private static long |
T0 |
private static long |
T1 |
private static long |
T2 |
Constructor and Description |
---|
TimestampTestBase() |
Modifier and Type | Method and 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) |
private static final long T0
private static final long T1
private static final long T2
public static final byte[] FAMILY_NAME
private static final byte[] QUALIFIER_NAME
private static final byte[] ROW
public TimestampTestBase()
public static void doTestDelete(org.apache.hadoop.hbase.client.Table table, TimestampTestBase.FlushCache flusher) throws IOException
IOException
private static void assertOnlyLatest(org.apache.hadoop.hbase.client.Table incommon, long currentTime) throws IOException
IOException
public static void assertVersions(org.apache.hadoop.hbase.client.Table incommon, long[] tss) throws IOException
IOException
public static void doTestTimestampScanning(org.apache.hadoop.hbase.client.Table incommon, TimestampTestBase.FlushCache flusher) throws IOException
IOException
public static int assertScanContentTimestamp(org.apache.hadoop.hbase.client.Table in, long ts) throws IOException
IOException
public static void put(org.apache.hadoop.hbase.client.Table loader, long ts) throws IOException
IOException
public static void put(org.apache.hadoop.hbase.client.Table loader) throws IOException
IOException
public static void put(org.apache.hadoop.hbase.client.Table loader, byte[] bytes, long ts) throws IOException
IOException
public static void delete(org.apache.hadoop.hbase.client.Table loader) throws IOException
IOException
public static void delete(org.apache.hadoop.hbase.client.Table loader, byte[] column) throws IOException
IOException
public static void delete(org.apache.hadoop.hbase.client.Table loader, long ts) throws IOException
IOException
public static void delete(org.apache.hadoop.hbase.client.Table loader, byte[] column, long ts) throws IOException
IOException
public static org.apache.hadoop.hbase.client.Result get(org.apache.hadoop.hbase.client.Table loader) throws IOException
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.