public class TestTableScan
extends java.lang.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(java.io.InputStream inputStream)
Read protobuf stream.
|
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testCompoundFilter() |
void |
testCustomFilter() |
void |
testNegativeCustomFilter() |
void |
testReversed() |
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 static void setUpBeforeClass()
throws java.lang.Exception
java.lang.Exceptionpublic static void tearDownAfterClass()
throws java.lang.Exception
java.lang.Exceptionpublic void testSimpleScannerXML()
throws java.io.IOException,
javax.xml.bind.JAXBException,
javax.xml.stream.XMLStreamException
java.io.IOExceptionjavax.xml.bind.JAXBExceptionjavax.xml.stream.XMLStreamExceptionpublic void testSimpleScannerJson()
throws java.io.IOException,
javax.xml.bind.JAXBException
java.io.IOExceptionjavax.xml.bind.JAXBExceptionpublic void testScanUsingListenerUnmarshallerXML()
throws java.lang.Exception
java.lang.Exception - the exceptionpublic void testStreamingJSON()
throws java.lang.Exception
java.lang.Exceptionpublic void testSimpleScannerProtobuf()
throws java.lang.Exception
java.lang.Exceptionpublic int readProtobufStream(java.io.InputStream inputStream)
throws java.io.IOException
inputStream - the input streamjava.io.IOException - Signals that an I/O exception has occurred.public void testScanningUnknownColumnJson()
throws java.io.IOException,
javax.xml.bind.JAXBException
java.io.IOExceptionjavax.xml.bind.JAXBExceptionpublic void testSimpleFilter()
throws java.io.IOException,
javax.xml.bind.JAXBException
java.io.IOExceptionjavax.xml.bind.JAXBExceptionpublic void testCompoundFilter()
throws java.io.IOException,
javax.xml.bind.JAXBException
java.io.IOExceptionjavax.xml.bind.JAXBExceptionpublic void testCustomFilter()
throws java.io.IOException,
javax.xml.bind.JAXBException
java.io.IOExceptionjavax.xml.bind.JAXBExceptionpublic void testNegativeCustomFilter()
throws java.io.IOException,
javax.xml.bind.JAXBException
java.io.IOExceptionjavax.xml.bind.JAXBExceptionpublic void testReversed()
throws java.io.IOException,
javax.xml.bind.JAXBException
java.io.IOExceptionjavax.xml.bind.JAXBException