kezhenxu94 commented on a change in pull request #4239: Provide influxdb as a
new storage plugin
URL: https://github.com/apache/skywalking/pull/4239#discussion_r374612571
##########
File path:
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/storage/model/Model.java
##########
@@ -44,5 +48,11 @@ public Model(String name, List<ModelColumn> columns,
boolean capableOfTimeSeries
this.scopeId = scopeId;
this.name = ModelName.build(downsampling, name);
this.record = record;
+ this.storageColumns = Maps.newTreeMap();
+ columns.forEach(column -> {
storageColumns.put(column.getColumnName().getStorageName(), column); });
+ }
+
+ public ModelColumn getColumnByStorageCName(String storageCName) {
Review comment:
why add unused method
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services