Package org.apache.calcite.adapter.clone
Class ArrayTableTest
- java.lang.Object
-
- org.apache.calcite.adapter.clone.ArrayTableTest
-
public class ArrayTableTest extends java.lang.Object
Unit test forArrayTable
andColumnLoader
.
-
-
Constructor Summary
Constructors Constructor Description ArrayTableTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
checkColumn(org.apache.calcite.adapter.clone.ArrayTable.Column x, org.apache.calcite.adapter.clone.ArrayTable.RepresentationType expectedRepresentationType, java.lang.String expectedString)
void
testAllNull()
void
testLoadSorted()
void
testLoadSorted2()
AstestLoadSorted()
but column #1 is the unique column, not column #0.void
testLog2()
void
testNextPowerOf2()
void
testOneValueOneNull()
void
testPrimitiveArray()
void
testStrings()
void
testValueSetBoolean()
void
testValueSetInt()
void
testValueSetZero()
-
-
-
Method Detail
-
testPrimitiveArray
public void testPrimitiveArray()
-
testNextPowerOf2
public void testNextPowerOf2()
-
testLog2
public void testLog2()
-
testValueSetInt
public void testValueSetInt()
-
testValueSetBoolean
public void testValueSetBoolean()
-
testValueSetZero
public void testValueSetZero()
-
testStrings
public void testStrings()
-
testAllNull
public void testAllNull()
-
testOneValueOneNull
public void testOneValueOneNull()
-
testLoadSorted
public void testLoadSorted()
-
testLoadSorted2
public void testLoadSorted2()
AstestLoadSorted()
but column #1 is the unique column, not column #0. The algorithm needs to go back and permute the values of column #0 after it discovers that column #1 is unique and sorts by it.
-
checkColumn
private void checkColumn(org.apache.calcite.adapter.clone.ArrayTable.Column x, org.apache.calcite.adapter.clone.ArrayTable.RepresentationType expectedRepresentationType, java.lang.String expectedString)
-
-