7 using System.Collections.Generic;
32 public const string FULL =
"full";
49 public const string ALL =
"all";
77 public const string GRAPH =
"graph";
92 public const string ROLE =
"role";
105 public const string TABLE =
"table";
111 public const string USER =
"user";
138 public const string TRUE =
"true";
139 public const string FALSE =
"false";
353 public IDictionary<string, string>
backup_objects_map {
get;
set; } =
new Dictionary<string, string>();
461 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
713 IDictionary<string, string>
options =
null)
750 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
long backup_id
ID of the snapshot created.
const string MONITOR
Table monitor(s) / SQL stream(s).
A set of string constants for the parameter backup_objects_map.
const string TABLE
Table(s) and SQL view(s).
const string DELETE_INTERMEDIATE_BACKUPS
Whether or not to delete any intermediate snapshots when the backup_type is set to DIFFERENTIAL.
const string RECREATE
Whether or not to replace an existing backup object with a new backup with a full snapshot,...
IDictionary< string, string > backup_objects_map
Map of objects to be captured in the backup; must be specified when creating a full snapshot and left...
const string CONTEXT
Context(s).
const string GRAPH
Graph(s) definition.
const string DATASINK
Data sink(s).
KineticaData - class to help with Avro Encoding for Kinetica
A set of string constants for the parameter backup_type.
const string CATALOG
Data Lake catalog that is external to the database.
IDictionary< string, string > info
Additional information.
string backup_name
Name for this backup.
A set of parameters for Kinetica.createBackup.
const string MAX_INCREMENTAL_BACKUPS_TO_KEEP
Maximum number of incremental snapshots to keep.
const string STORED_PROCEDURE
SQL procedure(s).
const string ALL
All object types and data contained in the given schema(s).
const string CHECKSUM
Whether or not to calculate checksums for backup files.
const string ROLE
Role(s), role members (roles or users, recursively), and associated permissions.
long copied_bytes
Total size of all files copied for this snapshot.
const string FULL
Snapshot of the given database objects and data.
long total_number_of_records
Total number of records that can be restored from this snapshot.
const string DRY_RUN
Whether or not to perform a dry run of a backup operation.
IDictionary< string, string > options
Optional parameters.
long copied_files
Total number of files copied for this snapshot.
A set of string constants for the parameter options.
const string USER
User(s) (internal and external) and associated permissions.
A set of results returned by Kinetica.createBackup.
const string DATASOURCE
Data source(s).
const string DIFFERENTIAL
Snapshot of changes in the database objects and data since the last full snapshot.
const string CREDENTIAL
Credential(s).
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.
long copied_records
Total number of records in all files copied for this snapshot.
const string INCREMENTAL
Snapshot of changes in the database objects and data since the last snapshot of any kind.
const string USER_DEFINED_FUNCTION
UDF(s).
string backup_name
Value of backup_name.
string backup_type
Type of snapshot to create.
const string DDL_ONLY
Whether or not, for tables, to only backup DDL and not table data.
const string RESOURCE_GROUP
Resource group(s).
CreateBackupRequest()
Constructs a CreateBackupRequest object with default parameters.
const string COMMENT
Comments to store with this backup.
string datasink_name
Data sink through which the backup will be stored.
const string FUNCTION_ENVIRONMENT
Python UDF function environment(s).