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