OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TableArchiverWindows.cpp
Go to the documentation of this file.
1 /*
2  * Copyright 2022 HEAVY.AI, Inc.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
19 
21  const std::string& archive_path,
22  const std::string& compression) {
23  throw std::runtime_error("Dump/restore table not yet supported on Windows.");
24 }
25 
27  const TableDescriptor* td,
28  const std::string& archive_path,
29  const std::string& compression) {
30  throw std::runtime_error("Dump/restore table not yet supported on Windows.");
31 }
32 
34  const std::string& table_name,
35  const std::string& archive_path,
36  const std::string& compression,
37  const TableArchiverS3Options& s3_options) {
38  throw std::runtime_error("Dump/restore table not yet supported on Windows.");
39 }
__declspec(dllexport) bool g_test_rollback_dump_restore
void restoreTable(const Catalog_Namespace::SessionInfo &session, const std::string &table_name, const std::string &archive_path, const std::string &compression, const TableArchiverS3Options &s3_options)
void dumpTable(const TableDescriptor *td, const std::string &archive_path, const std::string &compression)
bool g_test_rollback_dump_restore