Raptor 4.0.0-rc.1
A fast and space-efficient pre-filter
Loading...
Searching...
No Matches
index_metadata.cpp File Reference

Implements raptor::detail::read_index_metadata. More...

#include "index_metadata.hpp"
#include <algorithm>
#include <fstream>
#include <string>
#include <sharg/exceptions.hpp>
#include <sharg/validators.hpp>
+ Include dependency graph for index_metadata.cpp:

Functions

index_metadata raptor::detail::read_index_metadata (inspect_arguments const &arguments)
 Reads the metadata of the index named by arguments.
 

Detailed Description

Implements raptor::detail::read_index_metadata.

Author
Enrico Seiler <enrico.seiler AT fu-berlin.de>

Function Documentation

◆ read_index_metadata()

index_metadata raptor::detail::read_index_metadata ( inspect_arguments const & arguments)

Reads the metadata of the index named by arguments.

Reads only the parameters, unless arguments.detailed is set. Then the whole index is loaded, one part at a time.

Exceptions
sharg::validation_errorif a part of a partitioned index is missing.
sharg::parser_errorif the index cannot be read or is inconsistent.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:
Hide me