Class SqlLimitsTest


  • public class SqlLimitsTest
    extends java.lang.Object
    Unit test for SQL limits.
    • Constructor Summary

      Constructors 
      Constructor Description
      SqlLimitsTest()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private java.text.DateFormat getDateFormat​(org.apache.calcite.sql.type.SqlTypeName typeName)  
      protected DiffRepository getDiffRepos()  
      static java.util.List<org.apache.calcite.rel.type.RelDataType> getTypes​(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
      Returns a list of typical types.
      private void printLimit​(java.io.PrintWriter pw, java.lang.String desc, org.apache.calcite.rel.type.RelDataType type, boolean sign, org.apache.calcite.sql.type.SqlTypeName.Limit limit, boolean beyond)  
      static void setUSLocale()  
      void testPrintLimits()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SqlLimitsTest

        public SqlLimitsTest()
    • Method Detail

      • getTypes

        public static java.util.List<org.apache.calcite.rel.type.RelDataType> getTypes​(org.apache.calcite.rel.type.RelDataTypeFactory typeFactory)
        Returns a list of typical types.
      • setUSLocale

        public static void setUSLocale()
      • testPrintLimits

        public void testPrintLimits()
      • printLimit

        private void printLimit​(java.io.PrintWriter pw,
                                java.lang.String desc,
                                org.apache.calcite.rel.type.RelDataType type,
                                boolean sign,
                                org.apache.calcite.sql.type.SqlTypeName.Limit limit,
                                boolean beyond)
      • getDateFormat

        private java.text.DateFormat getDateFormat​(org.apache.calcite.sql.type.SqlTypeName typeName)