| Package | Description |
|---|---|
| org.apache.iotdb.tsfile.exception.write | |
| org.apache.iotdb.tsfile.utils | |
| org.apache.iotdb.tsfile.write | |
| org.apache.iotdb.tsfile.write.chunk |
| Modifier and Type | Class and Description |
|---|---|
class |
NoMeasurementException
This exception means it can not find the measurement while writing a TSRecord.
|
class |
PageException
Exception occurs when writing a page.
|
| Modifier and Type | Method and Description |
|---|---|
static File |
TsFileGeneratorUtils.generateAlignedTsFile(String filePath,
int deviceNum,
int measurementNum,
int pointNum,
int startTime,
int startValue,
int chunkGroupSize,
int pageSize) |
static File |
TsFileGeneratorUtils.generateMixTsFile(String filePath,
int deviceNum,
int measurementNum,
int pointNum,
int startTime,
int startValue,
int chunkGroupSize,
int pageSize) |
static File |
TsFileGeneratorUtils.generateNonAlignedTsFile(String filePath,
int deviceNum,
int measurementNum,
int pointNum,
int startTime,
int startValue,
int chunkGroupSize,
int pageSize) |
static void |
TsFileGeneratorUtils.writeWithTablet(TsFileWriter tsFileWriter,
String deviceId,
List<MeasurementSchema> schemas,
long rowNum,
long startTime,
long startValue,
boolean isAligned) |
static void |
TsFileGeneratorUtils.writeWithTsRecord(TsFileWriter tsFileWriter,
String deviceId,
List<MeasurementSchema> schemas,
long rowSize,
long startTime,
long startValue,
boolean isAligned) |
| Modifier and Type | Method and Description |
|---|---|
void |
TsFileWriter.registerAlignedTimeseries(Path devicePath,
List<MeasurementSchema> measurementSchemas)
Register aligned timeseries.
|
void |
TsFileWriter.registerDevice(String deviceId,
String templateName)
This method is used to register all timeseries in the specified template under the specified
device.
|
void |
TsFileWriter.registerTimeseries(Path devicePath,
MeasurementSchema measurementSchema)
Register nonAligned timeseries by single.
|
boolean |
TsFileWriter.write(Tablet tablet)
write a tablet
|
boolean |
TsFileWriter.write(TSRecord record)
write a record in type of T.
|
boolean |
TsFileWriter.writeAligned(Tablet tablet) |
boolean |
TsFileWriter.writeAligned(TSRecord record) |
| Modifier and Type | Method and Description |
|---|---|
int |
IChunkGroupWriter.write(long time,
List<DataPoint> data)
receive a timestamp and a list of data points, write them to their series writers.
|
int |
AlignedChunkGroupWriterImpl.write(long time,
List<DataPoint> data) |
int |
NonAlignedChunkGroupWriterImpl.write(long time,
List<DataPoint> data) |
int |
IChunkGroupWriter.write(Tablet tablet)
receive a tablet, write it to chunk writers
|
int |
AlignedChunkGroupWriterImpl.write(Tablet tablet) |
int |
NonAlignedChunkGroupWriterImpl.write(Tablet tablet) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.