public class TestOffsetVectorWriter extends SubOperatorTest
DrillTest.MemWatcherdirTestWatcher, fixturelogOutcome, objectMapper, REPEAT_RULE, thrownException, TIMEOUT| Constructor and Description |
|---|
TestOffsetVectorWriter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
setup()
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.
|
void |
testFillEmpties()
Offset vectors have specific behavior when back-filling missing values:
the last offset must be carried forward into the missing slots.
|
void |
testRestartRow() |
void |
testRollover()
The rollover method is used during vector overflow.
|
void |
testRolloverWithEmpties()
Simulate the case in which the tail end of an overflow
batch has empties.
|
void |
testSizeLimit()
Test resize monitoring.
|
void |
testWrite()
Basic test to write a contiguous set of offsets, enough to cause
the vector to double in size twice, then read back the values.
|
classSetup, classTeardownescapeJsonString, finishDrillTest, initDrillTestpublic static void setup()
public void testWrite()
public void testRestartRow()
public void testFillEmpties()
public void testRollover()
public void testRolloverWithEmpties()
public void testSizeLimit()
Copyright © 2021 The Apache Software Foundation. All rights reserved.