int metaSize(int version) {
            switch (version) {
                case Version.VERSION_0_ID:
                case Version.VERSION_1_ID:
                case Version.VERSION_2_ID:
                case Version.VERSION_4_ID:
                    return 4 + nameSize + 1 + 8 + 8 + 8;
                case Version.VERSION_5_ID:
                    return 4 + nameSize + 4 + 8 + 8 + 8;
                case Version.VERSION_6_ID:
                    return 4 + nameSize + 4 + 8 + 8 + 8 + 8;
                case Version.VERSION_7_ID:
                    return 4 + nameSize + 4 + 1 + 8 + 8 + 8 + 8;
                default:
                    assert version >= Version.VERSION_8_ID;
                    return 4 + nameSize + 4 + 1 + 8 + 8 + 8 + 8 + 8 + 8;
            }
        }
Store segment column by column.

<pre>
Segment storage structure:
|  IXRSEGxx | sementMeta | column0 | column1 ... | outerIndex0 | outerIndex0 ... |
            | <---                      sectionSize                        ----> |

Column structure:
|  dpn | rsIndex | extIndex | dataPack |
</pre>
indexr-segment/src/main/java/io/indexr/segment/storage/itg/IntegrateV1.java