public static class TSEncodingBuilder.Rle extends TSEncodingBuilder
TSEncodingBuilder.Dictionary, TSEncodingBuilder.Freq, TSEncodingBuilder.GorillaV1, TSEncodingBuilder.GorillaV2, TSEncodingBuilder.Plain, TSEncodingBuilder.Regular, TSEncodingBuilder.Rle, TSEncodingBuilder.Ts2Diff, TSEncodingBuilder.Zigzagconf| Constructor and Description |
|---|
Rle() |
| Modifier and Type | Method and Description |
|---|---|
Encoder |
getEncoder(TSDataType type)
return a thread safe series's encoder with different types and parameters according to its
measurement id and data type.
|
void |
initFromProps(Map<String,String> props)
RLE could specify max_point_number in given JSON Object, which means the maximum
decimal digits for float or double data.
|
String |
toString() |
getEncodingBuilderpublic Encoder getEncoder(TSDataType type)
TSEncodingBuildergetEncoder in class TSEncodingBuildertype - - given data typepublic void initFromProps(Map<String,String> props)
initFromProps in class TSEncodingBuilderprops - - properties of encodingpublic String toString()
toString in class TSEncodingBuilderCopyright © 2022 The Apache Software Foundation. All rights reserved.