[
https://issues.apache.org/jira/browse/IOTDB-76?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dongfang Mao closed IOTDB-76.
-
> Reformat MManager.getMetadataInString() in JSON format
> --
>
> Key: IOTDB-76
> URL: https://issues.apache.org/jira/browse/IOTDB-76
> Project: Apache IoTDB
> Issue Type: Improvement
>Reporter: Dongfang Mao
>Assignee: Dongfang Mao
>Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Reformat MManager.getMetadataInString() in standard JSON format by fastjson.
> The detail of difference is as below:
> BEFORE:
> {code:java}
> root:{
> a:{
> d0:{
> s0:{
> DataType: INT32,
> Encoding: RLE,
> Compressor: UNCOMPRESSED,
> args: {},
> StorageGroup: root.a.d0
> },
> s1:{
> DataType: INT32,
> Encoding: RLE,
> Compressor: UNCOMPRESSED,
> args: {},
> StorageGroup: root.a.d0
> }
> },
> d1:{
> s0:{
> DataType: INT32,
> Encoding: RLE,
> Compressor: UNCOMPRESSED,
> args: {},
> StorageGroup: root.a.d1
> },
> s1:{
> DataType: INT32,
> Encoding: RLE,
> Compressor: UNCOMPRESSED,
> args: {},
> StorageGroup: root.a.d1
> }
> },
> b:{
> d0:{
> s0:{
> DataType: INT32,
> Encoding: RLE,
> Compressor: UNCOMPRESSED,
> args: {},
> StorageGroup: root.a.b.d0
> }
> }
> }
> }
> }{code}
>
> AFTER:
> {code:java}
> {
> "a":{
> "b":{
> "d0":{
> "s0":{
> "args":{},
> "StorageGroup":"root.a.b.d0",
> "DataType":"INT32",
> "Compressor":"UNCOMPRESSED",
> "Encoding":"RLE"
> }
> }
> },
> "d0":{
> "s0":{
> "args":{},
> "StorageGroup":"root.a.d0",
> "DataType":"INT32",
> "Compressor":"UNCOMPRESSED",
> "Encoding":"RLE"
> },
> "s1":{
> "args":{},
> "StorageGroup":"root.a.d0",
> "DataType":"INT32",
> "Compressor":"UNCOMPRESSED",
> "Encoding":"RLE"
> }
> },
> "d1":{
> "s0":{
> "args":{},
> "StorageGroup":"root.a.d1",
> "DataType":"INT32",
> "Compressor":"UNCOMPRESSED",
> "Encoding":"RLE"
> },
> "s1":{
> "args":{},
> "StorageGroup":"root.a.d1",
> "DataType":"INT32",
> "Compressor":"UNCOMPRESSED",
> "Encoding":"RLE"
> }
> }
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)