tsfile
tsfile copied to clipboard
TsFile v4 to support table-interfaces
In order to support manipulating TsFile in a table-like (or relational-like) manner for upper-level systems like IoTDB, new interfaces like registerTable and writeTable are introduced into TsFile.
Also, deviceIds are fully generic by replacing the instances with the interface IDeviceID everywhere. A similar refactor is done to MeasurementSchema.
Experiments indicate the throughput downgrade on write is small (< 3%) while the query time consumption using the table-view can be reduced by 80%. The increment in file size is negligible (< 0.1%).