public class TestOperation extends Object
Modifier and Type | Field and Description |
---|---|
private static org.apache.hadoop.hbase.filter.FilterList |
AND_FILTER_LIST |
private static org.apache.hadoop.hbase.filter.BinaryComparator |
BC |
private static org.apache.hadoop.hbase.filter.ColumnCountGetFilter |
CCG_FILTER |
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.hbase.filter.CompareFilter.CompareOp |
CMP_OP |
private static byte[] |
CMP_VALUE |
private static int |
COL_COUNT |
private static String |
COL_NAME_1 |
private static String |
COL_NAME_2 |
private static org.apache.hadoop.hbase.filter.ColumnPrefixFilter |
COL_PRE_FILTER |
private static org.apache.hadoop.hbase.filter.ColumnPaginationFilter |
CP_FILTER |
private static org.apache.hadoop.hbase.filter.ColumnRangeFilter |
CR_FILTER |
private static org.apache.hadoop.hbase.filter.DependentColumnFilter |
DC_FILTER |
private static byte[] |
FAMILY |
private static org.apache.hadoop.hbase.filter.FamilyFilter |
FAMILY_FILTER |
private static org.apache.hadoop.hbase.filter.Filter[] |
FILTERS |
private static String[] |
FILTERS_INFO |
private static org.apache.hadoop.hbase.filter.FirstKeyOnlyFilter |
FIRST_KEY_ONLY_FILTER |
private static org.apache.hbase.thirdparty.com.google.gson.Gson |
GSON |
private static org.apache.hadoop.hbase.filter.InclusiveStopFilter |
IS_FILTER |
private static org.apache.hadoop.hbase.filter.KeyOnlyFilter |
KEY_ONLY_FILTER |
private static org.apache.hadoop.hbase.filter.FilterList |
L_FILTER_LIST |
private static org.apache.hadoop.hbase.filter.MultipleColumnPrefixFilter |
L_MCP_FILTER |
private static byte[][] |
L_PREFIXES |
private static org.apache.hadoop.hbase.filter.TimestampsFilter |
L_TS_FILTER |
private static List<Long> |
L_TS_LIST |
private static int |
LIMIT |
private static org.apache.hadoop.hbase.filter.MultipleColumnPrefixFilter |
MCP_FILTER |
private static int |
OFFSET |
private static org.apache.hadoop.hbase.filter.FilterList |
OR_FILTER_LIST |
private static org.apache.hadoop.hbase.filter.PageFilter |
PAGE_FILTER |
private static int |
PAGE_SIZE |
private static String |
PREFIX |
private static org.apache.hadoop.hbase.filter.PrefixFilter |
PREFIX_FILTER |
private static byte[][] |
PREFIXES |
private static byte[] |
QUALIFIER |
private static org.apache.hadoop.hbase.filter.QualifierFilter |
QUALIFIER_FILTER |
private static byte[] |
ROW |
private static org.apache.hadoop.hbase.filter.RowFilter |
ROW_FILTER |
private static org.apache.hadoop.hbase.filter.SingleColumnValueFilter |
SCV_FILTER |
private static org.apache.hadoop.hbase.filter.SingleColumnValueExcludeFilter |
SCVE_FILTER |
private static org.apache.hadoop.hbase.filter.SkipFilter |
SKIP_FILTER |
private static String |
STOP_ROW_KEY |
private static String |
STR_AND_FILTER_LIST |
private static String |
STR_CCG_FILTER |
private static String |
STR_COL_PRE_FILTER |
private static String |
STR_CP_FILTER |
private static String |
STR_CR_FILTER |
private static String |
STR_DC_FILTER |
private static String |
STR_FAMILY_FILTER |
private static String |
STR_FIRST_KEY_ONLY_FILTER |
private static String |
STR_IS_FILTER |
private static String |
STR_KEY_ONLY_FILTER |
private static String |
STR_L_FILTER_LIST |
private static String |
STR_L_MCP_FILTER |
private static String |
STR_L_TS_FILTER |
private static String |
STR_MCP_FILTER |
private static String |
STR_OR_FILTER_LIST |
private static String |
STR_PAGE_FILTER |
private static String |
STR_PREFIX_FILTER |
private static String |
STR_QUALIFIER_FILTER |
private static String |
STR_ROW_FILTER |
private static String |
STR_SCV_FILTER |
private static String |
STR_SCVE_FILTER |
private static String |
STR_SKIP_FILTER |
private static String |
STR_TS_FILTER |
private static String |
STR_VALUE_FILTER |
private static String |
STR_WHILE_FILTER |
private static org.apache.hadoop.hbase.filter.TimestampsFilter |
TS_FILTER |
private static List<Long> |
TS_LIST |
private static byte[] |
VALUE |
private static org.apache.hadoop.hbase.filter.ValueFilter |
VALUE_FILTER |
private static org.apache.hadoop.hbase.filter.WhileMatchFilter |
WHILE_FILTER |
Constructor and Description |
---|
TestOperation() |
Modifier and Type | Method and Description |
---|---|
void |
testOperationJSON()
Test the client Operations' JSON encoding to ensure that produced JSON is
parseable and that the details are present and not corrupted.
|
void |
testOperationSubClassMethodsAreBuilderStyle() |
void |
testPutCreationWithByteBuffer() |
public static final HBaseClassTestRule CLASS_RULE
private static byte[] ROW
private static byte[] FAMILY
private static byte[] QUALIFIER
private static byte[] VALUE
private static org.apache.hbase.thirdparty.com.google.gson.Gson GSON
private static org.apache.hadoop.hbase.filter.TimestampsFilter TS_FILTER
private static String STR_TS_FILTER
private static org.apache.hadoop.hbase.filter.TimestampsFilter L_TS_FILTER
private static String STR_L_TS_FILTER
private static String COL_NAME_1
private static org.apache.hadoop.hbase.filter.ColumnPrefixFilter COL_PRE_FILTER
private static String STR_COL_PRE_FILTER
private static String COL_NAME_2
private static org.apache.hadoop.hbase.filter.ColumnRangeFilter CR_FILTER
private static String STR_CR_FILTER
private static int COL_COUNT
private static org.apache.hadoop.hbase.filter.ColumnCountGetFilter CCG_FILTER
private static String STR_CCG_FILTER
private static int LIMIT
private static int OFFSET
private static org.apache.hadoop.hbase.filter.ColumnPaginationFilter CP_FILTER
private static String STR_CP_FILTER
private static String STOP_ROW_KEY
private static org.apache.hadoop.hbase.filter.InclusiveStopFilter IS_FILTER
private static String STR_IS_FILTER
private static org.apache.hadoop.hbase.filter.PrefixFilter PREFIX_FILTER
private static String STR_PREFIX_FILTER
private static byte[][] PREFIXES
private static org.apache.hadoop.hbase.filter.MultipleColumnPrefixFilter MCP_FILTER
private static String STR_MCP_FILTER
private static byte[][] L_PREFIXES
private static org.apache.hadoop.hbase.filter.MultipleColumnPrefixFilter L_MCP_FILTER
private static String STR_L_MCP_FILTER
private static int PAGE_SIZE
private static org.apache.hadoop.hbase.filter.PageFilter PAGE_FILTER
private static String STR_PAGE_FILTER
private static org.apache.hadoop.hbase.filter.SkipFilter SKIP_FILTER
private static String STR_SKIP_FILTER
private static org.apache.hadoop.hbase.filter.WhileMatchFilter WHILE_FILTER
private static String STR_WHILE_FILTER
private static org.apache.hadoop.hbase.filter.KeyOnlyFilter KEY_ONLY_FILTER
private static String STR_KEY_ONLY_FILTER
private static org.apache.hadoop.hbase.filter.FirstKeyOnlyFilter FIRST_KEY_ONLY_FILTER
private static String STR_FIRST_KEY_ONLY_FILTER
private static org.apache.hadoop.hbase.filter.CompareFilter.CompareOp CMP_OP
private static byte[] CMP_VALUE
private static org.apache.hadoop.hbase.filter.BinaryComparator BC
private static org.apache.hadoop.hbase.filter.DependentColumnFilter DC_FILTER
private static String STR_DC_FILTER
private static org.apache.hadoop.hbase.filter.FamilyFilter FAMILY_FILTER
private static String STR_FAMILY_FILTER
private static org.apache.hadoop.hbase.filter.QualifierFilter QUALIFIER_FILTER
private static String STR_QUALIFIER_FILTER
private static org.apache.hadoop.hbase.filter.RowFilter ROW_FILTER
private static String STR_ROW_FILTER
private static org.apache.hadoop.hbase.filter.ValueFilter VALUE_FILTER
private static String STR_VALUE_FILTER
private static org.apache.hadoop.hbase.filter.SingleColumnValueFilter SCV_FILTER
private static String STR_SCV_FILTER
private static org.apache.hadoop.hbase.filter.SingleColumnValueExcludeFilter SCVE_FILTER
private static String STR_SCVE_FILTER
private static org.apache.hadoop.hbase.filter.FilterList AND_FILTER_LIST
private static String STR_AND_FILTER_LIST
private static org.apache.hadoop.hbase.filter.FilterList OR_FILTER_LIST
private static String STR_OR_FILTER_LIST
private static org.apache.hadoop.hbase.filter.FilterList L_FILTER_LIST
private static String STR_L_FILTER_LIST
private static org.apache.hadoop.hbase.filter.Filter[] FILTERS
private static String[] FILTERS_INFO
public TestOperation()
public void testOperationJSON() throws IOException
IOException
- if the JSON conversion failspublic void testPutCreationWithByteBuffer()
public void testOperationSubClassMethodsAreBuilderStyle()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.