OmniSciDB
a5dc49c757
|
#include <DBObject.h>
Public Member Functions | |
bool | operator< (const DBObjectKey &key) const |
bool | operator== (const DBObjectKey &key) const |
Static Public Member Functions | |
static DBObjectKey | fromString (const std::vector< std::string > &key, const DBObjectType &type) |
Public Attributes | |
int32_t | permissionType = -1 |
int32_t | dbId = -1 |
int32_t | objectId = -1 |
Static Public Attributes | |
static const size_t | N_COLUMNS = 3 |
Definition at line 52 of file DBObject.h.
|
static |
Definition at line 271 of file DBObject.cpp.
References CHECK, DashboardDBObjectType, DatabaseDBObjectType, dbId, objectId, permissionType, ServerDBObjectType, TableDBObjectType, and ViewDBObjectType.
Referenced by Catalog_Namespace::SysCatalog::buildRoleMapUnlocked().
|
inline |
|
inline |
int32_t DBObjectKey::dbId = -1 |
Definition at line 54 of file DBObject.h.
Referenced by anonymous_namespace{Calcite.cpp}::checkPermissionForTables(), Grantee::checkPrivileges(), Catalog_Namespace::SysCatalog::createRole_unsafe(), Catalog_Namespace::anonymous_namespace{SysCatalog.cpp}::deleteObjectPrivileges(), fromString(), DBObject::getObjectKey(), Grantee::hasAnyPrivileges(), Catalog_Namespace::anonymous_namespace{SysCatalog.cpp}::insertOrUpdateObjectPrivileges(), DBObject::loadKey(), Catalog_Namespace::SysCatalog::migrateDBAccessPrivileges(), operator<(), operator==(), Catalog_Namespace::Catalog::parseDashboardObjects(), Catalog_Namespace::Catalog::recordOwnershipOfObjectsInObjectPermissions(), Catalog_Namespace::SysCatalog::renameDBObject(), Catalog_Namespace::Catalog::renameTable(), Catalog_Namespace::Catalog::renameTables(), DBObject::toString(), and DBObject::valid().
|
static |
Definition at line 57 of file DBObject.h.
Referenced by operator<().
int32_t DBObjectKey::objectId = -1 |
Definition at line 55 of file DBObject.h.
Referenced by anonymous_namespace{Calcite.cpp}::checkPermissionForTables(), Grantee::checkPrivileges(), DBObject::DBObject(), Catalog_Namespace::anonymous_namespace{SysCatalog.cpp}::deleteObjectPrivileges(), fromString(), Grantee::hasAnyPrivileges(), Catalog_Namespace::anonymous_namespace{SysCatalog.cpp}::insertOrUpdateObjectPrivileges(), DBObject::loadKey(), operator<(), operator==(), Catalog_Namespace::Catalog::parseDashboardObjects(), heavydb.thrift.ttypes.TDBObject::read(), Catalog_Namespace::Catalog::recordOwnershipOfObjectsInObjectPermissions(), Catalog_Namespace::SysCatalog::renameDBObject(), Catalog_Namespace::Catalog::renameTable(), Catalog_Namespace::Catalog::renameTables(), serialize_db_object(), DBObject::toString(), and heavydb.thrift.ttypes.TDBObject::write().
int32_t DBObjectKey::permissionType = -1 |
Definition at line 53 of file DBObject.h.
Referenced by anonymous_namespace{Calcite.cpp}::checkPermissionForTables(), Catalog_Namespace::SysCatalog::createRole_unsafe(), DBObject::DBObject(), Catalog_Namespace::anonymous_namespace{SysCatalog.cpp}::deleteObjectPrivileges(), fromString(), Catalog_Namespace::anonymous_namespace{SysCatalog.cpp}::insertOrUpdateObjectPrivileges(), Catalog_Namespace::SysCatalog::migrateDBAccessPrivileges(), operator<(), operator==(), Catalog_Namespace::Catalog::parseDashboardObjects(), Catalog_Namespace::Catalog::recordOwnershipOfObjectsInObjectPermissions(), Catalog_Namespace::SysCatalog::renameDBObject(), Catalog_Namespace::Catalog::renameTable(), Catalog_Namespace::Catalog::renameTables(), Catalog_Namespace::SysCatalog::revokeDBObjectPrivilegesFromAll_unsafe(), serialize_db_object(), DBObject::setPermissionType(), DBObject::toString(), and DBObject::valid().