| Modifier and Type | Method and Description |
|---|---|
Map<String,MeasurementSchema> |
MeasurementGroup.getMeasurementSchemaMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
MeasurementGroup.setMeasurementSchemaMap(Map<String,MeasurementSchema> measurementSchemaMap) |
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) |
| Constructor and Description |
|---|
MeasurementGroup(boolean isAligned,
List<MeasurementSchema> measurementSchemas) |
MeasurementGroup(boolean isAligned,
Map<String,MeasurementSchema> measurementSchemaMap) |
| Modifier and Type | Method and Description |
|---|---|
void |
TsFileWriter.registerTimeseries(Path devicePath,
MeasurementSchema measurementSchema)
Register nonAligned timeseries by single.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TsFileWriter.registerAlignedTimeseries(Path devicePath,
List<MeasurementSchema> measurementSchemas)
Register aligned timeseries.
|
void |
TsFileWriter.registerSchemaTemplate(String templateName,
Map<String,MeasurementSchema> template,
boolean isAligned) |
void |
TsFileWriter.registerTimeseries(Path devicePath,
List<MeasurementSchema> measurementSchemas)
Register nonAligned timeseries by groups.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IChunkGroupWriter.tryToAddSeriesWriter(MeasurementSchema measurementSchema)
given a measurement descriptor, create a corresponding writer and put into this
ChunkGroupWriter.
|
void |
AlignedChunkGroupWriterImpl.tryToAddSeriesWriter(MeasurementSchema measurementSchema) |
void |
NonAlignedChunkGroupWriterImpl.tryToAddSeriesWriter(MeasurementSchema schema) |
| Modifier and Type | Method and Description |
|---|---|
void |
IChunkGroupWriter.tryToAddSeriesWriter(List<MeasurementSchema> measurementSchemas)
given a measurement descriptor list, create corresponding writers and put into this
ChunkGroupWriter.
|
void |
AlignedChunkGroupWriterImpl.tryToAddSeriesWriter(List<MeasurementSchema> measurementSchemas) |
void |
NonAlignedChunkGroupWriterImpl.tryToAddSeriesWriter(List<MeasurementSchema> schemas) |
| Modifier and Type | Method and Description |
|---|---|
List<MeasurementSchema> |
Tablet.getSchemas() |
| Modifier and Type | Method and Description |
|---|---|
void |
Tablet.setSchemas(List<MeasurementSchema> schemas) |
| Constructor and Description |
|---|
Tablet(String deviceId,
List<MeasurementSchema> schemas)
Return a tablet with default specified row number.
|
Tablet(String deviceId,
List<MeasurementSchema> schemas,
int maxRowNumber)
Return a tablet with the specified number of rows (maxBatchSize).
|
| Modifier and Type | Method and Description |
|---|---|
static MeasurementSchema |
MeasurementSchema.deserializeFrom(ByteBuffer buffer)
function for deserializing data from byte buffer.
|
static MeasurementSchema |
MeasurementSchema.deserializeFrom(InputStream inputStream)
function for deserializing data from input stream.
|
static MeasurementSchema |
MeasurementSchema.partialDeserializeFrom(ByteBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
int |
MeasurementSchema.compareTo(MeasurementSchema o)
compare by measurementID.
|
void |
Schema.extendTemplate(String templateName,
MeasurementSchema descriptor)
If template does not exist, an nonAligned timeseries is created by default
|
void |
Schema.registerTimeseries(Path devicePath,
MeasurementSchema measurementSchema) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.