Skip to main content

A set of parameters for Kinetica.alterWal. More…

Inheritance diagram for kinetica.AlterWalRequest:
Collaboration diagram for kinetica.AlterWalRequest:

Classes

struct  Options
 A set of string constants for the parameter AlterWalRequest.options. More…
 

Public Member Functions

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

Properties

IList< string > table_names = new List<string>() [get, set]
 List of tables to modify.
 
IDictionary< string, string > options = new Dictionary<string, string>() [get, set]
 Optional parameters.
 
 Properties inherited from kinetica.KineticaData
Schema Schema [get]
 Avro Schema for this class.
 

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.
 
static ? RecordSchema SchemaFromType (System.Type t, KineticaType? ktype=null)
 Create an Avro Schema from a System.Type and a KineticaType.
 

Detailed Description

A set of parameters for Kinetica.alterWal.

Alters table write-ahead log (WAL) settings. Returns information about the requested table WAL modifications.

Definition at line 17 of file AlterWal.cs.

Constructor & Destructor Documentation

◆ AlterWalRequest() [1/4]

kinetica.AlterWalRequest.AlterWalRequest ()
inline

Constructs an AlterWalRequest object with default parameters.

Definition at line 325 of file AlterWal.cs.

◆ AlterWalRequest() [2/4]

kinetica.AlterWalRequest.AlterWalRequest (IList< string >table_names,
IDictionary< string, string >options = null )
inline

Constructs an AlterWalRequest object with the specified parameters.

Parameters
table_namesList of tables to modify. An asterisk changes the system settings.
optionsOptional parameters.
  • MAX_SEGMENT_SIZE: Maximum size of an individual segment file.
  • SEGMENT_COUNT: Approximate number of segment files to split the WAL across. Must be at least two.
  • SYNC_POLICY: Maximum size of an individual segment file. Supported values:
    • NONE: Disables the WAL.
    • BACKGROUND: WAL entries are periodically written instead of immediately after each operation.
    • FLUSH: Protects entries in the event of a database crash.
    • FSYNC: Protects entries in the event of an OS crash.
  • FLUSH_FREQUENCY: Specifies how frequently WAL entries are written with background sync. This is a global setting and can only be used with the system options.table_names specifier ’*’.
  • CHECKSUM: If TRUE each entry will be checked against a protective checksum. Supported values:The default value is TRUE.
  • OVERRIDE_NON_DEFAULT: If TRUE tables with unique WAL settings will be overridden when applying a system level change. Supported values:The default value is FALSE.
  • RESTORE_SYSTEM_SETTINGS: If TRUE tables with unique WAL settings will be reverted to the current global settings. Cannot be used in conjunction with any other option. Supported values:The default value is FALSE.
  • PERSIST: If TRUE and a system-level change was requested, the system configuration will be written to disk upon successful application of this request. This will commit the changes from this request and any additional in-memory modifications. Supported values:The default value is TRUE.
The default value is an empty Dictionary.

Definition at line 482 of file AlterWal.cs.

◆ AlterWalRequest() [3/4]

kinetica.AlterWalRequest.AlterWalRequest ()
inline

Constructs an AlterWalRequest object with default parameters.

Definition at line 325 of file AlterWal.cs.

◆ AlterWalRequest() [4/4]

kinetica.AlterWalRequest.AlterWalRequest (IList< string >table_names,
IDictionary< string, string >options = null )
inline

Constructs an AlterWalRequest object with the specified parameters.

Parameters
table_namesList of tables to modify. An asterisk changes the system settings.
optionsOptional parameters.
  • MAX_SEGMENT_SIZE: Maximum size of an individual segment file.
  • SEGMENT_COUNT: Approximate number of segment files to split the WAL across. Must be at least two.
  • SYNC_POLICY: Maximum size of an individual segment file. Supported values:
    • NONE: Disables the WAL.
    • BACKGROUND: WAL entries are periodically written instead of immediately after each operation.
    • FLUSH: Protects entries in the event of a database crash.
    • FSYNC: Protects entries in the event of an OS crash.
  • FLUSH_FREQUENCY: Specifies how frequently WAL entries are written with background sync. This is a global setting and can only be used with the system options.table_names specifier ’*’.
  • CHECKSUM: If TRUE each entry will be checked against a protective checksum. Supported values:The default value is TRUE.
  • OVERRIDE_NON_DEFAULT: If TRUE tables with unique WAL settings will be overridden when applying a system level change. Supported values:The default value is FALSE.
  • RESTORE_SYSTEM_SETTINGS: If TRUE tables with unique WAL settings will be reverted to the current global settings. Cannot be used in conjunction with any other option. Supported values:The default value is FALSE.
  • PERSIST: If TRUE and a system-level change was requested, the system configuration will be written to disk upon successful application of this request. This will commit the changes from this request and any additional in-memory modifications. Supported values:The default value is TRUE.
The default value is an empty Dictionary.

Definition at line 482 of file AlterWal.cs.

Property Documentation

◆ options

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

Optional parameters.

  • MAX_SEGMENT_SIZE: Maximum size of an individual segment file.
  • SEGMENT_COUNT: Approximate number of segment files to split the WAL across. Must be at least two.
  • SYNC_POLICY: Maximum size of an individual segment file. Supported values:
    • NONE: Disables the WAL.
    • BACKGROUND: WAL entries are periodically written instead of immediately after each operation.
    • FLUSH: Protects entries in the event of a database crash.
    • FSYNC: Protects entries in the event of an OS crash.
  • FLUSH_FREQUENCY: Specifies how frequently WAL entries are written with background sync. This is a global setting and can only be used with the system options.table_names specifier ’*’.
  • CHECKSUM: If TRUE each entry will be checked against a protective checksum. Supported values:The default value is TRUE.
  • OVERRIDE_NON_DEFAULT: If TRUE tables with unique WAL settings will be overridden when applying a system level change. Supported values:The default value is FALSE.
  • RESTORE_SYSTEM_SETTINGS: If TRUE tables with unique WAL settings will be reverted to the current global settings. Cannot be used in conjunction with any other option. Supported values:The default value is FALSE.
  • PERSIST: If TRUE and a system-level change was requested, the system configuration will be written to disk upon successful application of this request. This will commit the changes from this request and any additional in-memory modifications. Supported values:The default value is TRUE.

The default value is an empty Dictionary.

Definition at line 321 of file AlterWal.cs.

◆ table_names

IList< string > kinetica.AlterWalRequest.table_names = new List<string>()
getset

List of tables to modify.

An asterisk changes the system settings.

Definition at line 169 of file AlterWal.cs.


The documentation for this class was generated from the following files:
  • _build/public-os_ubuntu24.04-arch_amd64-cc_gcc_13.3.0/install/Kinetica/Protocol/AlterWal.cs
  • Kinetica/Protocol/AlterWal.cs