mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-12 20:51:48 +00:00
[improvement][headless]Deprecate and remove entity-related abstraction and logic.#1876
This commit is contained in:
@@ -22,7 +22,6 @@ public class DataSetSchema implements Serializable {
|
||||
private Set<SchemaElement> tags = new HashSet<>();
|
||||
private Set<SchemaElement> dimensionValues = new HashSet<>();
|
||||
private Set<SchemaElement> terms = new HashSet<>();
|
||||
private SchemaElement entity = new SchemaElement();
|
||||
private QueryConfig queryConfig;
|
||||
|
||||
public SchemaElement getElement(SchemaElementType elementType, long elementID) {
|
||||
@@ -81,13 +80,6 @@ public class DataSetSchema implements Serializable {
|
||||
return queryConfig.getAggregateTypeDefaultConfig().getTimeDefaultConfig();
|
||||
}
|
||||
|
||||
public DetailTypeDefaultConfig getTagTypeDefaultConfig() {
|
||||
if (queryConfig == null) {
|
||||
return null;
|
||||
}
|
||||
return queryConfig.getDetailTypeDefaultConfig();
|
||||
}
|
||||
|
||||
public boolean containsPartitionDimensions() {
|
||||
return dimensions.stream().anyMatch(SchemaElement::isPartitionTime);
|
||||
}
|
||||
|
||||
@@ -11,5 +11,4 @@ public class DimSchemaResp extends DimensionResp {
|
||||
|
||||
private Long useCnt = 0L;
|
||||
|
||||
private List<String> entityAlias;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user