Kinetica   C#   API  Version 7.2.3.0
kinetica.CreateBackupRequest Class Reference

A set of parameters for Kinetica.createBackup. More...

+ Inheritance diagram for kinetica.CreateBackupRequest:
+ Collaboration diagram for kinetica.CreateBackupRequest:

Classes

struct  BackupObjectsMap
 A set of string constants for the parameter backup_objects_map. More...
 
struct  BackupType
 A set of string constants for the parameter backup_type. More...
 
struct  Options
 A set of string constants for the parameter options. More...
 

Public Member Functions

 CreateBackupRequest ()
 Constructs a CreateBackupRequest object with default parameters. More...
 
 CreateBackupRequest (string backup_name, string backup_type, IDictionary< string, string > backup_objects_map, string datasink_name, IDictionary< string, string > options=null)
 Constructs a CreateBackupRequest object with the specified parameters. More...
 
 CreateBackupRequest ()
 Constructs a CreateBackupRequest object with default parameters. More...
 
 CreateBackupRequest (string backup_name, string backup_type, IDictionary< string, string > backup_objects_map, string datasink_name, IDictionary< string, string > options=null)
 Constructs a CreateBackupRequest object with the specified parameters. More...
 
- Public Member Functions inherited from kinetica.KineticaData
 KineticaData (KineticaType type)
 Constructor from Kinetica Type More...
 
 KineticaData (System.Type type=null)
 Default constructor, with optional System.Type More...
 
object Get (int fieldPos)
 Retrieve a specific property from this object More...
 
void Put (int fieldPos, object fieldValue)
 Write a specific property to this object More...
 
 KineticaData (KineticaType type)
 Constructor from Kinetica Type More...
 
 KineticaData (System.Type type=null)
 Default constructor, with optional System.Type More...
 
object Get (int fieldPos)
 Retrieve a specific property from this object More...
 
void Put (int fieldPos, object fieldValue)
 Write a specific property to this object More...
 

Properties

string backup_name [get, set]
 Name for this backup object. More...
 
string backup_type [get, set]
 Type of backup to create. More...
 
IDictionary< string, string > backup_objects_map = new Dictionary<string, string>() [get, set]
 Map of objects to be captured in the backup. More...
 
string datasink_name [get, set]
 Datasink where backup will be stored. More...
 
IDictionary< string, string > options = new Dictionary<string, string>() [get, set]
 Optional parameters. More...
 
- Properties inherited from kinetica.KineticaData
Schema Schema [get]
 Avro Schema for this class More...
 
