private boolean isNumeric(int type) {
      switch (type) {
         case java.sql.Types.NUMERIC:
         case java.sql.Types.DECIMAL:
         case java.sql.Types.BIT:
         case java.sql.Types.TINYINT:
         case java.sql.Types.SMALLINT:
         case java.sql.Types.INTEGER:
         case java.sql.Types.BIGINT:
         case java.sql.Types.REAL:
         case java.sql.Types.DOUBLE:
         case java.sql.Types.FLOAT:
            return true;
         default:
            return false;
      }
   }
Indicates whether the given SQL data type is a numberic type.

@param type one of the constants from <code>java.sql.Types</code>
@return <code>true</code> if the given type is <code>NUMERIC</code>,'
        <code>DECIMAL</code>, <code>BIT</code>, <code>TINYINT</code>,
        <code>SMALLINT</code>, <code>INTEGER</code>, <code>BIGINT</code>,
        <code>REAL</code>, <code>DOUBLE</code>, or <code>FLOAT</code>;
        <code>false</code> otherwise
src/main/java/org/replicadb/rowset/StreamingRowSetImpl.java