public class TestVariableWidthWriter extends SubOperatorTest
DrillTest.MemWatcherdirTestWatcher, fixturelogOutcome, objectMapper, REPEAT_RULE, thrownException, TIMEOUT| Constructor and Description |
|---|
TestVariableWidthWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
testFillEmpties()
Filling empties in a variable-width row means carrying forward
offsets (as tested elsewhere), leaving zero-length values.
|
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 |
testSkipNulls()
Test the case in which a scalar vector is used in conjunction
with a nullable bits vector.
|
void |
testWrite()
Basic test to write a contiguous set of values, enough to cause
the vector to double in size twice, then read back the values.
|
classSetup, classTeardownescapeJsonString, finishDrillTest, initDrillTestpublic void testWrite()
public void testRestartRow()
public void testFillEmpties()
public void testRollover()
public void testRolloverWithEmpties()
public void testSkipNulls()
public void testSizeLimit()
Copyright © 2021 The Apache Software Foundation. All rights reserved.