- Properties inherited from Avro.Specific.ISpecificRecord
Schema Schema [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from kinetica.KineticaData
static ? RecordSchema SchemaFromType (System.Type t, KineticaType? ktype=null)
 Create an Avro Schema from a System.Type and a KineticaType. More...
 
static ? RecordSchema SchemaFromType (System.Type t, KineticaType? ktype=null)
 Create an Avro Schema from a System.Type and a KineticaType. More...
 

Detailed Description

A set of parameters for Kinetica.createBackup.

Creates a database backup containing a current snapshot of existing objects.

Definition at line 16 of file CreateBackup.cs.

Constructor & Destructor Documentation

◆ CreateBackupRequest() [1/4]

kinetica.CreateBackupRequest.CreateBackupRequest ( )
inline

Constructs a CreateBackupRequest object with default parameters.

Definition at line 384 of file CreateBackup.cs.

◆ CreateBackupRequest() [2/4]

kinetica.CreateBackupRequest.CreateBackupRequest ( string  backup_name,
string  backup_type,
IDictionary< string, string >  backup_objects_map,
string  datasink_name,
IDictionary< string, string >  options = null 
)
inline

Constructs a CreateBackupRequest object with the specified parameters.

Parameters
backup_nameName for this backup object. If the backup object already exists, only an incremental or differential backup can be made, unless recreate is specified
backup_typeType of backup to create. Supported values:
backup_objects_mapMap of objects to be captured in the backup. Error if empty and creating full backup. Error if non-empty when creating an incremental or differential backup.
  • ALL: All object types in a schema (excludes permissions, system configuration, host secret key, KiFS directories and user defined functions)
  • TABLE: Database Table
  • CREDENTIAL: Credential
  • CONTEXT: Context
  • DATASINK: Data Sink
  • DATASOURCE: Data Source
  • STORED_PROCEDURE: SQL Procedure
  • MONITOR: Table Monitor (Stream)
  • USER: User (internal and external) and associated permissions
  • ROLE: Role, role members (roles or users, recursively) and associated permissions
  • CONFIGURATION: If TRUE, backup the database configuration file. Supported values: The default value is FALSE.
datasink_nameDatasink where backup will be stored.
optionsOptional parameters. The default value is an empty Dictionary.

Definition at line 584 of file CreateBackup.cs.

◆ CreateBackupRequest() [3/4]

kinetica.CreateBackupRequest.CreateBackupRequest ( )
inline

Constructs a CreateBackupRequest object with default parameters.

Definition at line 384 of file CreateBackup.cs.

◆ CreateBackupRequest() [4/4]

kinetica.CreateBackupRequest.CreateBackupRequest ( string  backup_name,
string  backup_type,
IDictionary< string, string >  backup_objects_map,
string  datasink_name,
IDictionary< string, string >  options = null 
)
inline

Constructs a CreateBackupRequest object with the specified parameters.

Parameters
backup_nameName for this backup object. If the backup object already exists, only an incremental or differential backup can be made, unless recreate is specified
backup_typeType of backup to create. Supported values:
backup_objects_mapMap of objects to be captured in the backup. Error if empty and creating full backup. Error if non-empty when creating an incremental or differential backup.
  • ALL: All object types in a schema (excludes permissions, system configuration, host secret key, KiFS directories and user defined functions)
  • TABLE: Database Table
  • CREDENTIAL: Credential
  • CONTEXT: Context
  • DATASINK: Data Sink
  • DATASOURCE: Data Source
  • STORED_PROCEDURE: SQL Procedure
  • MONITOR: Table Monitor (Stream)
  • USER: User (internal and external) and associated permissions
  • ROLE: Role, role members (roles or users, recursively) and associated permissions
  • CONFIGURATION: If TRUE, backup the database configuration file. Supported values: The default value is FALSE.
datasink_nameDatasink where backup will be stored.
optionsOptional parameters. The default value is an empty Dictionary.

Definition at line 584 of file CreateBackup.cs.

Property Documentation

◆ backup_name

string kinetica.CreateBackupRequest.backup_name
getset

Name for this backup object.

If the backup object already exists, only an incremental or differential backup can be made, unless recreate is specified

Definition at line 183 of file CreateBackup.cs.

◆ backup_objects_map

IDictionary< string, string > kinetica.CreateBackupRequest.backup_objects_map = new Dictionary<string, string>()
getset

Map of objects to be captured in the backup.

  • ALL: All object types in a schema (excludes permissions, system configuration, host secret key, KiFS directories and user defined functions)
  • TABLE: Database Table
  • CREDENTIAL: Credential
  • CONTEXT: Context
  • DATASINK: Data Sink
  • DATASOURCE: Data Source
  • STORED_PROCEDURE: SQL Procedure
  • MONITOR: Table Monitor (Stream)
  • USER: User (internal and external) and associated permissions
  • ROLE: Role, role members (roles or users, recursively) and associated permissions
  • CONFIGURATION: If TRUE, backup the database configuration file. Supported values: The default value is FALSE.

Definition at line 278 of file CreateBackup.cs.

◆ backup_type

string kinetica.CreateBackupRequest.backup_type
getset

Type of backup to create.

Supported values:

Definition at line 200 of file CreateBackup.cs.

◆ datasink_name

string kinetica.CreateBackupRequest.datasink_name
getset

Datasink where backup will be stored.

Definition at line 281 of file CreateBackup.cs.

◆ options

IDictionary< string, string > kinetica.CreateBackupRequest.options = new Dictionary<string, string>()
getset

Optional parameters.

The default value is an empty Dictionary.

Definition at line 380 of file CreateBackup.cs.


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