public class BlockFlattener extends Object
| Constructor and Description |
|---|
BlockFlattener(ArrayAllocator allocator) |
| Modifier and Type | Method and Description |
|---|---|
BlockLease |
flatten(Block block)
Flattens
RunLengthEncodedBlock and DictionaryBlock into the top-level type
such that the inner block is not itself a run length encoded block or dictionary block. |
public BlockFlattener(ArrayAllocator allocator)
public BlockLease flatten(Block block)
RunLengthEncodedBlock and DictionaryBlock into the top-level type
such that the inner block is not itself a run length encoded block or dictionary block.
For example, a dictionary block which consists of another dictionary block would be flattened
to just a dictionary block which has an inner data block of the child dictionary, with all of
the ids remapped accordingly.Copyright © 2012–2022. All rights reserved.