Package org.apache.hadoop.hbase.client
Class TestOperation
java.lang.Object
org.apache.hadoop.hbase.client.TestOperation
Run tests that use the functionality of the Operation superclass for Puts, Gets, Deletes, Scans,
and MultiPuts.
-
Field Summary
Modifier and TypeFieldDescriptionprivate static org.apache.hadoop.hbase.filter.FilterList
private static org.apache.hadoop.hbase.filter.BinaryComparator
private static org.apache.hadoop.hbase.filter.ColumnCountGetFilter
static final HBaseClassTestRule
private static org.apache.hadoop.hbase.CompareOperator
private static byte[]
private static int
private static String
private static String
private static org.apache.hadoop.hbase.filter.ColumnPrefixFilter
private static org.apache.hadoop.hbase.filter.ColumnPaginationFilter
private static org.apache.hadoop.hbase.filter.ColumnRangeFilter
private static org.apache.hadoop.hbase.filter.DependentColumnFilter
private static byte[]
private static org.apache.hadoop.hbase.filter.FamilyFilter
private static org.apache.hadoop.hbase.filter.Filter[]
private static String[]
private static org.apache.hadoop.hbase.filter.FirstKeyOnlyFilter
private static org.apache.hbase.thirdparty.com.google.gson.Gson
private static org.apache.hadoop.hbase.filter.InclusiveStopFilter
private static org.apache.hadoop.hbase.filter.KeyOnlyFilter
private static org.apache.hadoop.hbase.filter.FilterList
private static org.apache.hadoop.hbase.filter.MultipleColumnPrefixFilter
private static byte[][]
private static org.apache.hadoop.hbase.filter.TimestampsFilter
private static int
private static org.apache.hadoop.hbase.filter.MultipleColumnPrefixFilter
private static int
private static org.apache.hadoop.hbase.filter.FilterList
private static org.apache.hadoop.hbase.filter.PageFilter
private static int
private static String
private static org.apache.hadoop.hbase.filter.PrefixFilter
private static byte[][]
private static byte[]
private static org.apache.hadoop.hbase.filter.QualifierFilter
private static byte[]
private static org.apache.hadoop.hbase.filter.RowFilter
private static org.apache.hadoop.hbase.filter.SingleColumnValueFilter
private static org.apache.hadoop.hbase.filter.SingleColumnValueExcludeFilter
private static org.apache.hadoop.hbase.filter.SkipFilter
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static String
private static org.apache.hadoop.hbase.filter.TimestampsFilter
private static byte[]
private static org.apache.hadoop.hbase.filter.ValueFilter
private static org.apache.hadoop.hbase.filter.WhileMatchFilter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Test the client Get Operations' JSON encoding to ensure that produced JSON is parseable and that the details are present and not corrupted.void
Test the client Operations' JSON encoding to ensure that produced JSON is parseable and that the details are present and not corrupted.void
void
void
Test the client Scan Operations' JSON encoding to ensure that produced JSON is parseable and that the details are present and not corrupted.
-
Field Details
-
CLASS_RULE
-
ROW
-
FAMILY
-
QUALIFIER
-
VALUE
-
GSON
-
TS_LIST
-
TS_FILTER
-
STR_TS_FILTER
-
L_TS_LIST
-
L_TS_FILTER
-
STR_L_TS_FILTER
-
COL_NAME_1
-
COL_PRE_FILTER
-
STR_COL_PRE_FILTER
-
COL_NAME_2
-
CR_FILTER
-
STR_CR_FILTER
-
COL_COUNT
-
CCG_FILTER
-
STR_CCG_FILTER
-
LIMIT
-
OFFSET
-
CP_FILTER
-
STR_CP_FILTER
-
STOP_ROW_KEY
-
IS_FILTER
-
STR_IS_FILTER
-
PREFIX
-
PREFIX_FILTER
-
STR_PREFIX_FILTER
-
PREFIXES
-
MCP_FILTER
-
STR_MCP_FILTER
-
L_PREFIXES
-
L_MCP_FILTER
-
STR_L_MCP_FILTER
-
PAGE_SIZE
-
PAGE_FILTER
-
STR_PAGE_FILTER
-
SKIP_FILTER
-
STR_SKIP_FILTER
-
WHILE_FILTER
-
STR_WHILE_FILTER
-
KEY_ONLY_FILTER
-
STR_KEY_ONLY_FILTER
-
FIRST_KEY_ONLY_FILTER
-
STR_FIRST_KEY_ONLY_FILTER
-
CMP_OP
-
CMP_VALUE
-
BC
-
DC_FILTER
-
STR_DC_FILTER
-
FAMILY_FILTER
-
STR_FAMILY_FILTER
-
QUALIFIER_FILTER
-
STR_QUALIFIER_FILTER
-
ROW_FILTER
-
STR_ROW_FILTER
-
VALUE_FILTER
-
STR_VALUE_FILTER
-
SCV_FILTER
-
STR_SCV_FILTER
-
SCVE_FILTER
-
STR_SCVE_FILTER
-
AND_FILTER_LIST
-
STR_AND_FILTER_LIST
-
OR_FILTER_LIST
-
STR_OR_FILTER_LIST
-
L_FILTER_LIST
-
STR_L_FILTER_LIST
-
FILTERS
-
FILTERS_INFO
-
-
Constructor Details
-
TestOperation
public TestOperation()
-
-
Method Details
-
testOperationJSON
Test the client Operations' JSON encoding to ensure that produced JSON is parseable and that the details are present and not corrupted.- Throws:
IOException
- if the JSON conversion fails
-
testScanOperationToJSON
Test the client Scan Operations' JSON encoding to ensure that produced JSON is parseable and that the details are present and not corrupted.- Throws:
IOException
- if the JSON conversion fails
-
testPutCreationWithByteBuffer
-
testOperationSubClassMethodsAreBuilderStyle
-
testGetOperationToJSON
Test the client Get Operations' JSON encoding to ensure that produced JSON is parseable and that the details are present and not corrupted.- Throws:
IOException
- if the JSON conversion fails
-