7 using System.Collections.Generic;
30 public const string ALL =
"all";
54 public const string GRAPH =
"graph";
69 public const string ROLE =
"role";
84 public const string TABLE =
"table";
90 public const string USER =
"user";
126 public const string TRUE =
"true";
129 public const string FALSE =
"false";
211 public const string PAUSE =
"pause";
273 public const string NONE =
"none";
575 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
867 IDictionary<string, string>
options =
null)
899 public IDictionary<string, string>
restored_objects {
get;
set; } =
new Dictionary<string, string>();
903 public IDictionary<string, string>
renamed_objects {
get;
set; } =
new Dictionary<string, string>();
907 public IDictionary<string, string>
failed_objects {
get;
set; } =
new Dictionary<string, string>();
910 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
IDictionary< string, string > restored_objects
Database objects that were successfully restored and their associated types.
const string STORED_PROCEDURE
SQL procedure(s).
long restored_bytes
Total size of data restored from backup.
IDictionary< string, string > restore_objects_map
Map of database objects to be restored from the backup.
const string ROLE
Role(s), role members (roles or users, recursively), and associated permissions.
const string RESOURCE_GROUP
Resource group(s).
const string CONTEXT
Context(s).
const string FALSE
Restore the persisted data files directly.
RestoreBackupRequest()
Constructs a RestoreBackupRequest object with default parameters.
KineticaData - class to help with Avro Encoding for Kinetica
const string BACKUP_ID
ID of the snapshot to restore.
IDictionary< string, string > options
Optional parameters.
IDictionary< string, string > failed_objects
Database objects that failed to be restored and their associated types.
IDictionary< string, string > info
Additional information.
const string GRAPH
Graph(s) definition.
const string PAUSE
Pause subscriptions that were active when the backup was made.
const string RENAME
If an object to be restored already exists with the same name, move that existing one to the schema s...
const string REINGEST
Behavior to apply when restoring table data.
string datasource_name
Data source through which the backup will be restored.
const string NONE
If an object to be restored already exists with the same name, abort and return error.
const string RESTORE_SUBSCRIPTIONS
Behavior to apply when restoring datasource subscriptions on tables.
long restored_records
Total number of records restored from backup.
const string CHECKSUM
Whether or not to verify checksums for backup files when restoring.
string backup_name
Name of the backup to restore from, which must refer to an existing backup.
const string RESUME
Resume subscriptions that were active when the backup was made.
const string RESTORE_POLICY
Behavior to apply when any database object to restore already exists.
const string FUNCTION_ENVIRONMENT
Python UDF function environment(s).
const string RENAMED_OBJECTS_SCHEMA
If the RESTORE_POLICY is RENAME, use this schema for relocated existing objects instead of the defaul...
const string DRY_RUN
Whether or not to perform a dry run of the restoration operation.
long backup_id
ID of the snapshot that was restored.
A set of string constants for the parameter restore_objects_map.
A set of parameters for Kinetica.restoreBackup.
const string DATASOURCE
Data source(s).
const string CREDENTIAL
Credential(s).
A set of string constants for the parameter options.
IDictionary< string, string > renamed_objects
Original and new names of database objects that were successfully restored and their associated types...
const string CREATE_SCHEMA_IF_NOT_EXIST
Behavior to apply when the schema containing any database object to restore does not already exist.
RestoreBackupRequest(string backup_name, IDictionary< string, string > restore_objects_map, string datasource_name, IDictionary< string, string > options=null)
Constructs a RestoreBackupRequest object with the specified parameters.
long restored_files
Total number of files restored from backup.
A set of results returned by Kinetica.restoreBackup.
string backup_name
Value of backup_name.
const string MONITOR
Table monitor(s) / SQL stream(s).
const string TABLE
Table(s) and SQL view(s).
const string DDL_ONLY
Behavior to apply when restoring tables.
const string TRUE
Restore table data by re-ingesting it.
const string ALL
All object types and data contained in the given schema(s).
const string USER_DEFINED_FUNCTION
UDF(s).
const string USER
User(s) (internal and external) and associated permissions.
const string CANCEL
Cancel active subscriptions.
const string REPLACE
If an object to be restored already exists with the same name, replace it with the backup version.
const string DATASINK
Data sink(s).