OmniSciDB
a5dc49c757
|
#include <ForeignServer.h>
Public Member Functions | |
ForeignServer () | |
ForeignServer (const int32_t server_id, const std::string &server_name, const std::string &data_wrapper_type, const std::string &options_str, const int32_t user_id, const time_t creation_time) | |
ForeignServer (const std::string &server_name, const std::string &data_wrapper_type, const std::map< std::string, std::string, std::less<>> &options, const int32_t user_id) | |
void | validate () |
Public Member Functions inherited from foreign_storage::OptionsContainer | |
OptionsContainer () | |
OptionsContainer (const OptionsMap &options) | |
OptionsContainer (const std::string &options_str) | |
void | populateOptionsMap (OptionsMap &&options_map, bool clear=false) |
void | populateOptionsMap (const rapidjson::Value &ddl_options, bool clear=false) |
void | populateOptionsMap (const std::string &options_json, bool clear=false) |
std::string | getOptionsAsJsonString () const |
std::optional< std::string > | getOption (const std::string_view &key) const |
bool | getOptionAsBool (const std::string_view &key) const |
Public Attributes | |
int32_t | id |
std::string | name |
std::string | data_wrapper_type |
int32_t | user_id |
time_t | creation_time |
Public Attributes inherited from foreign_storage::OptionsContainer | |
OptionsMap | options |
Private Member Functions | |
void | validateStorageParameters () |
Definition at line 26 of file ForeignServer.h.
|
inline |
Definition at line 33 of file ForeignServer.h.
|
inline |
Definition at line 35 of file ForeignServer.h.
|
inline |
Definition at line 48 of file ForeignServer.h.
|
inline |
Definition at line 57 of file ForeignServer.h.
References data_wrapper_type, foreign_storage::ForeignDataWrapperFactory::validateDataWrapperType(), and validateStorageParameters().
Referenced by Catalog_Namespace::Catalog::setForeignServerDataWrapper(), and Catalog_Namespace::Catalog::setForeignServerOptions().
|
inlineprivate |
Definition at line 63 of file ForeignServer.h.
References foreign_storage::ForeignDataWrapperFactory::createForValidation(), data_wrapper_type, and foreign_storage::ForeignDataWrapper::validateServerOptions().
Referenced by validate().
time_t foreign_storage::ForeignServer::creation_time |
Definition at line 31 of file ForeignServer.h.
std::string foreign_storage::ForeignServer::data_wrapper_type |
Definition at line 29 of file ForeignServer.h.
Referenced by Catalog_Namespace::Catalog::reloadForeignTableUnlocked(), Catalog_Namespace::Catalog::setForeignServerDataWrapper(), validate(), validateStorageParameters(), and foreign_storage::AbstractFileStorageDataWrapper::validateUserMappingOptions().
int32_t foreign_storage::ForeignServer::id |
Definition at line 27 of file ForeignServer.h.
Referenced by heavydb.thrift.ttypes.TPendingQuery::read(), heavydb.thrift.ttypes.TPendingRenderQuery::read(), heavydb.thrift.ttypes.TCustomExpression::read(), heavydb.thrift.Heavy.update_custom_expression_args::read(), heavydb.thrift.ttypes.TPendingQuery::write(), heavydb.thrift.ttypes.TPendingRenderQuery::write(), heavydb.thrift.ttypes.TCustomExpression::write(), and heavydb.thrift.Heavy.update_custom_expression_args::write().
std::string foreign_storage::ForeignServer::name |
Definition at line 28 of file ForeignServer.h.
Referenced by TableFunctionsFactory_declbracket.Bracket::__repr__(), TableFunctionsFactory_declbracket.Bracket::__str__(), TableFunctionsFactory_declbracket.Bracket::apply_column(), TableFunctionsFactory_declbracket.Bracket::apply_namespace(), TableFunctionsFactory_declbracket.Bracket::format_sizer(), Catalog_Namespace::Catalog::getForeignServersForUser(), TableFunctionsFactory_declbracket.Bracket::normalize(), heavydb.extension_functions.ttypes.TUserDefinedFunction::read(), heavydb.extension_functions.ttypes.TUserDefinedTableFunction::read(), heavydb.thrift.ttypes.TDashboardGrantees::read(), heavydb.thrift.ttypes.TGeoFileLayerInfo::read(), heavydb.thrift.ttypes.TCustomExpression::read(), Catalog_Namespace::Catalog::recreateSystemTableIfUpdated(), TableFunctionsFactory_declbracket.Bracket::tostring(), heavydb.extension_functions.ttypes.TUserDefinedFunction::write(), heavydb.extension_functions.ttypes.TUserDefinedTableFunction::write(), heavydb.thrift.ttypes.TDashboardGrantees::write(), heavydb.thrift.ttypes.TGeoFileLayerInfo::write(), and heavydb.thrift.ttypes.TCustomExpression::write().
int32_t foreign_storage::ForeignServer::user_id |
Definition at line 30 of file ForeignServer.h.
Referenced by Catalog_Namespace::Catalog::changeForeignServerOwner().