Class TSEncodingBuilder.Sprintz

    • Constructor Detail

      • Sprintz

        public Sprintz()
    • Method Detail

      • getEncoder

        public Encoder getEncoder​(TSDataType type)
        Description copied from class: TSEncodingBuilder
        return a thread safe series's encoder with different types and parameters according to its measurement id and data type.
        Specified by:
        getEncoder in class TSEncodingBuilder
        Parameters:
        type - - given data type
        Returns:
        - return a Encoder
      • initFromProps

        public void initFromProps​(java.util.Map<java.lang.String,​java.lang.String> props)
        Description copied from class: TSEncodingBuilder
        for TSEncoding, JSON is a kind of type for initialization. InitFromJsonObject gets values from JSON object which will be used latter.
        if this type has extra parameters to construct, override it.
        Specified by:
        initFromProps in class TSEncodingBuilder
        Parameters:
        props - - properties of encoding