public class TestRowSet extends SubOperatorTest
Tests basic protocol of the writers:
row : tuple
tuple : column *
column : scalar obj | array obj | tuple obj | variant obj
scalar obj : scalar
array obj : array
array : index --> column
element : column
tuple obj : tuple
tuple : name --> column (also index --> column)
variant obj : variant
variant : type --> column
A list is an array of variants. Variants are tested elsewhere.
dirTestWatcher, fixture| Constructor and Description |
|---|
TestRowSet() |
| Modifier and Type | Method and Description |
|---|---|
void |
example()
The code below is not a test.
|
String |
print(Object obj) |
void |
testBufferBounds()
Test filling a row set up to the maximum vector size.
|
void |
testDictStructure() |
void |
testDictStructureMapValue() |
void |
testMapStructure()
Test a simple map structure at the top level of a row.
|
void |
testRepeatedDictStructure() |
void |
testRepeatedMapStructure() |
void |
testRowBounds()
Test filling a row set up to the maximum number of rows.
|
void |
testScalarArrayStructure()
Test a record with a top level array.
|
void |
testScalarStructure()
Test the simplest constructs: a row with top-level scalar
columns.
|
void |
testTopFixedWidthArray()
Test an array of ints (as an example fixed-width type)
at the top level of a schema.
|
classSetup, classTeardownpublic void testScalarStructure()
The focus here is the structure of the readers and writers, along with the row set loader and verifier that use those constructs. That is, while this test uses the int vector, this test is not focused on that vector.
public void testScalarArrayStructure()
VectorOverflowException - should never occurpublic void testMapStructure()
VectorOverflowException - should never occurpublic void testRepeatedMapStructure()
public void testDictStructure()
public void testDictStructureMapValue()
public void testRepeatedDictStructure()
public void testTopFixedWidthArray()
public void testRowBounds()
public void testBufferBounds()
public void example()
Copyright © 2022 The Apache Software Foundation. All rights reserved.