public <T> T getAggAttribute(String metrics,String attribute,Class<T> typeReference){
		if(aggregations != null) {
			Map<String, Object> map = aggregations.get(metrics);
			if (map != null) {
				return (T) map.get(attribute);
			}
		}
		return (T)null;
	}
public < T > T getAggAttribute ( String metrics , String attribute , Class < T > typeReference ) { if ( aggregations != null ) { Map < String , Object > map = aggregations . get ( metrics ) ; if ( map != null ) { return ( T ) map . get ( attribute ) ; } } return ( T ) null ; }
@param metrics
@param typeReference 容器类型对象
@param <T>
@return