Search in sources :

Example 6 with JDBCType

use of java.sql.JDBCType in project jdk8u_jdk by JetBrains.

the class BaseTest method jdbcTypes.

/*
     * DataProvider used to specify the standard JDBC Types
     */
@DataProvider(name = "jdbcTypes")
protected Object[][] jdbcTypes() {
    Object[][] o = new Object[JDBCType.values().length][1];
    int pos = 0;
    for (JDBCType c : JDBCType.values()) {
        o[pos++][0] = c.getVendorTypeNumber();
    }
    return o;
}
Also used : JDBCType(java.sql.JDBCType) DataProvider(org.testng.annotations.DataProvider)

Aggregations

JDBCType (java.sql.JDBCType)6 Range (com.facebook.presto.spi.predicate.Range)2 ImmutableList (com.google.common.collect.ImmutableList)2 StringJoiner (java.util.StringJoiner)2 RaptorColumnHandle (com.facebook.presto.raptor.RaptorColumnHandle)1 ColumnIndexStatsUtils.jdbcType (com.facebook.presto.raptor.storage.ColumnIndexStatsUtils.jdbcType)1 Domain (com.facebook.presto.spi.predicate.Domain)1 Ranges (com.facebook.presto.spi.predicate.Ranges)1 TupleDomain (com.facebook.presto.spi.predicate.TupleDomain)1 Type (com.facebook.presto.spi.type.Type)1 Slice (io.airlift.slice.Slice)1 DataProvider (org.testng.annotations.DataProvider)1