public class BaseTestScanLifecycle extends SubOperatorTest
| Modifier and Type | Class and Description |
|---|---|
protected static class |
BaseTestScanLifecycle.BaseMockBatchReader
Base class for the "mock" readers used in this test.
|
static class |
BaseTestScanLifecycle.DummySubScan |
protected static class |
BaseTestScanLifecycle.FailingReader |
protected static class |
BaseTestScanLifecycle.MockEarlySchemaReader
"Early schema" refers to the case in which the reader can provide a schema
when the reader is opened.
|
protected static class |
BaseTestScanLifecycle.MockEarlySchemaTypeConflictReader |
protected static class |
BaseTestScanLifecycle.MockEmptySchemaReader |
protected static class |
BaseTestScanLifecycle.MockLateSchemaReader |
protected static class |
BaseTestScanLifecycle.MockLateSchemaTypeConflictReader |
protected static class |
BaseTestScanLifecycle.MockModeConflictReader |
protected static class |
BaseTestScanLifecycle.MockReorderedReader |
protected static class |
BaseTestScanLifecycle.MockSingleColReader |
protected static class |
BaseTestScanLifecycle.MockThreeColReader |
protected static class |
BaseTestScanLifecycle.NoDataReader
Mock reader with no data or schema, indicated by an early EOF
exception.
|
protected static class |
BaseTestScanLifecycle.SingleReaderFactory |
protected static class |
BaseTestScanLifecycle.TwoReaderFactory |
DrillTest.MemWatcher| Modifier and Type | Field and Description |
|---|---|
static TupleMetadata |
CONFLICT_SCHEMA |
static TupleMetadata |
SCHEMA |
dirTestWatcher, fixturelogOutcome, objectMapper, REPEAT_RULE, thrownException, TIMEOUT| Constructor and Description |
|---|
BaseTestScanLifecycle() |
| Modifier and Type | Method and Description |
|---|---|
protected ScanLifecycle |
buildScan(ScanLifecycleBuilder builder) |
protected RowSet |
simpleExpected(int startIndex) |
protected void |
verifyEmptyReader(ScanLifecycle scan) |
protected void |
verifyStandardReader(ScanLifecycle scan,
int offset) |
classSetup, classTeardownescapeJsonString, finishDrillTest, initDrillTestpublic static final TupleMetadata SCHEMA
public static final TupleMetadata CONFLICT_SCHEMA
protected ScanLifecycle buildScan(ScanLifecycleBuilder builder)
protected RowSet simpleExpected(int startIndex)
protected void verifyEmptyReader(ScanLifecycle scan)
protected void verifyStandardReader(ScanLifecycle scan, int offset)
Copyright © 2021 The Apache Software Foundation. All rights reserved.