public class OperatorFixture extends BaseFixture implements AutoCloseable
| Modifier and Type | Class and Description |
|---|---|
static class |
OperatorFixture.Builder
Builds an operator fixture based on a set of config options and system/session
options.
|
static class |
OperatorFixture.MockExecutorState |
static class |
OperatorFixture.MockFragmentContext
Provide a simplified test-time code generation context that
uses the same code generation mechanism as the full Drill, but
provide test-specific versions of various other services.
|
static class |
OperatorFixture.MockOperatorContext |
allocator, config| Modifier | Constructor and Description |
|---|---|
protected |
OperatorFixture(OperatorFixture.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
static OperatorFixture.Builder |
builder(BaseDirTestWatcher dirTestWatcher) |
void |
close() |
FragmentContext |
getFragmentContext() |
OptionManager |
getOptionManager() |
OperatorContext |
newOperatorContext(PhysicalOperator popConfig) |
OperatorContext |
operatorContext(PhysicalOperator config) |
RowSet.ExtendableRowSet |
rowSet(BatchSchema schema) |
RowSet.ExtendableRowSet |
rowSet(TupleMetadata schema) |
RowSetBuilder |
rowSetBuilder(BatchSchema schema) |
RowSetBuilder |
rowSetBuilder(TupleMetadata schema) |
static OperatorFixture |
standardFixture(BaseDirTestWatcher dirTestWatcher) |
RowSet |
wrap(VectorContainer container) |
RowSet |
wrap(VectorContainer container,
SelectionVector2 sv2) |
allocator, config, dirtyMemory, dirtyMemory, getTempDirprotected OperatorFixture(OperatorFixture.Builder builder)
public OperatorContext operatorContext(PhysicalOperator config)
public OptionManager getOptionManager()
public FragmentContext getFragmentContext()
public void close()
throws Exception
close in interface AutoCloseableExceptionpublic static OperatorFixture.Builder builder(BaseDirTestWatcher dirTestWatcher)
public static OperatorFixture standardFixture(BaseDirTestWatcher dirTestWatcher)
public RowSetBuilder rowSetBuilder(BatchSchema schema)
public RowSetBuilder rowSetBuilder(TupleMetadata schema)
public RowSet.ExtendableRowSet rowSet(BatchSchema schema)
public RowSet.ExtendableRowSet rowSet(TupleMetadata schema)
public RowSet wrap(VectorContainer container)
public OperatorContext newOperatorContext(PhysicalOperator popConfig)
public RowSet wrap(VectorContainer container, SelectionVector2 sv2)
Copyright © 2022 The Apache Software Foundation. All rights reserved.