OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CreatePolicyCommand Class Reference

#include <DdlCommandExecutor.h>

+ Inheritance diagram for CreatePolicyCommand:
+ Collaboration diagram for CreatePolicyCommand:

Public Member Functions

 CreatePolicyCommand (const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)
ExecutionResult execute (bool read_only_mode) override
- Public Member Functions inherited from DdlCommand
 DdlCommand (const DdlCommandData &ddl_data, std::shared_ptr< Catalog_Namespace::SessionInfo const > session_ptr)

Additional Inherited Members

- Protected Attributes inherited from DdlCommand
const DdlCommandDataddl_data_
< Catalog_Namespace::SessionInfo
const > 

Detailed Description

Definition at line 363 of file DdlCommandExecutor.h.

Constructor & Destructor Documentation

CreatePolicyCommand::CreatePolicyCommand ( const DdlCommandData ddl_data,
std::shared_ptr< Catalog_Namespace::SessionInfo const >  session_ptr 

Member Function Documentation

ExecutionResult CreatePolicyCommand::execute ( bool  read_only_mode)

Executes the DDL command corresponding to provided JSON payload.

_returnresult of DDL command execution (if applicable)

Implements DdlCommand.

Referenced by heavydb.cursor.Cursor::executemany().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: