public Float getFloat(String fieldName, HCatSchema recordSchema) throws HCatException {
    return (Float) get(fieldName, recordSchema, Float.class);
  }
Abstract class exposing get and set semantics for basic record usage.
Note :
  HCatRecord is designed only to be used as in-memory representation only.
  Don't use it to store data on the physical device.
hcatalog/core/src/main/java/org/apache/hive/hcatalog/data/HCatRecord.java