View Javadoc
1   package de.dlr.shepard.influxDB;
2   
3   import com.opencsv.bean.CsvBindByName;
4   import lombok.AllArgsConstructor;
5   import lombok.Data;
6   import lombok.NoArgsConstructor;
7   
8   @Data
9   @AllArgsConstructor
10  @NoArgsConstructor
11  public class TimeseriesCsv {
12  
13    @CsvBindByName(required = true)
14    private long timestamp;
15  
16    @CsvBindByName(required = true)
17    private String measurement;
18  
19    @CsvBindByName(required = true)
20    private String device;
21  
22    @CsvBindByName(required = true)
23    private String location;
24  
25    @CsvBindByName(required = true)
26    private String symbolicName;
27  
28    @CsvBindByName(required = true)
29    private String field;
30  
31    @CsvBindByName(required = false)
32    private Object value;
33  }