OmniSciDB
a5dc49c757
|
#include <DdlCommandExecutor.h>
Public Member Functions | |
ShowModelsCommand (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 DdlCommandData & | ddl_data_ |
std::shared_ptr < Catalog_Namespace::SessionInfo const > | session_ptr_ |
Definition at line 272 of file DdlCommandExecutor.h.
ShowModelsCommand::ShowModelsCommand | ( | const DdlCommandData & | ddl_data, |
std::shared_ptr< Catalog_Namespace::SessionInfo const > | session_ptr | ||
) |
Definition at line 2050 of file DdlCommandExecutor.cpp.
References g_enable_ml_functions, and g_restrict_ml_model_metadata_to_superusers.
|
overridevirtual |
Executes the DDL command corresponding to provided JSON payload.
_return | result of DDL command execution (if applicable) |
Implements DdlCommand.
Definition at line 2067 of file DdlCommandExecutor.cpp.
References ResultSetLogicalValuesBuilder::create(), g_ml_models, genLiteralStr(), legacylockmgr::getExecuteReadLock(), MLModelMap::getModelNames(), kTEXT, and run_benchmark_import::label.
Referenced by heavydb.cursor.Cursor::executemany().