public class HTestConst extends Object
HConstants
but for tests. Also provides some simple
static utility functions to generate test data.Modifier and Type | Field and Description |
---|---|
static byte[] |
DEFAULT_CF_BYTES |
static String |
DEFAULT_CF_STR |
static Set<String> |
DEFAULT_CF_STR_SET |
static byte[] |
DEFAULT_QUALIFIER_BYTES |
static String |
DEFAULT_QUALIFIER_STR |
static byte[] |
DEFAULT_ROW_BYTES |
static String |
DEFAULT_ROW_STR |
static TableName |
DEFAULT_TABLE |
static byte[] |
DEFAULT_TABLE_BYTES |
static String |
DEFAULT_TABLE_STR |
static byte[] |
DEFAULT_VALUE_BYTES |
static String |
DEFAULT_VALUE_STR |
Modifier and Type | Method and Description |
---|---|
static byte[][] |
makeNAscii(byte[] base,
int n)
Generate the given number of unique byte sequences by appending numeric
suffixes (ASCII representations of decimal numbers).
|
public static final String DEFAULT_TABLE_STR
public static final byte[] DEFAULT_TABLE_BYTES
public static final TableName DEFAULT_TABLE
public static final String DEFAULT_CF_STR
public static final byte[] DEFAULT_CF_BYTES
public static final String DEFAULT_ROW_STR
public static final byte[] DEFAULT_ROW_BYTES
public static final String DEFAULT_QUALIFIER_STR
public static final byte[] DEFAULT_QUALIFIER_BYTES
public static String DEFAULT_VALUE_STR
public static byte[] DEFAULT_VALUE_BYTES