mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-11 03:58:14 +00:00
[improvement][headless]Remove deprecated tag related constructs.
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
package com.tencent.supersonic.headless.api.pojo;
|
||||
|
||||
import com.google.common.base.Objects;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class MetaFilter {
|
||||
|
||||
|
||||
@@ -30,10 +30,6 @@ public class DataSetResp extends SchemaItem {
|
||||
|
||||
private QueryConfig queryConfig = new QueryConfig();
|
||||
|
||||
private List<TagItem> allMetrics = new ArrayList<>();
|
||||
|
||||
private List<TagItem> allDimensions = new ArrayList<>();
|
||||
|
||||
public List<Long> metricIds() {
|
||||
return getDataSetModelConfigs().stream().map(DataSetModelConfig::getMetrics)
|
||||
.flatMap(Collection::stream).collect(Collectors.toList());
|
||||
|
||||
@@ -22,7 +22,6 @@ public class SemanticSchemaResp {
|
||||
private SchemaType schemaType;
|
||||
private List<MetricSchemaResp> metrics = Lists.newArrayList();
|
||||
private List<DimSchemaResp> dimensions = Lists.newArrayList();
|
||||
private List<TagResp> tags = Lists.newArrayList();
|
||||
private List<ModelRela> modelRelas = Lists.newArrayList();
|
||||
private List<ModelResp> modelResps = Lists.newArrayList();
|
||||
private DataSetResp dataSetResp;
|
||||
|
||||
Reference in New Issue
Block a user