Package org.apache.calcite.test
Class RexImplicationCheckerTest
- java.lang.Object
-
- org.apache.calcite.test.RexImplicationCheckerTest
-
public class RexImplicationCheckerTest extends java.lang.Object
Unit tests forRexImplicationChecker
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RexImplicationCheckerTest.Fixture
Contains all the nourishment a test case could possibly need.
-
Constructor Summary
Constructors Constructor Description RexImplicationCheckerTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testIsNull()
void
testNotNull()
void
testOr()
void
testSimpleBetween()
void
testSimpleBetweenCornerCases()
void
testSimpleBoolean()
void
testSimpleChar()
void
testSimpleDate()
void
testSimpleDec()
void
testSimpleEq()
void
testSimpleGreaterCond()
void
testSimpleLesserCond()
void
testSimpleLong()
void
testSimpleShort()
void
testSimpleString()
void
testSimpleTime()
void
testSimpleTimeStamp()
void
testSimplifyCastMatchNullability()
Test case for [CALCITE-2041] When simplifying a nullable expression, allow the result to change type to NOT NULL and match nullability.void
testSimplifyCeilFloor()
Test case for simplifier of ceil/floor.
-
-
-
Method Detail
-
testSimpleGreaterCond
public void testSimpleGreaterCond()
-
testSimpleLesserCond
public void testSimpleLesserCond()
-
testSimpleEq
public void testSimpleEq()
-
testSimpleDec
public void testSimpleDec()
-
testSimpleBoolean
public void testSimpleBoolean()
-
testSimpleLong
public void testSimpleLong()
-
testSimpleShort
public void testSimpleShort()
-
testSimpleChar
public void testSimpleChar()
-
testSimpleString
public void testSimpleString()
-
testSimpleDate
public void testSimpleDate()
-
testSimpleTimeStamp
public void testSimpleTimeStamp()
-
testSimpleTime
public void testSimpleTime()
-
testSimpleBetween
public void testSimpleBetween()
-
testSimpleBetweenCornerCases
public void testSimpleBetweenCornerCases()
-
testOr
public void testOr()
-
testNotNull
public void testNotNull()
-
testIsNull
public void testIsNull()
-
testSimplifyCastMatchNullability
public void testSimplifyCastMatchNullability()
Test case for [CALCITE-2041] When simplifying a nullable expression, allow the result to change type to NOT NULL and match nullability.- See Also:
RexSimplify.simplifyPreservingType(RexNode, RexUnknownAs, boolean)
-
testSimplifyCeilFloor
public void testSimplifyCeilFloor()
Test case for simplifier of ceil/floor.
-
-