@Test public void testIsScaleApplicable() { assertFalse(SqlUtil.isScaleApplicable("varchar")); assertTrue(SqlUtil.isScaleApplicable("decimal")); }
public static boolean isScaleApplicable(String typeName) { return typeName.equals("decimal") || typeName.equals("numeric"); }
SqlUtil { public static boolean isScaleApplicable(String typeName) { return typeName.equals("decimal") || typeName.equals("numeric"); } }
SqlUtil { public static boolean isScaleApplicable(String typeName) { return typeName.equals("decimal") || typeName.equals("numeric"); } private  SqlUtil(); }
SqlUtil { public static boolean isScaleApplicable(String typeName) { return typeName.equals("decimal") || typeName.equals("numeric"); } 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 isScaleApplicable(String typeName) { return typeName.equals("decimal") || typeName.equals("numeric"); } 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; }