Class LookupOperatorOverloadsTest


  • public class LookupOperatorOverloadsTest
    extends java.lang.Object
    Test for lookupOperatorOverloads() in CalciteCatalogReader.
    • Constructor Detail

      • LookupOperatorOverloadsTest

        public LookupOperatorOverloadsTest()
    • 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
      • testLookupCaseSensitively

        public void testLookupCaseSensitively()
                                       throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • testLookupCaseInSensitively

        public void testLookupCaseInSensitively()
                                         throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • checkInternal

        private void checkInternal​(boolean caseSensitive)
                            throws java.sql.SQLException
        Throws:
        java.sql.SQLException