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
 
case_insensitive_map_t< Valueoptions
 

Static Public Attributes

static constexpr const char * FILE_FORMAT_OPTION_NAME = "FILE_FORMAT"
 

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

◆ FILE_FORMAT_OPTION_NAME

const char* kuzu::common::ReaderConfig::FILE_FORMAT_OPTION_NAME = "FILE_FORMAT"
staticconstexpr

◆ filePaths

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

◆ fileTypeInfo

FileTypeInfo kuzu::common::ReaderConfig::fileTypeInfo

◆ options

case_insensitive_map_t<Value> kuzu::common::ReaderConfig::options

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