Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-1675

Introduce UnaryMeasurementMNode and MultiMeasurementMNode

    XMLWordPrintableJSON

Details

    Description

      Currently, unary measurement schema and vector measurement schema is hold by MeasurementMNode. The unary case and vector case is distinguished by schema type check.

      To make the code more clean,  it's better to separate the process of two cases into different methods and set specialized param, like UnaryMeasurementMNode and VectorMeasurementMNode, to avoid redundant schema check. And the separation will make the code more explicit and easy to maintain.

      Besides, some features like alias, tag, and trigger do not support vector case for the time being. These should be separated from the unary case for future implementation and extension.

       

       

      Attachments

        1. image-2021-09-13-11-29-04-803.png
          63 kB
          Yukun Zhou
        2. image-2021-09-29-09-48-15-319.png
          25 kB
          Yukun Zhou

        Issue Links

          Activity

            People

              Marcoss Yukun Zhou
              Marcoss Yukun Zhou
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 16h
                  16h
                  Remaining:
                  Remaining Estimate - 16h
                  16h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified