/** * Returns the value as a float. * * @param columnLabel the column label * @return the value */ @Override public float getFloat(String columnLabel) throws SQLException { return getFloat(findColumn(columnLabel)); }
return type.cast(getLong(columnIndex)); } else if (type == Float.class) { return type.cast(getFloat(columnIndex)); } else if (type == Double.class) { return type.cast(getDouble(columnIndex));
/** * Returns the value as a float. * * @param columnLabel the column label * @return the value */ @Override public float getFloat(String columnLabel) throws SQLException { return getFloat(findColumn(columnLabel)); }
/** * Returns the value as a float. * * @return the value */ public float getFloat(String columnName) throws SQLException { return getFloat(findColumn(columnName)); }
/** * Returns the value as a float. * * @param columnLabel the column label * @return the value */ @Override public float getFloat(String columnLabel) throws SQLException { return getFloat(findColumn(columnLabel)); }