public class ResultSetGetMethodConversionsTest extends JdbcTestBase
getType(column ID)
methods' type conversions.
This test class is intended for higher-level type-vs.-type coverage tests.
Detailed-case tests (e.g., boundary conditions) are intended to be in
TypeConvertingSqlAccessor
).
JdbcTestBase.ModelAndSchema, JdbcTestBase.TestDataConnection
DrillTest.MemWatcher
watcher
c, dirTestWatcher, optionManager
logOutcome, objectMapper, REPEAT_RULE, thrownException, TIMEOUT
Constructor and Description |
---|
ResultSetGetMethodConversionsTest() |
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 SQLException
SQLException
public static void tearDownConnection() throws SQLException
SQLException
public void test_getByte_handles_TINYINT() throws SQLException
SQLException
public void test_getByte_handles_SMALLINT() throws SQLException
SQLException
public void test_getByte_handles_INTEGER() throws SQLException
SQLException
public void test_getByte_handles_BIGINT() throws SQLException
SQLException
public void test_getByte_handles_REAL() throws SQLException
SQLException
public void test_getByte_handles_DOUBLE() throws SQLException
SQLException
public void test_getByte_handles_FLOAT() throws SQLException
SQLException
public void test_getByte_handles_DECIMAL() throws SQLException
SQLException
public void test_getShort_handles_TINYINT() throws SQLException
SQLException
public void test_getShort_handles_SMALLINT() throws SQLException
SQLException
public void test_getShort_handles_INTEGER() throws SQLException
SQLException
public void test_getShort_handles_BIGINT() throws SQLException
SQLException
public void test_getShort_handles_REAL() throws SQLException
SQLException
public void test_getShort_handles_DOUBLE() throws SQLException
SQLException
public void test_getShort_handles_FLOAT() throws SQLException
SQLException
public void test_getShort_handles_DECIMAL() throws SQLException
SQLException
public void test_getInt_handles_TINYINT() throws SQLException
SQLException
public void test_getInt_handles_SMALLINT() throws SQLException
SQLException
public void test_getInt_handles_INTEGER() throws SQLException
SQLException
public void test_getInt_handles_BIGINT() throws SQLException
SQLException
public void test_getInt_handles_REAL() throws SQLException
SQLException
public void test_getInt_handles_DOUBLE() throws SQLException
SQLException
public void test_getInt_handles_FLOAT() throws SQLException
SQLException
public void test_getInt_handles_DECIMAL() throws SQLException
SQLException
public void test_getLong_handles_TINYINT() throws SQLException
SQLException
public void test_getLong_handles_SMALLINT() throws SQLException
SQLException
public void test_getLong_handles_INTEGER() throws SQLException
SQLException
public void test_getLong_handles_BIGINT() throws SQLException
SQLException
public void test_getLong_handles_REAL() throws SQLException
SQLException
public void test_getLong_handles_DOUBLE() throws SQLException
SQLException
public void test_getLong_handles_FLOAT() throws SQLException
SQLException
public void test_getLong_handles_DECIMAL() throws SQLException
SQLException
public void test_getFloat_handles_TINYINT() throws SQLException
SQLException
public void test_getFloat_handles_SMALLINT() throws SQLException
SQLException
public void test_getFloat_handles_INTEGER() throws SQLException
SQLException
public void test_getFloat_handles_BIGINT() throws SQLException
SQLException
public void test_getFloat_handles_REAL() throws SQLException
SQLException
public void test_getFloat_handles_DOUBLE() throws SQLException
SQLException
public void test_getFloat_handles_FLOAT() throws SQLException
SQLException
public void test_getFloat_handles_DECIMAL() throws SQLException
SQLException
public void test_getDouble_handles_TINYINT() throws SQLException
SQLException
public void test_getDouble_handles_SMALLINT() throws SQLException
SQLException
public void test_getDouble_handles_INTEGER() throws SQLException
SQLException
public void test_getDouble_handles_BIGINT() throws SQLException
SQLException
public void test_getDouble_handles_REAL() throws SQLException
SQLException
public void test_getDouble_handles_DOUBLE() throws SQLException
SQLException
public void test_getDouble_handles_FLOAT() throws SQLException
SQLException
public void test_getDouble_handles_DECIMAL() throws SQLException
SQLException
public void test_getBigDecimal_handles_TINYINT() throws SQLException
SQLException
public void test_getBigDecimal_handles_SMALLINT() throws SQLException
SQLException
public void test_getBigDecimal_handles_INTEGER() throws SQLException
SQLException
public void test_getBigDecimal_handles_BIGINT() throws SQLException
SQLException
public void test_getBigDecimal_handles_REAL() throws SQLException
SQLException
public void test_getBigDecimal_handles_DOUBLE() throws SQLException
SQLException
public void test_getBigDecimal_handles_FLOAT() throws SQLException
SQLException
public void test_getBigDecimal_handles_DECIMAL_1() throws SQLException
SQLException
public void test_getBigDecimal_handles_DECIMAL_2() throws SQLException
SQLException
public void test_getString_handles_TINYINT() throws SQLException
SQLException
public void test_getString_handles_SMALLINT() throws SQLException
SQLException
public void test_getString_handles_INTEGER() throws SQLException
SQLException
public void test_getString_handles_BIGINT() throws SQLException
SQLException
public void test_getString_handles_REAL() throws SQLException
SQLException
public void test_getString_handles_DOUBLE() throws SQLException
SQLException
public void test_getString_handles_FLOAT() throws SQLException
SQLException
public void test_getString_handles_DECIMAL() throws SQLException
SQLException
public void test_getObject_handles_TINYINT() throws SQLException
SQLException
public void test_getObject_handles_SMALLINT() throws SQLException
SQLException
public void test_getObject_handles_INTEGER() throws SQLException
SQLException
public void test_getObject_handles_BIGINT() throws SQLException
SQLException
public void test_getObject_handles_REAL() throws SQLException
SQLException
public void test_getObject_handles_DOUBLE() throws SQLException
SQLException
public void test_getObject_handles_FLOAT() throws SQLException
SQLException
public void test_getObject_handles_DECIMAL_1() throws SQLException
SQLException
public void test_getObject_handles_DECIMAL_2() throws SQLException
SQLException
Copyright © 2021 The Apache Software Foundation. All rights reserved.