| Modifier and Type | Method and Description |
|---|---|
TSDataType |
TSFileConfig.getTimeSeriesDataType() |
| Modifier and Type | Method and Description |
|---|---|
void |
TSFileConfig.setTimeSeriesDataType(TSDataType timeSeriesDataType) |
| Modifier and Type | Method and Description |
|---|---|
static Decoder |
Decoder.getDecoderByType(TSEncoding encoding,
TSDataType dataType) |
| Constructor and Description |
|---|
FloatDecoder(TSEncoding encodingType,
TSDataType dataType) |
| Modifier and Type | Method and Description |
|---|---|
abstract Encoder |
TSEncodingBuilder.getEncoder(TSDataType type)
return a thread safe series's encoder with different types and parameters according to its
measurement id and data type.
|
Encoder |
TSEncodingBuilder.Plain.getEncoder(TSDataType type) |
Encoder |
TSEncodingBuilder.Freq.getEncoder(TSDataType type) |
Encoder |
TSEncodingBuilder.Rle.getEncoder(TSDataType type) |
Encoder |
TSEncodingBuilder.Ts2Diff.getEncoder(TSDataType type) |
Encoder |
TSEncodingBuilder.GorillaV1.getEncoder(TSDataType type) |
Encoder |
TSEncodingBuilder.Regular.getEncoder(TSDataType type) |
Encoder |
TSEncodingBuilder.GorillaV2.getEncoder(TSDataType type) |
Encoder |
TSEncodingBuilder.Dictionary.getEncoder(TSDataType type) |
Encoder |
TSEncodingBuilder.Zigzag.getEncoder(TSDataType type) |
| Constructor and Description |
|---|
FloatEncoder(TSEncoding encodingType,
TSDataType dataType,
int maxPointNumber) |
PlainEncoder(TSDataType dataType,
int maxStringLength) |
| Modifier and Type | Method and Description |
|---|---|
TSDataType |
ChunkHeader.getDataType() |
| Modifier and Type | Method and Description |
|---|---|
static PageHeader |
PageHeader.deserializeFrom(ByteBuffer buffer,
TSDataType dataType) |
static PageHeader |
PageHeader.deserializeFrom(InputStream inputStream,
TSDataType dataType,
boolean hasStatistic) |
| Constructor and Description |
|---|
ChunkHeader(byte chunkType,
String measurementID,
int dataSize,
int headerSize,
TSDataType dataType,
CompressionType compressionType,
TSEncoding encoding) |
ChunkHeader(byte chunkType,
String measurementID,
int dataSize,
TSDataType dataType,
CompressionType compressionType,
TSEncoding encoding) |
ChunkHeader(String measurementID,
int dataSize,
TSDataType dataType,
CompressionType compressionType,
TSEncoding encoding,
int numOfPages) |
ChunkHeader(String measurementID,
int dataSize,
TSDataType dataType,
CompressionType compressionType,
TSEncoding encoding,
int numOfPages,
int mask) |
| Modifier and Type | Method and Description |
|---|---|
TSDataType |
IChunkMetadata.getDataType() |
TSDataType |
AlignedChunkMetadata.getDataType() |
TSDataType |
ChunkMetadata.getDataType() |
TSDataType |
TimeseriesMetadata.getTSDataType() |
| Modifier and Type | Method and Description |
|---|---|
static long |
ChunkMetadata.calculateRamSize(String measurementId,
TSDataType dataType) |
void |
TimeseriesMetadata.setTSDataType(TSDataType tsDataType) |
| Constructor and Description |
|---|
ChunkMetadata(String measurementUid,
TSDataType tsDataType,
long fileOffset,
Statistics<? extends Serializable> statistics)
constructor of ChunkMetaData.
|
TimeseriesMetadata(byte timeSeriesMetadataType,
int chunkMetaDataListDataSize,
String measurementId,
TSDataType dataType,
Statistics<? extends Serializable> statistics,
PublicBAOS chunkMetadataListBuffer) |
| Modifier and Type | Method and Description |
|---|---|
static TSDataType |
TSDataType.deserialize(byte type)
give an integer to return a data type.
|
static TSDataType |
TSDataType.deserializeFrom(ByteBuffer buffer) |
static TSDataType |
TSDataType.getTsDataType(byte type) |
static TSDataType |
TSDataType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TSDataType[] |
TSDataType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
TSDataType |
DoubleStatistics.getType() |
TSDataType |
IntegerStatistics.getType() |
abstract TSDataType |
Statistics.getType() |
TSDataType |
BooleanStatistics.getType() |
TSDataType |
LongStatistics.getType() |
TSDataType |
TimeStatistics.getType() |
TSDataType |
FloatStatistics.getType() |
TSDataType |
BinaryStatistics.getType() |
| Modifier and Type | Method and Description |
|---|---|
static Statistics<? extends Serializable> |
Statistics.deserialize(ByteBuffer buffer,
TSDataType dataType) |
static Statistics<? extends Serializable> |
Statistics.deserialize(InputStream inputStream,
TSDataType dataType) |
static int |
Statistics.getSizeByType(TSDataType type) |
static Statistics<? extends Serializable> |
Statistics.getStatsByType(TSDataType type)
static method providing statistic instance for respective data type.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,TSDataType> |
TsFileSequenceReader.getAllMeasurements()
get all measurements in this file
|
| Modifier and Type | Method and Description |
|---|---|
PageHeader |
TsFileSequenceReader.readPageHeader(TSDataType type,
boolean hasStatistic)
not thread safe.
|
| Modifier and Type | Field and Description |
|---|---|
protected TSDataType |
BatchData.dataType |
| Modifier and Type | Method and Description |
|---|---|
TSDataType |
BatchData.getDataType() |
TSDataType |
Field.getDataType() |
| Modifier and Type | Method and Description |
|---|---|
void |
RowRecord.addField(Object value,
TSDataType dataType) |
static BatchData |
BatchDataFactory.createBatchData(TSDataType dataType) |
static BatchData |
BatchDataFactory.createBatchData(TSDataType dataType,
boolean ascending,
boolean isWriteDesc) |
static BatchData |
BatchData.BatchDataType.deserialize(byte type,
TSDataType dataType)
give an integer to return a BatchType type.
|
static Field |
Field.getField(Object value,
TSDataType dataType) |
Object |
Field.getObjectValue(TSDataType dataType) |
void |
BatchData.init(TSDataType type)
initialize batch data.
|
void |
BatchData.setDataType(TSDataType dataType) |
void |
RowRecord.setField(int index,
Object value,
TSDataType dataType) |
| Constructor and Description |
|---|
BatchData(TSDataType type)
BatchData Constructor.
|
DescReadBatchData(TSDataType dataType) |
DescReadWriteBatchData(TSDataType dataType) |
Field(TSDataType dataType) |
| Modifier and Type | Method and Description |
|---|---|
TSDataType |
TsBlockBuilder.getType(int channel) |
| Modifier and Type | Method and Description |
|---|---|
void |
TsBlockBuilder.buildValueColumnBuilders(List<TSDataType> types) |
static TsBlockBuilder |
TsBlockBuilder.withMaxTsBlockSize(int maxTsBlockBytes,
List<TSDataType> types) |
| Constructor and Description |
|---|
TsBlockBuilder(int initialExpectedEntries,
List<TSDataType> types) |
TsBlockBuilder(List<TSDataType> types)
Create a TsBlockBuilder with given types.
|
| Modifier and Type | Method and Description |
|---|---|
TSDataType |
TimeColumnBuilder.getDataType() |
TSDataType |
BinaryColumnBuilder.getDataType() |
TSDataType |
BooleanColumn.getDataType() |
TSDataType |
DoubleColumn.getDataType() |
TSDataType |
Column.getDataType()
Get the data type.
|
TSDataType |
BinaryColumn.getDataType() |
TSDataType |
BooleanColumnBuilder.getDataType() |
TSDataType |
LongColumnBuilder.getDataType() |
TSDataType |
FloatColumn.getDataType() |
TSDataType |
ColumnBuilder.getDataType()
Get the data type.
|
TSDataType |
FloatColumnBuilder.getDataType() |
TSDataType |
LongColumn.getDataType() |
TSDataType |
IntColumn.getDataType() |
TSDataType |
RunLengthEncodedColumn.getDataType() |
TSDataType |
IntColumnBuilder.getDataType() |
TSDataType |
TimeColumn.getDataType() |
TSDataType |
DoubleColumnBuilder.getDataType() |
| Modifier and Type | Method and Description |
|---|---|
static Column |
NullColumn.create(TSDataType dataType,
int positionCount) |
Column |
BinaryArrayColumnEncoder.readColumn(ByteBuffer input,
TSDataType dataType,
int positionCount) |
Column |
Int64ArrayColumnEncoder.readColumn(ByteBuffer input,
TSDataType dataType,
int positionCount) |
Column |
ColumnEncoder.readColumn(ByteBuffer input,
TSDataType dataType,
int positionCount)
Read a column from the specified input.
|
Column |
RunLengthColumnEncoder.readColumn(ByteBuffer input,
TSDataType dataType,
int positionCount) |
Column |
ByteArrayColumnEncoder.readColumn(ByteBuffer input,
TSDataType dataType,
int positionCount) |
Column |
Int32ArrayColumnEncoder.readColumn(ByteBuffer input,
TSDataType dataType,
int positionCount) |
| Modifier and Type | Method and Description |
|---|---|
TSDataType |
IMetadataQuerier.getDataType(Path path) |
TSDataType |
MetadataQuerierByFileImpl.getDataType(Path path) |
| Modifier and Type | Method and Description |
|---|---|
List<TSDataType> |
QueryExpression.getDataTypes() |
| Modifier and Type | Method and Description |
|---|---|
QueryExpression |
QueryExpression.setDataTypes(List<TSDataType> dataTypes) |
| Modifier and Type | Field and Description |
|---|---|
protected List<TSDataType> |
QueryDataSet.dataTypes |
| Modifier and Type | Method and Description |
|---|---|
List<TSDataType> |
QueryDataSet.getDataTypes() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
QueryDataSet.initQueryDataSetFields(List<Path> paths,
List<TSDataType> dataTypes,
boolean ascending) |
void |
QueryDataSet.setDataTypes(List<TSDataType> dataTypes) |
| Constructor and Description |
|---|
DataSetWithoutTimeGenerator(List<Path> paths,
List<TSDataType> dataTypes,
List<AbstractFileSeriesReader> readers)
constructor of DataSetWithoutTimeGenerator.
|
DataSetWithTimeGenerator(List<Path> paths,
List<Boolean> cached,
List<TSDataType> dataTypes,
TimeGenerator timeGenerator,
List<FileSeriesReaderByTimestamp> readers)
constructor of DataSetWithTimeGenerator.
|
QueryDataSet(List<Path> paths,
List<TSDataType> dataTypes) |
QueryDataSet(List<Path> paths,
List<TSDataType> dataTypes,
boolean ascending) |
| Modifier and Type | Method and Description |
|---|---|
void |
IPageReader.initTsBlockBuilder(List<TSDataType> dataTypes) |
| Modifier and Type | Field and Description |
|---|---|
protected TSDataType |
PageReader.dataType |
| Modifier and Type | Method and Description |
|---|---|
TSDataType |
ValuePageReader.getDataType() |
| Modifier and Type | Method and Description |
|---|---|
void |
AlignedPageReader.initTsBlockBuilder(List<TSDataType> dataTypes) |
void |
PageReader.initTsBlockBuilder(List<TSDataType> dataTypes) |
| Constructor and Description |
|---|
PageReader(ByteBuffer pageData,
TSDataType dataType,
Decoder valueDecoder,
Decoder timeDecoder,
Filter filter) |
PageReader(PageHeader pageHeader,
ByteBuffer pageData,
TSDataType dataType,
Decoder valueDecoder,
Decoder timeDecoder,
Filter filter) |
ValuePageReader(PageHeader pageHeader,
ByteBuffer pageData,
TSDataType dataType,
Decoder valueDecoder) |
| Constructor and Description |
|---|
AlignedPageReader(PageHeader timePageHeader,
ByteBuffer timePageData,
Decoder timeDecoder,
List<PageHeader> valuePageHeaderList,
List<ByteBuffer> valuePageDataList,
List<TSDataType> valueDataTypeList,
List<Decoder> valueDecoderList,
Filter filter) |
| Modifier and Type | Method and Description |
|---|---|
TSDataType |
FileSeriesReaderByTimestamp.getDataType() |
| Modifier and Type | Method and Description |
|---|---|
abstract TSDataType |
TsPrimitiveType.getDataType() |
TSDataType |
TsPrimitiveType.TsBoolean.getDataType() |
TSDataType |
TsPrimitiveType.TsInt.getDataType() |
TSDataType |
TsPrimitiveType.TsLong.getDataType() |
TSDataType |
TsPrimitiveType.TsFloat.getDataType() |
TSDataType |
TsPrimitiveType.TsDouble.getDataType() |
TSDataType |
TsPrimitiveType.TsBinary.getDataType() |
TSDataType |
TsPrimitiveType.TsVector.getDataType() |
static TSDataType |
ReadWriteIOUtils.readDataType(ByteBuffer buffer) |
static TSDataType |
ReadWriteIOUtils.readDataType(InputStream inputStream) |
| Modifier and Type | Method and Description |
|---|---|
static TsPrimitiveType |
TsPrimitiveType.getByType(TSDataType dataType)
get tsPrimitiveType by resultDataType.
|
static TsPrimitiveType |
TsPrimitiveType.getByType(TSDataType dataType,
Object v)
get tsPrimitiveType by resultDataType and initial value.
|
static int |
ReadWriteIOUtils.write(TSDataType dataType,
ByteBuffer buffer) |
static int |
ReadWriteIOUtils.write(TSDataType dataType,
OutputStream outputStream)
TSDataType.
|
| Modifier and Type | Method and Description |
|---|---|
static PageHeader |
PageHeaderV2.deserializeFrom(ByteBuffer buffer,
TSDataType dataType) |
static PageHeader |
PageHeaderV2.deserializeFrom(InputStream inputStream,
TSDataType dataType) |
| Modifier and Type | Method and Description |
|---|---|
static Statistics<? extends Serializable> |
StatisticsV2.deserialize(ByteBuffer buffer,
TSDataType dataType) |
static Statistics<? extends Serializable> |
StatisticsV2.deserialize(InputStream inputStream,
TSDataType dataType) |
| Modifier and Type | Method and Description |
|---|---|
PageHeader |
TsFileSequenceReaderForV2.readPageHeader(TSDataType type)
not thread safe.
|
| Constructor and Description |
|---|
PageReaderV2(ByteBuffer pageData,
TSDataType dataType,
Decoder valueDecoder,
Decoder timeDecoder,
Filter filter) |
PageReaderV2(PageHeader pageHeader,
ByteBuffer pageData,
TSDataType dataType,
Decoder valueDecoder,
Decoder timeDecoder,
Filter filter) |
| Modifier and Type | Method and Description |
|---|---|
TSDataType |
AlignedChunkWriterImpl.getCurrentValueChunkType() |
TSDataType |
TimeChunkWriter.getDataType() |
TSDataType |
ChunkWriterImpl.getDataType() |
TSDataType |
ValueChunkWriter.getDataType() |
| Constructor and Description |
|---|
ValueChunkWriter(String measurementId,
CompressionType compressionType,
TSDataType dataType,
TSEncoding encodingType,
Encoder valueEncoder) |
| Modifier and Type | Method and Description |
|---|---|
void |
ValuePageWriter.initStatistics(TSDataType dataType) |
void |
PageWriter.initStatistics(TSDataType dataType) |
void |
ValuePageWriter.reset(TSDataType dataType)
reset this page
|
| Constructor and Description |
|---|
ValuePageWriter(Encoder valueEncoder,
ICompressor compressor,
TSDataType dataType) |
| Modifier and Type | Field and Description |
|---|---|
protected TSDataType |
DataPoint.type
value type of this DataPoint.
|
| Modifier and Type | Method and Description |
|---|---|
TSDataType |
DataPoint.getType() |
| Modifier and Type | Method and Description |
|---|---|
static DataPoint |
DataPoint.getDataPoint(TSDataType dataType,
String measurementId,
String value)
Construct one data point with data type and value.
|
| Constructor and Description |
|---|
DataPoint(TSDataType type,
String measurementId)
constructor of DataPoint.
|
| Modifier and Type | Method and Description |
|---|---|
TSDataType |
TimeseriesSchema.getType() |
TSDataType |
VectorMeasurementSchema.getType() |
TSDataType |
MeasurementSchema.getType() |
TSDataType |
IMeasurementSchema.getType() |
| Modifier and Type | Method and Description |
|---|---|
List<TSDataType> |
VectorMeasurementSchema.getSubMeasurementsTSDataTypeList() |
List<TSDataType> |
MeasurementSchema.getSubMeasurementsTSDataTypeList() |
List<TSDataType> |
IMeasurementSchema.getSubMeasurementsTSDataTypeList() |
| Modifier and Type | Method and Description |
|---|---|
void |
VectorMeasurementSchema.addMeasurement(String measurementId,
TSDataType dataType,
TSEncoding encoding) |
void |
VectorMeasurementSchema.setType(TSDataType dataType) |
void |
MeasurementSchema.setType(TSDataType type) |
void |
IMeasurementSchema.setType(TSDataType dataType) |
| Constructor and Description |
|---|
MeasurementSchema(String measurementId,
TSDataType tsDataType) |
MeasurementSchema(String measurementId,
TSDataType type,
TSEncoding encoding)
set properties as an empty Map.
|
MeasurementSchema(String measurementId,
TSDataType type,
TSEncoding encoding,
CompressionType compressionType) |
MeasurementSchema(String measurementId,
TSDataType type,
TSEncoding encoding,
CompressionType compressionType,
Map<String,String> props)
Constructor of MeasurementSchema.
|
TimeseriesSchema(String fullPath,
TSDataType tsDataType) |
TimeseriesSchema(String fullPath,
TSDataType type,
TSEncoding encoding)
set properties as an empty Map.
|
TimeseriesSchema(String fullPath,
TSDataType type,
TSEncoding encoding,
CompressionType compressionType) |
TimeseriesSchema(String fullPath,
TSDataType type,
TSEncoding encoding,
CompressionType compressionType,
Map<String,String> props)
Constructor of TimeseriesSchema.
|
VectorMeasurementSchema(String deviceId,
String[] subMeasurements,
TSDataType[] types) |
VectorMeasurementSchema(String deviceId,
String[] subMeasurements,
TSDataType[] types,
TSEncoding[] encodings) |
VectorMeasurementSchema(String deviceId,
String[] subMeasurements,
TSDataType[] types,
TSEncoding[] encodings,
CompressionType compressionType) |
| Modifier and Type | Method and Description |
|---|---|
List<ChunkMetadata> |
RestorableTsFileIOWriter.getVisibleMetadataList(String deviceId,
String measurementId,
TSDataType dataType)
For query.
|
void |
TsFileIOWriter.startFlushChunk(String measurementId,
CompressionType compressionCodecName,
TSDataType tsDataType,
TSEncoding encodingType,
Statistics<? extends Serializable> statistics,
int dataSize,
int numOfPages,
int mask)
start a ChunkMetaData.
|
Copyright © 2022 The Apache Software Foundation. All rights reserved.