1 | | Currently, there is no way to know which set type was created for a collection. It should be added to result of dbinfo(). |
| 1 | Currently, there is no way to know which set type was created for a collection. It should be added to result of dbinfo(). Example query: |
| 2 | |
| 3 | {{{ |
| 4 | $ rasql -q 'select dbinfo(c) from mr2 as c' --out string |
| 5 | ... |
| 6 | Query result collection has 1 element(s): |
| 7 | Result object 1: { |
| 8 | "oid": "63489", |
| 9 | "baseType": "marray <char, [*:*,*:*]>", |
| 10 | "tileNo": "1", |
| 11 | "totalSize": "54016", |
| 12 | "tiling": { |
| 13 | "tilingScheme": "aligned", |
| 14 | "tileSize": "4194304", |
| 15 | "tileConfiguration": "[0:*,0:*]" |
| 16 | }, |
| 17 | "index": { |
| 18 | "type": "rpt_index", |
| 19 | "PCTmax": "4096", |
| 20 | "PCTmin": "2048" |
| 21 | } |
| 22 | } |
| 23 | }}} |
| 24 | To this output a `"setTypeName": "GreySet"` should be added. |
| 25 | |
| 26 | Bonus points: add a `"mddTypeName": "GreyImage"` as well. |
| 27 | |
| 28 | The relevant code is in source:qlparser/qtinfo.cc |