Package org.apache.calcite.runtime
Class EnumerablesTest
- java.lang.Object
-
- org.apache.calcite.runtime.EnumerablesTest
-
public class EnumerablesTest extends java.lang.Object
Unit tests forEnumerables
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
EnumerablesTest.Dept
Department record.private static class
EnumerablesTest.Emp
Employee record.
-
Field Summary
Fields Modifier and Type Field Description private static org.apache.calcite.linq4j.Enumerable<EnumerablesTest.Dept>
DEPTS
private static org.apache.calcite.linq4j.function.Function2<EnumerablesTest.Emp,EnumerablesTest.Dept,java.lang.String>
EMP_DEPT_TO_STRING
private static org.apache.calcite.linq4j.Enumerable<EnumerablesTest.Emp>
EMPS
private static org.apache.calcite.linq4j.function.Predicate2<EnumerablesTest.Emp,EnumerablesTest.Dept>
EQUAL_DEPTNO
-
Constructor Summary
Constructors Constructor Description EnumerablesTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static <T extends java.lang.Comparable<T>>
org.apache.calcite.linq4j.Enumerable<T>intersect(java.util.List<T> list0, java.util.List<T> list1)
void
testMergeJoin()
void
testMergeJoin2()
void
testMergeJoin3()
void
testSemiJoin()
void
testThetaFullJoin()
void
testThetaFullJoinBothEmpty()
void
testThetaFullJoinLeftEmpty()
void
testThetaFullJoinRightEmpty()
void
testThetaJoin()
void
testThetaLeftJoin()
void
testThetaRightJoin()
-
-
-
Field Detail
-
EMPS
private static final org.apache.calcite.linq4j.Enumerable<EnumerablesTest.Emp> EMPS
-
DEPTS
private static final org.apache.calcite.linq4j.Enumerable<EnumerablesTest.Dept> DEPTS
-
EMP_DEPT_TO_STRING
private static final org.apache.calcite.linq4j.function.Function2<EnumerablesTest.Emp,EnumerablesTest.Dept,java.lang.String> EMP_DEPT_TO_STRING
-
EQUAL_DEPTNO
private static final org.apache.calcite.linq4j.function.Predicate2<EnumerablesTest.Emp,EnumerablesTest.Dept> EQUAL_DEPTNO
-
-
Method Detail
-
testSemiJoin
public void testSemiJoin()
-
testMergeJoin
public void testMergeJoin()
-
testMergeJoin2
public void testMergeJoin2()
-
testMergeJoin3
public void testMergeJoin3()
-
intersect
private static <T extends java.lang.Comparable<T>> org.apache.calcite.linq4j.Enumerable<T> intersect(java.util.List<T> list0, java.util.List<T> list1)
-
testThetaJoin
public void testThetaJoin()
-
testThetaLeftJoin
public void testThetaLeftJoin()
-
testThetaRightJoin
public void testThetaRightJoin()
-
testThetaFullJoin
public void testThetaFullJoin()
-
testThetaFullJoinLeftEmpty
public void testThetaFullJoinLeftEmpty()
-
testThetaFullJoinRightEmpty
public void testThetaFullJoinRightEmpty()
-
testThetaFullJoinBothEmpty
public void testThetaFullJoinBothEmpty()
-
-