Kùzu C++ API
Loading...
Searching...
No Matches
kuzu::common::ReaderConfig Struct Reference

#include <reader_config.h>

Public Member Functions

 ReaderConfig ()
 
 ReaderConfig (FileTypeInfo fileTypeInfo, std::vector< std::string > filePaths)
 
 EXPLICIT_COPY_DEFAULT_MOVE (ReaderConfig)
 
uint32_t getNumFiles () const
 
std::string getFilePath (idx_t fileIdx) const
 
template<typename T >
getOption (std::string optionName, T defaultValue) const
 

Public Attributes

FileTypeInfo fileTypeInfo
 
std::vector< std::string > filePaths
 
std::unordered_map< std::string, Valueoptions
 

Constructor & Destructor Documentation

◆ ReaderConfig() [1/2]

kuzu::common::ReaderConfig::ReaderConfig ( )
inline

◆ ReaderConfig() [2/2]

kuzu::common::ReaderConfig::ReaderConfig ( FileTypeInfo fileTypeInfo,
std::vector< std::string > filePaths )
inline

Member Function Documentation

◆ EXPLICIT_COPY_DEFAULT_MOVE()

kuzu::common::ReaderConfig::EXPLICIT_COPY_DEFAULT_MOVE ( ReaderConfig )

◆ getFilePath()

std::string kuzu::common::ReaderConfig::getFilePath ( idx_t fileIdx) const
inline

◆ getNumFiles()

uint32_t kuzu::common::ReaderConfig::getNumFiles ( ) const
inline

◆ getOption()

template<typename T >
T kuzu::common::ReaderConfig::getOption ( std::string optionName,
T defaultValue ) const
inline

Member Data Documentation

◆ filePaths

std::vector<std::string> kuzu::common::ReaderConfig::filePaths

◆ fileTypeInfo

FileTypeInfo kuzu::common::ReaderConfig::fileTypeInfo

◆ options

std::unordered_map<std::string, Value> kuzu::common::ReaderConfig::options

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