public String getSqlDef() {
        if (type == Types.VARCHAR) {
            return "VARCHAR(" + precision + ")";
        } else if (type == Types.CHAR) {
            return "CHAR(" + precision + ")";
        }
        switch (type) {
            case Types.FLOAT:
                return "FLOAT";
            case Types.DOUBLE:
                return "DOUBLE";
            case Types.BLOB:
                return "BLOB";
            case Types.INTEGER:
                return "INTEGER";
            case Types.BIGINT:
                return "BIGINT";
            case Types.BOOLEAN:
                return "BOOLEAN";
        }
        throw new UnsupportedOperationException("Don't yet recognize a type for: " + type);
    }
Gets the precision.  This can be null!

@return precision or null
tika-eval/tika-eval-app/src/main/java/org/apache/tika/eval/app/db/ColInfo.java