Turi Create  4.0
turi::v2_block_impl::block_info Struct Reference

#include <core/storage/sframe_data/sarray_v2_block_types.hpp>

Public Attributes

uint64_t length = 0
 The file offsets of the block.
 
uint64_t block_size = 0
 The length of the block in bytes on disk. More...
 
uint64_t flags = 0
 The number of elements in the block.
 
uint16_t content_type = 0
 block flags More...
 

Detailed Description

Metadata about each block

Definition at line 70 of file sarray_v2_block_types.hpp.

Member Data Documentation

◆ block_size

uint64_t turi::v2_block_impl::block_info::block_size = 0

The length of the block in bytes on disk.

The decompressed length of the block in bytes on disk. Only different from length if the block is LZ4_compressed.

Definition at line 77 of file sarray_v2_block_types.hpp.

◆ content_type

uint16_t turi::v2_block_impl::block_info::content_type = 0

block flags

If flags & IS_FLEXIBLE_TYPE, the type of the contents. This is really of type flex_type_enum

Definition at line 84 of file sarray_v2_block_types.hpp.


The documentation for this struct was generated from the following file: