public class ResultSetMetaDataTest extends JdbcTestBase
Based on JDBC 4.1 (Java 7).
JdbcTestBase.ModelAndSchema, JdbcTestBase.TestDataConnectionDrillTest.MemWatcherwatcherc, dirTestWatcher, optionManagerlogOutcome, objectMapper, REPEAT_RULE, thrownException, TIMEOUT| Constructor and Description |
|---|
ResultSetMetaDataTest() |
changeSchema, changeSchemaIfSupplied, connect, connect, connect, getDefaultProperties, reset, setUpTestCase, tearDownTestCase, testJdbcTestConnectionResettingCompatibility, toString, toString, withFull, withModel, withNoDefaultSchemaclear, getLocalFileSystem, mockDrillbitContext, mockUsDateFormatSymbols, mockUtcDateTimeZone, parseExpr, setupOptionManagerescapeJsonString, finishDrillTest, initDrillTestpublic static void setUpConnectionAndMetadataToCheck()
throws Exception
Exceptionpublic static void tearDownConnection()
throws SQLException
SQLExceptionpublic void test_getColumnCount()
throws SQLException
SQLExceptionpublic void test_isAutoIncrement_returnsFalse()
throws SQLException
SQLExceptionpublic void test_isCaseSensitive_nameThisNonSpecific()
throws SQLException
SQLExceptionpublic void test_isSearchable_returnsTrue()
throws SQLException
SQLExceptionpublic void test_isCurrency_returnsFalse()
throws SQLException
SQLExceptionpublic void test_isNullable_forNullable()
throws SQLException
SQLExceptionpublic void test_isNullable_forRequired()
throws SQLException
SQLExceptionpublic void test_isSigned_forBOOLEAN()
throws SQLException
SQLExceptionpublic void test_isSigned_forINTEGER()
throws SQLException
SQLExceptionpublic void test_isSigned_forDOUBLE()
throws SQLException
SQLExceptionpublic void test_isSigned_forDECIMAL_5_3()
throws SQLException
SQLExceptionpublic void test_isSigned_forVARCHAR()
throws SQLException
SQLExceptionpublic void test_isSigned_forBINARY_1048576()
throws SQLException
SQLExceptionpublic void test_isSigned_forDate()
throws SQLException
SQLExceptionpublic void test_isSigned_forTIME_2()
throws SQLException
SQLExceptionpublic void test_isSigned_forTIMESTAMP_4()
throws SQLException
SQLExceptionpublic void test_isSigned_forINTERVAL_Y()
throws SQLException
SQLExceptionpublic void test_getColumnDisplaySize_forBOOLEAN()
throws SQLException
SQLExceptionpublic void test_getColumnLabel_getsName()
throws SQLException
SQLExceptionpublic void test_getColumnName_getsName()
throws SQLException
SQLExceptionpublic void test_getSchemaName_forViewGetsName()
throws SQLException
SQLExceptionpublic void test_getPrecision_forBOOLEAN()
throws SQLException
SQLExceptionpublic void test_getPrecision_forINTEGER()
throws SQLException
SQLExceptionpublic void test_getPrecision_forDOUBLE()
throws SQLException
SQLExceptionpublic void test_getPrecision_forDECIMAL_5_3()
throws SQLException
SQLExceptionpublic void test_getScale_forBOOLEAN()
throws SQLException
SQLExceptionpublic void test_getScale_forINTEGER()
throws SQLException
SQLExceptionpublic void test_getScale_forDECIMAL_5_3()
throws SQLException
SQLExceptionpublic void test_getTableName_forViewGetsName()
throws SQLException
SQLExceptionpublic void test_getCatalogName_getsCatalogName()
throws SQLException
SQLExceptionpublic void test_getColumnType_forBOOLEAN()
throws SQLException
SQLExceptionpublic void test_getColumnType_forSMALLINT()
throws SQLException
SQLExceptionpublic void test_getColumnType_forINTEGER()
throws SQLException
SQLExceptionpublic void test_getColumnType_forBIGINT()
throws SQLException
SQLExceptionpublic void test_getColumnType_forREAL()
throws SQLException
SQLExceptionpublic void test_getColumnType_forFLOAT()
throws SQLException
SQLExceptionpublic void test_getColumnType_forDOUBLE()
throws SQLException
SQLExceptionpublic void test_getColumnType_forDECIMAL_5_3()
throws SQLException
SQLExceptionpublic void test_getColumnType_forVARCHAR_10()
throws SQLException
SQLExceptionpublic void test_getColumnType_forVARCHAR()
throws SQLException
SQLExceptionpublic void test_getColumnType_forCHAR_5()
throws SQLException
SQLExceptionpublic void test_getColumnType_forVARBINARY_16()
throws SQLException
SQLExceptionpublic void test_getColumnType_forBINARY_1048576CHECK()
throws SQLException
SQLExceptionpublic void test_getColumnType_forDATE()
throws SQLException
SQLExceptionpublic void test_getColumnType_forTIME_2()
throws SQLException
SQLExceptionpublic void test_getColumnType_forTIME_7()
throws SQLException
SQLExceptionpublic void test_getColumnType_forTIMESTAMP_4()
throws SQLException
SQLExceptionpublic void test_getColumnType_forINTERVAL_Y()
throws SQLException
SQLExceptionpublic void test_getColumnType_forINTERVAL_H_S3()
throws SQLException
SQLExceptionpublic void test_getColumnTypeName_forBOOLEAN()
throws SQLException
SQLExceptionpublic void test_getColumnTypeName_forSMALLINT()
throws SQLException
SQLExceptionpublic void test_getColumnTypeName_forINTEGER()
throws SQLException
SQLExceptionpublic void test_getColumnTypeName_forBIGINT()
throws SQLException
SQLExceptionpublic void test_getColumnTypeName_forREAL()
throws SQLException
SQLExceptionpublic void test_getColumnTypeName_forFLOAT()
throws SQLException
SQLExceptionpublic void test_getColumnTypeName_forDOUBLE()
throws SQLException
SQLExceptionpublic void test_getColumnTypeName_forDECIMAL_5_3()
throws SQLException
SQLExceptionpublic void test_getColumnTypeName_forVARCHAR()
throws SQLException
SQLExceptionpublic void test_getColumnTypeName_forCHAR()
throws SQLException
SQLExceptionpublic void test_getColumnTypeName_forVARBINARY()
throws SQLException
SQLExceptionpublic void test_getColumnTypeName_forBINARY()
throws SQLException
SQLExceptionpublic void test_getColumnTypeName_forDATE()
throws SQLException
SQLExceptionpublic void test_getColumnTypeName_forTIME_2()
throws SQLException
SQLExceptionpublic void test_getColumnTypeName_forTIMESTAMP_4()
throws SQLException
SQLExceptionpublic void test_getColumnTypeName_forINTERVAL_Y()
throws SQLException
SQLExceptionpublic void test_getColumnTypeName_forINTERVAL_D()
throws SQLException
SQLExceptionpublic void test_isReadOnly_nameThisNonSpecific()
throws SQLException
SQLExceptionpublic void test_isWritable_nameThisNonSpecific()
throws SQLException
SQLExceptionpublic void test_isDefinitelyWritable_nameThisNonSpecific()
throws SQLException
SQLExceptionpublic void test_getColumnClassName_forBOOLEAN_isBoolean()
throws SQLException
SQLExceptionpublic void test_getColumnClassName_forBOOLEAN_matches()
throws SQLException
SQLExceptionpublic void test_getColumnClassName_forSMALLINT_isShort()
throws SQLException
SQLExceptionpublic void test_getColumnClassName_forSMALLINT_matches()
throws SQLException
SQLExceptionpublic void test_getColumnClassName_forINTEGER_isInteger()
throws SQLException
SQLExceptionpublic void test_getColumnClassName_forINTEGER_matches()
throws SQLException
SQLExceptionpublic void test_getColumnClassName_forBIGINT_isLong()
throws SQLException
SQLExceptionpublic void test_getColumnClassName_forBIGINT_matches()
throws SQLException
SQLExceptionpublic void test_getColumnClassName_forREAL_isFloat()
throws SQLException
SQLExceptionpublic void test_getColumnClassName_forREAL_matches()
throws SQLException
SQLExceptionpublic void test_getColumnClassName_forFLOAT_isFloat()
throws SQLException
SQLExceptionpublic void test_getColumnClassName_forFLOAT_matches()
throws SQLException
SQLExceptionpublic void test_getColumnClassName_forDOUBLE_isDouble()
throws SQLException
SQLExceptionpublic void test_getColumnClassName_forDOUBLE_matches()
throws SQLException
SQLExceptionpublic void test_getColumnClassName_forDECIMAL_5_3_isBigDecimal()
throws SQLException
SQLExceptionpublic void test_getColumnClassName_forDECIMAL_5_3_matches()
throws SQLException,
ClassNotFoundException
SQLExceptionClassNotFoundExceptionpublic void test_getColumnClassName_forVARCHAR_10_isString()
throws SQLException
SQLExceptionpublic void test_getColumnClassName_forVARCHAR_10_matches()
throws SQLException,
ClassNotFoundException
SQLExceptionClassNotFoundExceptionpublic void test_getColumnClassName_forDATE_isDate()
throws SQLException
SQLExceptionpublic void test_getColumnClassName_forDATE_matches()
throws SQLException,
ClassNotFoundException
SQLExceptionClassNotFoundExceptionpublic void test_getColumnClassName_forTIME_2_isTime()
throws SQLException
SQLExceptionpublic void test_getColumnClassName_forTIME_2_matches()
throws SQLException,
ClassNotFoundException
SQLExceptionClassNotFoundExceptionpublic void test_getColumnClassName_forTIMESTAMP_4_isDate()
throws SQLException
SQLExceptionpublic void test_getColumnClassName_forTIMESTAMP_4_matches()
throws SQLException,
ClassNotFoundException
SQLExceptionClassNotFoundExceptionpublic void test_getColumnClassName_forINTERVAL_10Y_Mo_isJodaPeriod()
throws SQLException
SQLExceptionpublic void test_getColumnClassName_forINTERVAL_10Y_Mo_matches()
throws SQLException,
ClassNotFoundException
SQLExceptionClassNotFoundExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.