Package org.apache.hadoop.hbase.rest
Class TestTableScan
java.lang.Object
org.apache.hadoop.hbase.rest.TestTableScan
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
The Class ClientSideCellSetModel which mimics cell set model, and contains listener to perform user defined operations on the row model.static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Base64.Encoder
private static final String
private static final String
static final HBaseClassTestRule
private static org.apache.hadoop.hbase.rest.client.Client
private static final String
private static final String
private static final String
private static org.apache.hadoop.conf.Configuration
private static int
private static int
private static int
private static final HBaseRESTTestingUtility
private static final org.apache.hadoop.hbase.TableName
private static final HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
checkRowsNotNull
(org.apache.hadoop.hbase.rest.model.CellSetModel model) int
readProtobufStream
(InputStream inputStream) Read protobuf stream.static void
static void
void
void
void
void
void
void
void
void
An example to scan using listener in unmarshaller for XML.void
void
void
void
void
void
-
Field Details
-
CLASS_RULE
-
TABLE
-
CFA
- See Also:
-
CFB
- See Also:
-
COLUMN_1
- See Also:
-
COLUMN_2
- See Also:
-
COLUMN_EMPTY
- See Also:
-
client
-
expectedRows1
-
expectedRows2
-
expectedRows3
-
conf
-
base64UrlEncoder
-
TEST_UTIL
-
REST_TEST_UTIL
-
-
Constructor Details
-
TestTableScan
public TestTableScan()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
testSimpleScannerXML
- Throws:
IOException
javax.xml.bind.JAXBException
-
testSimpleScannerJson
- Throws:
IOException
-
testScanUsingListenerUnmarshallerXML
An example to scan using listener in unmarshaller for XML.- Throws:
Exception
- the exception
-
testStreamingJSON
- Throws:
Exception
-
testSimpleScannerProtobuf
- Throws:
Exception
-
checkRowsNotNull
-
readProtobufStream
Read protobuf stream.- Parameters:
inputStream
- the input stream- Returns:
- The number of rows in the cell set model.
- Throws:
IOException
- Signals that an I/O exception has occurred.
-
testScanningUnknownColumnJson
- Throws:
IOException
-
testSimpleFilter
- Throws:
IOException
javax.xml.bind.JAXBException
-
testSimpleFilterBase64
- Throws:
IOException
javax.xml.bind.JAXBException
-
testQualifierAndPrefixFilters
- Throws:
IOException
javax.xml.bind.JAXBException
-
testCompoundFilter
- Throws:
IOException
javax.xml.bind.JAXBException
-
testCustomFilter
- Throws:
IOException
javax.xml.bind.JAXBException
-
testNegativeCustomFilter
- Throws:
IOException
javax.xml.bind.JAXBException
-
testReversed
- Throws:
IOException
javax.xml.bind.JAXBException
-
testColumnWithEmptyQualifier
- Throws:
IOException
-