Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::CreateSecretInfo Struct Reference
Inheritance diagram for duckdb::CreateSecretInfo:
Collaboration diagram for duckdb::CreateSecretInfo:

Public Member Functions

 CreateSecretInfo (OnCreateConflict on_conflict, SecretPersistType persist_type)
unique_ptr< CreateInfo > Copy () const override
Public Member Functions inherited from duckdb::CreateInfo
 CreateInfo (CatalogType type, string schema=DEFAULT_SCHEMA, string catalog_p=INVALID_CATALOG)
void Serialize (Serializer &serializer) const override
DUCKDB_API void CopyProperties (CreateInfo &other) const
virtual DUCKDB_API unique_ptr< AlterInfo > GetAlterInfo () const
 Generates an alter statement from the create statement - used for OnCreateConflict::ALTER_ON_CONFLICT.
DUCKDB_API string GetCreatePrefix (const string &entry) const
 Returns a string like "CREATE (OR REPLACE) (TEMPORARY) <entry> (IF NOT EXISTS) " for TABLE/VIEW/TYPE/MACRO.
virtual string ToString () const
Public Member Functions inherited from duckdb::ParseInfo
 ParseInfo (ParseInfoType info_type)
template<class TARGET>
TARGET & Cast ()
template<class TARGET>
const TARGET & Cast () const

Public Attributes

SecretPersistType persist_type
 Whether the secret can be persisted.
unique_ptr< ParsedExpression > type
 The type of secret.
string storage_type
 Which storage to use (empty for default).
unique_ptr< ParsedExpression > provider
 (optionally) the provider of the secret credentials
string name
 (optionally) the name of the secret
unique_ptr< ParsedExpression > scope
 (optionally) the scope of the secret
case_insensitive_map_t< unique_ptr< ParsedExpression > > options
 Named parameter list (if any).
Public Attributes inherited from duckdb::CreateInfo
CatalogType type
 The to-be-created catalog type.
string catalog
 The catalog name of the entry.
string schema
 The schema name of the entry.
OnCreateConflict on_conflict
 What to do on create conflict.
bool temporary
 Whether or not the entry is temporary.
bool internal
 Whether or not the entry is an internal entry.
string sql
 The SQL string of the CREATE statement.
LogicalDependencyList dependencies
 The inherent dependencies of the created entry.
Value comment
 User provided comment.
InsertionOrderPreservingMap< string > tags
 Key-value tags with additional metadata.
Public Attributes inherited from duckdb::ParseInfo
ParseInfoType info_type

Static Public Attributes

static constexpr const ParseInfoType TYPE = ParseInfoType::CREATE_SECRET_INFO
Static Public Attributes inherited from duckdb::CreateInfo
static constexpr const ParseInfoType TYPE = ParseInfoType::CREATE_INFO

Additional Inherited Members

Static Public Member Functions inherited from duckdb::CreateInfo
static unique_ptr< CreateInfo > Deserialize (Deserializer &deserializer)
Static Public Member Functions inherited from duckdb::ParseInfo
static unique_ptr< ParseInfo > Deserialize (Deserializer &deserializer)
static string QualifierToString (const string &catalog, const string &schema, const string &name)
static string TypeToString (CatalogType type)

Constructor & Destructor Documentation

◆ CreateSecretInfo()

duckdb::CreateSecretInfo::CreateSecretInfo ( OnCreateConflict on_conflict,
SecretPersistType persist_type )
explicit
339607 : CreateInfo(CatalogType::SECRET_ENTRY), persist_type(persist_type), options() {
339608 on_conflict = on_conflict_p;
339609}
OnCreateConflict on_conflict
What to do on create conflict.
Definition duckdb.hpp:28164
SecretPersistType persist_type
Whether the secret can be persisted.
Definition duckdb.cpp:6566
case_insensitive_map_t< unique_ptr< ParsedExpression > > options
Named parameter list (if any).
Definition duckdb.cpp:6578

◆ ~CreateSecretInfo()

duckdb::CreateSecretInfo::~CreateSecretInfo ( )
override
339611 {
339612}

Member Function Documentation

◆ Copy()

unique_ptr< CreateInfo > duckdb::CreateSecretInfo::Copy ( ) const
overridevirtual

Implements duckdb::CreateInfo.

339614 {
339615 auto result = make_uniq<CreateSecretInfo>(on_conflict, persist_type);
339616
339617 result->storage_type = storage_type;
339618 result->name = name;
339619
339620 if (type) {
339621 result->type = type->Copy();
339622 }
339623 if (provider) {
339624 result->provider = provider->Copy();
339625 }
339626 if (scope) {
339627 result->scope = scope->Copy();
339628 }
339629
339630 for (const auto &option : options) {
339631 result->options.insert(make_pair(option.first, option.second->Copy()));
339632 }
339633
339634 return std::move(result);
339635}
string name
(optionally) the name of the secret
Definition duckdb.cpp:6574
string storage_type
Which storage to use (empty for default).
Definition duckdb.cpp:6570
unique_ptr< ParsedExpression > scope
(optionally) the scope of the secret
Definition duckdb.cpp:6576
unique_ptr< ParsedExpression > type
The type of secret.
Definition duckdb.cpp:6568
unique_ptr< ParsedExpression > provider
(optionally) the provider of the secret credentials
Definition duckdb.cpp:6572

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