Class foreign_storage::RegexParserDataWrapper

class RegexParserDataWrapper : public foreign_storage::AbstractTextFileDataWrapper

Public Functions

RegexParserDataWrapper()
RegexParserDataWrapper(const int db_id, const ForeignTable *foreign_table)
RegexParserDataWrapper(const int db_id, const ForeignTable *foreign_table, const UserMapping *user_mapping, const bool disable_cache = false)
void validateTableOptions(const ForeignTable *foreign_table) const

Checks that the options for the given foreign table object are valid.

Parameters
  • foreign_table: - foreign table object containing options to be validated

const std::set<std::string_view> &getSupportedTableOptions() const

Gets the set of supported table options for the data wrapper.

Protected Functions

const TextFileBufferParser &getFileBufferParser() const

Private Functions

std::set<std::string_view> getAllRegexTableOptions() const

Private Members

const RegexFileBufferParser regex_file_buffer_parser_

Private Static Attributes

const std::set<std::string_view> regex_table_options_{RegexFileBufferParser::LINE_REGEX_KEY, , , }