Package org.apache.calcite.prepare
Class LookupOperatorOverloadsTest
- java.lang.Object
-
- org.apache.calcite.prepare.LookupOperatorOverloadsTest
-
public class LookupOperatorOverloadsTest extends java.lang.Object
Test for lookupOperatorOverloads() inCalciteCatalogReader
.
-
-
Constructor Summary
Constructors Constructor Description LookupOperatorOverloadsTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static void
check(java.util.List<org.apache.calcite.sql.SqlFunctionCategory> actuals, org.apache.calcite.sql.SqlFunctionCategory... expecteds)
private void
checkFunctionType(int size, java.lang.String name, java.util.List<org.apache.calcite.sql.SqlOperator> operatorList)
void
test()
void
testIsSpecific()
void
testIsTableFunction()
void
testIsUserDefined()
void
testIsUserDefinedNotSpecificFunction()
-
-
-
Method Detail
-
checkFunctionType
private void checkFunctionType(int size, java.lang.String name, java.util.List<org.apache.calcite.sql.SqlOperator> operatorList)
-
check
private static void check(java.util.List<org.apache.calcite.sql.SqlFunctionCategory> actuals, org.apache.calcite.sql.SqlFunctionCategory... expecteds)
-
testIsUserDefined
public void testIsUserDefined() throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
testIsTableFunction
public void testIsTableFunction() throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
testIsSpecific
public void testIsSpecific() throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
testIsUserDefinedNotSpecificFunction
public void testIsUserDefinedNotSpecificFunction() throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
test
public void test() throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
-