Package org.apache.calcite.test
Class SqlLimitsTest
- java.lang.Object
-
- org.apache.calcite.test.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()
-
-
-
Method Detail
-
getDiffRepos
protected DiffRepository getDiffRepos()
-
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)
-
-