OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SysDefinitions.h
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 
23 #pragma once
24 
25 namespace shared {
26 inline const std::string kSystemCatalogName = "system_catalog";
27 inline const std::string kDefaultDbName = "heavyai";
28 inline const std::string kRootUsername = "admin";
29 inline const int kRootUserId = 0;
30 inline const std::string kRootUserIdStr = "0";
31 inline const std::string kDefaultRootPasswd = "HyperInteractive";
32 inline const int32_t kTempUserIdRange = 1000000000;
33 inline const std::string kInfoSchemaDbName = "information_schema";
34 inline const std::string kInfoSchemaMigrationName = "information_schema_db_created";
35 inline const std::string kDefaultExportDirName = "export";
36 inline const std::string kDefaultImportDirName = "import";
37 inline const std::string kDefaultDiskCacheDirName = "disk_cache";
38 inline const std::string kDefaultKeyFileName = "heavyai.pem";
39 inline const std::string kDefaultKeyStoreDirName = "key_store";
40 inline const std::string kDefaultLogDirName = "log";
41 inline const std::string kCatalogDirectoryName = "catalogs";
42 inline const std::string kDataDirectoryName = "data";
43 inline const std::string kLockfilesDirectoryName = "lockfiles";
44 inline const std::string kDefaultLicenseFileName = "heavyai.license";
45 static constexpr size_t kDefaultSampleRowsCount{100};
46 } // namespace shared
const int kRootUserId
const std::string kDataDirectoryName
const std::string kDefaultDiskCacheDirName
const std::string kDefaultLogDirName
const std::string kSystemCatalogName
const std::string kDefaultExportDirName
const std::string kInfoSchemaDbName
const std::string kDefaultImportDirName
const std::string kDefaultDbName
const std::string kDefaultKeyFileName
const std::string kDefaultKeyStoreDirName
const int32_t kTempUserIdRange
const std::string kRootUsername
const std::string kDefaultRootPasswd
const std::string kRootUserIdStr
const std::string kCatalogDirectoryName
const std::string kDefaultLicenseFileName
const std::string kLockfilesDirectoryName
static constexpr size_t kDefaultSampleRowsCount
const std::string kInfoSchemaMigrationName