class MetricsAggregationStructure {

    @NonNull
    private String field;

    private String name;

    @NonNull
    private MetricsType type = MetricsType.COUNT;

    /**
     * 缺失值
     */
    private Object missingValue;

    public String getName() {<FILL_FUNCTION_BODY>}
}

        if (StringUtils.isNullOrEmpty(name)) {
            name = type.name().concat("_").concat(field);
        }
        return name;
    
<no_super_class>