Abstract type that provide client-specific context to FileSystem.
More...
Abstract type that provide client-specific context to FileSystem.
◆ FileOpener()
| duckdb::FileOpener::FileOpener |
( |
| ) |
|
|
inline |
◆ ~FileOpener()
| virtual duckdb::FileOpener::~FileOpener |
( |
| ) |
|
|
inlinevirtual |
◆ TryGetCurrentSetting() [1/4]
274066 {
274067 return TryGetCurrentSetting(key, result);
274068}
◆ TryGetCatalogTransaction()
274007 {
274008 if (!opener) {
274009 return nullptr;
274010 }
274011 auto context = opener->TryGetClientContext();
274012 if (context) {
274013 return make_uniq<CatalogTransaction>(CatalogTransaction::GetSystemCatalogTransaction(*context));
274014 }
274015
274016 auto db = opener->TryGetDatabase();
274017 if (db) {
274018 return make_uniq<CatalogTransaction>(CatalogTransaction::GetSystemTransaction(*db));
274019 }
274020 return nullptr;
274021}
◆ TryGetClientContext()
274023 {
274024 if (!opener) {
274025 return nullptr;
274026 }
274027 return opener->TryGetClientContext();
274028}
◆ TryGetDatabase()
274030 {
274031 if (!opener) {
274032 return nullptr;
274033 }
274034 return opener->TryGetDatabase();
274035}
◆ TryGetSecretManager()
274037 {
274038 if (!opener) {
274039 return nullptr;
274040 }
274041
274042 auto db = opener->TryGetDatabase();
274043 if (!db) {
274044 return nullptr;
274045 }
274046
274047 return &
db->GetSecretManager();
274048}
◆ TryGetCurrentSetting() [2/4]
274051 {
274052 if (!opener) {
274053 return SettingLookupResult();
274054 }
274055 return opener->TryGetCurrentSetting(key, result);
274056}
◆ TryGetCurrentSetting() [3/4]
274059 {
274060 if (!opener) {
274061 return SettingLookupResult();
274062 }
274063 return opener->TryGetCurrentSetting(key, result, info);
274064}
◆ TryGetCurrentSetting() [4/4]
72967 {
72968 Value output;
72969 SettingLookupResult lookup_result;
72970
72971 if (info) {
72972 lookup_result = TryGetCurrentSetting(opener, key, output, *info);
72973 } else {
72974 lookup_result = TryGetCurrentSetting(opener, key, output);
72975 }
72976
72977 if (lookup_result) {
72978 result = output.GetValue<
TYPE>();
72979 }
72980 return lookup_result;
72981 }
The documentation for this class was generated from the following file: