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
IOException
JAXBException
public void testScanUsingListenerUnmarshallerXML() throws Exception
Exception
- the exceptionpublic void testSimpleScannerProtobuf() throws Exception
Exception
public int readProtobufStream(InputStream inputStream) throws IOException
inputStream
- the input streamIOException
- Signals that an I/O exception has occurred.public void testScanningUnknownColumnJson() throws IOException, JAXBException
IOException
JAXBException
public void testSimpleFilter() throws IOException, JAXBException
IOException
JAXBException
public void testCompoundFilter() throws IOException, JAXBException
IOException
JAXBException
public void testCustomFilter() throws IOException, JAXBException
IOException
JAXBException
public void testNegativeCustomFilter() throws IOException, JAXBException
IOException
JAXBException