public class TestResultSetLoaderMapArray extends SubOperatorTest
The tests here should be considered in the "extra for experts" category: run and/or debug these tests only after the scalar tests work. Maps, and especially repeated maps, are very complex constructs not to be tackled lightly.
dirTestWatcher, fixture| Constructor and Description |
|---|
TestResultSetLoaderMapArray() |
| Modifier and Type | Method and Description |
|---|---|
void |
testBasics() |
void |
testCloseWithoutHarvest()
Test that memory is released if the loader is closed with an active
batch (that is, before the batch is harvested.)
|
void |
testDoubleNestedArray()
Test a doubly-nested array of maps.
|
void |
testNestedArray() |
void |
testOmittedValues()
Check that the "fill-empties" logic descends down into
a repeated map.
|
void |
testOverwriteRow()
Version of the {#link TestResultSetLoaderProtocol#testOverwriteRow()} test
that uses nested columns inside an array of maps.
|
classSetup, classTeardownpublic void testBasics()
public void testNestedArray()
public void testDoubleNestedArray()
public void testOverwriteRow()
start() to reset the array back to the initial start position after
each "discard."public void testOmittedValues()
public void testCloseWithoutHarvest()
Copyright © 2022 The Apache Software Foundation. All rights reserved.