private float getFloatOrDefault(Record record, int col, float defaultValue) {
        float value = record.getFloat(col);
        return Float.isNaN(value) ? defaultValue : value;
    }
An implementation of the metrics Db backed by Quest:
This provides local persistent storage of metrics with fast, multi-threaded lookup and write,
suitable for production.

@author bratseth
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/autoscale/QuestMetricsDb.java