public class BaseFixture extends Object
| Modifier and Type | Field and Description |
|---|---|
protected BufferAllocator |
allocator |
protected DrillConfig |
config |
| Constructor and Description |
|---|
BaseFixture() |
| Modifier and Type | Method and Description |
|---|---|
BufferAllocator |
allocator() |
DrillConfig |
config() |
static void |
dirtyMemory(BufferAllocator allocator,
int blockCount) |
void |
dirtyMemory(int blockCount)
Party over enough memory that the uninitialized nature of
vectors under the new writers will cause test to fail if
the writer's don't correctly fill in all values.
|
static File |
getTempDir(String dirName)
Create a temp directory to store the given dirName.
|
protected DrillConfig config
protected BufferAllocator allocator
public static File getTempDir(String dirName)
dirName - directory namepublic BufferAllocator allocator()
public DrillConfig config()
public void dirtyMemory(int blockCount)
public static void dirtyMemory(BufferAllocator allocator, int blockCount)
Copyright © 2021 The Apache Software Foundation. All rights reserved.