public DistanceMetric distanceMetric() {
        return distanceMetric.orElse(DEFAULT_DISTANCE_METRIC);
    }
Returns the prefetch value of this, null if the default is used.
config-model/src/main/java/com/yahoo/schema/document/Attribute.java