Kinetica   C#   API  Version 7.2.3.0
AdminVerifyDb.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  public class AdminVerifyDbRequest : KineticaData
19  {
23  public struct Options
24  {
38  public const string REBUILD_ON_ERROR = "rebuild_on_error";
39 
40  public const string TRUE = "true";
41  public const string FALSE = "false";
42 
56  public const string VERIFY_NULLS = "verify_nulls";
57 
73  public const string VERIFY_PERSIST = "verify_persist";
74 
89  public const string CONCURRENT_SAFE = "concurrent_safe";
90 
104  public const string VERIFY_RANK0 = "verify_rank0";
105 
120  public const string DELETE_ORPHANED_TABLES = "delete_orphaned_tables";
121 
137  public const string VERIFY_ORPHANED_TABLES_ONLY = "verify_orphaned_tables_only";
138 
144  public const string TABLE_INCLUDES = "table_includes";
145 
151  public const string TABLE_EXCLUDES = "table_excludes";
152  } // end struct Options
153 
315  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
316 
319  public AdminVerifyDbRequest() { }
320 
485  public AdminVerifyDbRequest( IDictionary<string, string> options = null)
486  {
487  this.options = options ?? new Dictionary<string, string>();
488  } // end constructor
489  } // end class AdminVerifyDbRequest
490 
494  public class AdminVerifyDbResponse : KineticaData
495  {
498  public bool verified_ok { get; set; } = false;
499 
503  public IList<string> error_list { get; set; } = new List<string>();
504 
514  public long orphaned_tables_total_size { get; set; }
515 
517  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
518  } // end class AdminVerifyDbResponse
519 } // end namespace kinetica
IDictionary< string, string > info
Additional information.
long orphaned_tables_total_size
If VERIFY_PERSIST is TRUE, VERIFY_ORPHANED_TABLES_ONLY is TRUE or DELETE_ORPHANED_TABLES is TRUE,...
const string TABLE_EXCLUDES
Comma-separated list of table names to exclude when verifying table consistency on wokers.
IDictionary< string, string > options
Optional parameters.
const string CONCURRENT_SAFE
When TRUE, allows this endpoint to be run safely with other concurrent database operations.
const string DELETE_ORPHANED_TABLES
If TRUE, orphaned table directories found on workers for which there is no corresponding metadata wil...
AdminVerifyDbRequest(IDictionary< string, string > options=null)
Constructs an AdminVerifyDbRequest object with the specified parameters.
const string VERIFY_RANK0
If TRUE, compare rank0 table metadata against workers' metadata.
const string REBUILD_ON_ERROR
[DEPRECATED – Use the Rebuild DB feature of GAdmin instead.
const string VERIFY_ORPHANED_TABLES_ONLY
If TRUE, only the presence of orphaned table directories will be checked, all persistence and table c...
const string TABLE_INCLUDES
Comma-separated list of table names to include when verifying table consistency on wokers.
bool verified_ok
True if no errors were found, false otherwise.
const string VERIFY_NULLS
When TRUE, verifies that null values are set to zero.
IList< string > error_list
List of errors found while validating the database internal state.
AdminVerifyDbRequest()
Constructs an AdminVerifyDbRequest object with default parameters.
const string VERIFY_PERSIST
When TRUE, persistent objects will be compared against their state in memory and workers will be chec...