public class TestTableScan extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestTableScan.ClientSideCellSetModel
The Class ClientSideCellSetModel which mimics cell set model, and contains listener to perform
user defined operations on the row model.
|
static class |
TestTableScan.CustomFilter |
| Constructor and Description |
|---|
TestTableScan() |
| Modifier and Type | Method and Description |
|---|---|
int |
readProtobufStream(InputStream inputStream)
Read protobuf stream.
|
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testCompoundFilter() |
void |
testCustomFilter() |
void |
testNegativeCustomFilter() |
void |
testScanningUnknownColumnJson() |
void |
testScanUsingListenerUnmarshallerXML()
An example to scan using listener in unmarshaller for XML.
|
void |
testSimpleFilter() |
void |
testSimpleScannerJson() |
void |
testSimpleScannerProtobuf() |
void |
testSimpleScannerXML() |
void |
testStreamingJSON() |
public void testSimpleScannerXML()
throws IOException,
JAXBException,
XMLStreamException
public void testSimpleScannerJson()
throws IOException,
JAXBException
IOExceptionJAXBExceptionpublic void testScanUsingListenerUnmarshallerXML()
throws Exception
Exception - the exceptionpublic void testSimpleScannerProtobuf()
throws Exception
Exceptionpublic int readProtobufStream(InputStream inputStream) throws IOException
inputStream - the input streamIOException - Signals that an I/O exception has occurred.public void testScanningUnknownColumnJson()
throws IOException,
JAXBException
IOExceptionJAXBExceptionpublic void testSimpleFilter()
throws IOException,
JAXBException
IOExceptionJAXBExceptionpublic void testCompoundFilter()
throws IOException,
JAXBException
IOExceptionJAXBExceptionpublic void testCustomFilter()
throws IOException,
JAXBException
IOExceptionJAXBExceptionpublic void testNegativeCustomFilter()
throws IOException,
JAXBException
IOExceptionJAXBException