@Test public void testIsPrecisionApplicable() { assertFalse(SqlUtil.isPrecisionApplicable("boolean")); assertTrue(SqlUtil.isPrecisionApplicable("varchar")); }
public static boolean isPrecisionApplicable(String typeName) { return isScaleApplicable(typeName) || DataType.STRING_FAMILY.contains(typeName); }
SqlUtil { public static boolean isPrecisionApplicable(String typeName) { return isScaleApplicable(typeName) || DataType.STRING_FAMILY.contains(typeName); } }
SqlUtil { public static boolean isPrecisionApplicable(String typeName) { return isScaleApplicable(typeName) || DataType.STRING_FAMILY.contains(typeName); } private  SqlUtil(); }
SqlUtil { public static boolean isPrecisionApplicable(String typeName) { return isScaleApplicable(typeName) || DataType.STRING_FAMILY.contains(typeName); } private  SqlUtil(); static void closeResources(Connection con, Statement statement); static void execUpdateSQL(Connection db, String sql); static Connection getConnection(DBConnConf dbconf); static String jdbcTypeToKylinDataType(int sqlType); static boolean isPrecisionApplicable(String typeName); static boolean isScaleApplicable(String typeName); }
SqlUtil { public static boolean isPrecisionApplicable(String typeName) { return isScaleApplicable(typeName) || DataType.STRING_FAMILY.contains(typeName); } private  SqlUtil(); static void closeResources(Connection con, Statement statement); static void execUpdateSQL(Connection db, String sql); static Connection getConnection(DBConnConf dbconf); static String jdbcTypeToKylinDataType(int sqlType); static boolean isPrecisionApplicable(String typeName); static boolean isScaleApplicable(String typeName); static final int tryTimes; static final String DRIVER_MISS; }