Turi Create  4.0
turi::group_index_file_information Struct Reference

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

Public Attributes

std::string group_index_file
 Input file name.
 
int version
 The format version of the sarray.
 
size_t nsegments
 The number of segments in the array.
 
std::vector< std::string > segment_files
 The file name of each segment.
 
std::vector< index_file_informationcolumns
 

Detailed Description

The group index file is the version 2 SArray index file format. It holds multiple columns in a single fileset. As such, the group_index_file_information struct basically comprises of some common information (version, nsegments, etc), but also contains a vector of an index_file_information for each column in the group.

Definition at line 84 of file sarray_index_file.hpp.

Member Data Documentation

◆ columns

std::vector<index_file_information> turi::group_index_file_information::columns

The index file information for each column. The index_file_information basically has fields which mirror the fields here. for instance, version, segment_files basically are the same. The exceptions are:

  • columns[0].index_file = group_index_file + ":0"
  • columns[0].column_number = 0
  • columns[1].index_file = group_index_file + ":1"
  • columns[1].column_number = 1

Definition at line 103 of file sarray_index_file.hpp.


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