mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-14 22:25:19 +00:00
[improvement][headless]Introduce new time mode CURRENT. #1692
This commit is contained in:
@@ -118,16 +118,6 @@ public class SemanticSchema implements Serializable {
|
||||
return tags;
|
||||
}
|
||||
|
||||
public List<SchemaElement> getTags(Long dataSetId) {
|
||||
List<SchemaElement> tags = new ArrayList<>();
|
||||
dataSetSchemaList.stream()
|
||||
.filter(
|
||||
schemaElement ->
|
||||
dataSetId.equals(schemaElement.getDataSet().getDataSetId()))
|
||||
.forEach(d -> tags.addAll(d.getTags()));
|
||||
return tags;
|
||||
}
|
||||
|
||||
public List<SchemaElement> getTerms() {
|
||||
List<SchemaElement> terms = new ArrayList<>();
|
||||
dataSetSchemaList.stream().forEach(d -> terms.addAll(d.getTerms()));
|
||||
|
||||
Reference in New Issue
Block a user