Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.
The "FileFormatDesignDoc" page has been changed by StuHood. http://wiki.apache.org/cassandra/FileFormatDesignDoc?action=diff&rev1=37&rev2=38 -------------------------------------------------- * 'span' of tuples, where each chunk represents a level of nesting. */ record Chunk { - /** The index of the chunk in the span. */ + /** The index of the chunk in the span (mostly for readability). */ + int index; - int chunk; - - /** - * The ordering of values in the chunk: "self"-ordered chunks are stored in sorted order, while - * "parent"-ordered chunks assume the ordering of the previous chunk. - */ - enum Order { parent, self } order; /** Values stored at this level. */ array<bytes> values; - /** Ranges (pairs of values) stored at this level. */ - array<bytes> ranges; /** * Packed metadata for values. + * type: deleted, expiring, standard, range_* - * type: deleted, expiring, standard (only set in the last chunk of a span) - * parent: a single bit to represent parent changes */ + bytes types; + - bytes value_metadata; - /** - * Packed metadata for ranges. - * type: deleted, null (null indicates that the range has default metadata) - * parent: a single bit to represent parent changes + /** parent: a single bit to represent parent changes */ + bytes parents; - */ - bytes range_metadata; /* TODO: Should offset or rl encode. */ /** - * A variable number of timestamps depending on value type: only set in the last chunk of a span. + * A variable number of timestamps depending on value type. */ - array<long> value_timestamps; + array<long> timestamps; - /** - * A variable number of timestamps depending on range type. - */ - array<long> range_timestamps; } }}}
