public class TestImportTsvParser extends Object
ImportTsv.TsvParser.| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
| Constructor and Description |
|---|
TestImportTsvParser() |
| Modifier and Type | Method and Description |
|---|---|
private void |
assertBytesEquals(byte[] a,
byte[] b) |
private void |
checkParsing(org.apache.hadoop.hbase.mapreduce.ImportTsv.TsvParser.ParsedLine parsed,
Iterable<String> expected) |
void |
testTsvParseAttributesKey() |
void |
testTsvParser() |
void |
testTsvParserBadTsvLineExcessiveColumns()
Test cases that throw BadTsvLineException
|
void |
testTsvParserBadTsvLineNoRowKey() |
void |
testTsvParserBadTsvLineOnlyKey() |
void |
testTsvParserBadTsvLineZeroColumn() |
void |
testTsvParserInvalidTimestamp() |
void |
testTsvParserNoTimestampValue() |
void |
testTsvParserParseRowKey() |
void |
testTsvParserSpecParsing() |
void |
testTsvParserWithCellVisibilityCol() |
void |
testTsvParserWithTimestamp() |
public static final HBaseClassTestRule CLASS_RULE
public TestImportTsvParser()
private void assertBytesEquals(byte[] a, byte[] b)
private void checkParsing(org.apache.hadoop.hbase.mapreduce.ImportTsv.TsvParser.ParsedLine parsed, Iterable<String> expected)
public void testTsvParserSpecParsing()
public void testTsvParser() throws org.apache.hadoop.hbase.mapreduce.ImportTsv.TsvParser.BadTsvLineException
org.apache.hadoop.hbase.mapreduce.ImportTsv.TsvParser.BadTsvLineExceptionpublic void testTsvParserWithTimestamp() throws org.apache.hadoop.hbase.mapreduce.ImportTsv.TsvParser.BadTsvLineException
org.apache.hadoop.hbase.mapreduce.ImportTsv.TsvParser.BadTsvLineExceptionpublic void testTsvParserBadTsvLineExcessiveColumns() throws org.apache.hadoop.hbase.mapreduce.ImportTsv.TsvParser.BadTsvLineException
org.apache.hadoop.hbase.mapreduce.ImportTsv.TsvParser.BadTsvLineExceptionpublic void testTsvParserBadTsvLineZeroColumn() throws org.apache.hadoop.hbase.mapreduce.ImportTsv.TsvParser.BadTsvLineException
org.apache.hadoop.hbase.mapreduce.ImportTsv.TsvParser.BadTsvLineExceptionpublic void testTsvParserBadTsvLineOnlyKey() throws org.apache.hadoop.hbase.mapreduce.ImportTsv.TsvParser.BadTsvLineException
org.apache.hadoop.hbase.mapreduce.ImportTsv.TsvParser.BadTsvLineExceptionpublic void testTsvParserBadTsvLineNoRowKey() throws org.apache.hadoop.hbase.mapreduce.ImportTsv.TsvParser.BadTsvLineException
org.apache.hadoop.hbase.mapreduce.ImportTsv.TsvParser.BadTsvLineExceptionpublic void testTsvParserInvalidTimestamp() throws org.apache.hadoop.hbase.mapreduce.ImportTsv.TsvParser.BadTsvLineException
org.apache.hadoop.hbase.mapreduce.ImportTsv.TsvParser.BadTsvLineExceptionpublic void testTsvParserNoTimestampValue() throws org.apache.hadoop.hbase.mapreduce.ImportTsv.TsvParser.BadTsvLineException
org.apache.hadoop.hbase.mapreduce.ImportTsv.TsvParser.BadTsvLineExceptionpublic void testTsvParserParseRowKey() throws org.apache.hadoop.hbase.mapreduce.ImportTsv.TsvParser.BadTsvLineException
org.apache.hadoop.hbase.mapreduce.ImportTsv.TsvParser.BadTsvLineExceptionpublic void testTsvParseAttributesKey() throws org.apache.hadoop.hbase.mapreduce.ImportTsv.TsvParser.BadTsvLineException
org.apache.hadoop.hbase.mapreduce.ImportTsv.TsvParser.BadTsvLineExceptionpublic void testTsvParserWithCellVisibilityCol() throws org.apache.hadoop.hbase.mapreduce.ImportTsv.TsvParser.BadTsvLineException
org.apache.hadoop.hbase.mapreduce.ImportTsv.TsvParser.BadTsvLineExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.