7 using System.Collections.Generic;
17 public class AlterWalRequest : KineticaData
60 public const string NONE =
"none";
68 public const string FLUSH =
"flush";
71 public const string FSYNC =
"fsync";
93 public const string CHECKSUM =
"checksum";
95 public const string TRUE =
"true";
96 public const string FALSE =
"false";
145 public const string PERSIST =
"persist";
151 public IList<string>
table_names {
get;
set; } =
new List<string>();
282 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
423 IDictionary<string, string>
options =
null)
425 this.table_names =
table_names ??
new List<string>();
433 public class AlterWalResponse : KineticaData
436 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
const string FLUSH
Protects entries in the event of a database crash
IList< string > table_names
List of tables to modify.
AlterWalRequest()
Constructs an AlterWalRequest object with default parameters.
const string BACKGROUND
WAL entries are periodically written instead of immediately after each operation
const string RESTORE_SYSTEM_SETTINGS
If TRUE tables with unique WAL settings will be reverted to the current global settings.
const string FLUSH_FREQUENCY
Specifies how frequently WAL entries are written with background sync.
const string SYNC_POLICY
Maximum size of an individual segment file.
IDictionary< string, string > info
Additional information.
const string MAX_SEGMENT_SIZE
Maximum size of an individual segment file
const string CHECKSUM
If TRUE each entry will be checked against a protective checksum.
const string NONE
Disables the WAL
IDictionary< string, string > options
Optional parameters.
const string OVERRIDE_NON_DEFAULT
If TRUE tables with unique WAL settings will be overridden when applying a system level change.
const string FSYNC
Protects entries in the event of an OS crash
AlterWalRequest(IList< string > table_names, IDictionary< string, string > options=null)
Constructs an AlterWalRequest object with the specified parameters.
const string PERSIST
If TRUE and a system-level change was requested, the system configuration will be written to disk upo...
const string SEGMENT_COUNT
Approximate number of segment files to split the WAL across.