Kinetica   C#   API  Version 7.2.3.0
AlterWal.cs
Go to the documentation of this file.
1 /*
2  * This file was autogenerated by the Kinetica schema processor.
3  *
4  * DO NOT EDIT DIRECTLY.
5  */
6 
7 using System.Collections.Generic;
8 
9 namespace kinetica
10 {
18  {
22  public struct Options
23  {
25  public const string MAX_SEGMENT_SIZE = "max_segment_size";
26 
30  public const string SEGMENT_COUNT = "segment_count";
31 
57  public const string SYNC_POLICY = "sync_policy";
58 
60  public const string NONE = "none";
61 
64  public const string BACKGROUND = "background";
65 
68  public const string FLUSH = "flush";
69 
71  public const string FSYNC = "fsync";
72 
78  public const string FLUSH_FREQUENCY = "flush_frequency";
79 
93  public const string CHECKSUM = "checksum";
94 
95  public const string TRUE = "true";
96  public const string FALSE = "false";
97 
112  public const string OVERRIDE_NON_DEFAULT = "override_non_default";
113 
128  public const string RESTORE_SYSTEM_SETTINGS = "restore_system_settings";
129 
145  public const string PERSIST = "persist";
146  } // end struct Options
147 
151  public IList<string> table_names { get; set; } = new List<string>();
152 
282  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
283 
286  public AlterWalRequest() { }
287 
422  public AlterWalRequest( IList<string> table_names,
423  IDictionary<string, string> options = null)
424  {
425  this.table_names = table_names ?? new List<string>();
426  this.options = options ?? new Dictionary<string, string>();
427  } // end constructor
428  } // end class AlterWalRequest
429 
434  {
436  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
437  } // end class AlterWalResponse
438 } // end namespace kinetica
IDictionary< string, string > info
Additional information.
Definition: AlterWal.cs:436
const string SEGMENT_COUNT
Approximate number of segment files to split the wal across.
Definition: AlterWal.cs:30
AlterWalRequest()
Constructs an AlterWalRequest object with default parameters.
Definition: AlterWal.cs:286
const string OVERRIDE_NON_DEFAULT
If TRUE tables with unique wal settings will be overridden when applying a system level change.
Definition: AlterWal.cs:112
IList< string > table_names
List of tables to modify.
Definition: AlterWal.cs:151
const string BACKGROUND
Wal entries are periodically written instead of immediately after each operation
Definition: AlterWal.cs:64
const string SYNC_POLICY
Maximum size of an individual segment file.
Definition: AlterWal.cs:57
const string RESTORE_SYSTEM_SETTINGS
If TRUE tables with unique wal settings will be reverted to the current global settings.
Definition: AlterWal.cs:128
const string NONE
Disables the wal
Definition: AlterWal.cs:60
IDictionary< string, string > options
Optional parameters.
Definition: AlterWal.cs:282
const string CHECKSUM
If TRUE each entry will be checked against a protective checksum.
Definition: AlterWal.cs:93
const string FLUSH_FREQUENCY
Specifies how frequently wal entries are written with background sync.
Definition: AlterWal.cs:78
const string MAX_SEGMENT_SIZE
Maximum size of an individual segment file
Definition: AlterWal.cs:25
A set of string constants for the parameter options.
Definition: AlterWal.cs:22
const string FSYNC
Protects entries in the event of an OS crash
Definition: AlterWal.cs:71
AlterWalRequest(IList< string > table_names, IDictionary< string, string > options=null)
Constructs an AlterWalRequest object with the specified parameters.
Definition: AlterWal.cs:422
const string PERSIST
If TRUE and a system-level change was requested, the system configuration will be written to disk upo...
Definition: AlterWal.cs:145
const string FLUSH
Protects entries in the event of a database crash
Definition: AlterWal.cs:68
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
A set of parameters for Kinetica.alterWal.
Definition: AlterWal.cs:17
A set of results returned by Kinetica.alterWal.
Definition: AlterWal.cs:433