public class TestScanBasics extends BaseScanTest
BaseScanTest.BaseScanFixtureBuilder, BaseScanTest.EofOnOpenReader, BaseScanTest.MockEarlySchemaReader, BaseScanTest.ObservableCreator, BaseScanTest.ReaderCreator, BaseScanTest.ReaderFactoryFixtureDrillTest.MemWatcher| Modifier and Type | Field and Description |
|---|---|
static String |
ERROR_MSG |
dirTestWatcher, fixturelogOutcome, objectMapper, REPEAT_RULE, thrownException, TIMEOUT| Constructor and Description |
|---|
TestScanBasics() |
| Modifier and Type | Method and Description |
|---|---|
void |
testEarlyScanClose() |
void |
testEOFOnFirstOpen() |
void |
testExceptionOnClose() |
void |
testExceptionOnFirstNext() |
void |
testExceptionOnOpen() |
void |
testExceptionOnSecondNext()
Test throwing an exception after the first batch, but while
"reading" the second.
|
void |
testMultiEOFOnFirstBatch()
Test multiple readers, all EOF on first batch.
|
void |
testNoReader()
Pathological case that a scan operator is provided no readers.
|
void |
testUserExceptionOnClose() |
void |
testUserExceptionOnFirstNext() |
void |
testUserExceptionOnOpen() |
void |
testUserExceptionOnSecondNext() |
expectedSchema, makeExpected, makeExpected, simpleBuilder, simpleFixture, verifyBatchclassSetup, classTeardownescapeJsonString, finishDrillTest, initDrillTestpublic static final String ERROR_MSG
public void testNoReader()
public void testExceptionOnOpen()
public void testUserExceptionOnOpen()
public void testExceptionOnFirstNext()
public void testUserExceptionOnFirstNext()
public void testExceptionOnSecondNext()
public void testUserExceptionOnSecondNext()
public void testExceptionOnClose()
public void testUserExceptionOnClose()
public void testEOFOnFirstOpen()
public void testMultiEOFOnFirstBatch()
public void testEarlyScanClose()
Copyright © 2021 The Apache Software Foundation. All rights reserved.