Kinetica   C#   API  Version 7.2.3.1
AlterSchema.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 Action
23  {
25  public const string ADD_COMMENT = "add_comment";
26 
31  public const string RENAME_SCHEMA = "rename_schema";
32  } // end struct Action
33 
35  public string schema_name { get; set; }
36 
53  public string action { get; set; }
54 
60  public string _value { get; set; }
61 
65  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
66 
69  public AlterSchemaRequest() { }
70 
100  string action,
101  string _value,
102  IDictionary<string, string> options = null)
103  {
104  this.schema_name = schema_name ?? "";
105  this.action = action ?? "";
106  this._value = _value ?? "";
107  this.options = options ?? new Dictionary<string, string>();
108  } // end constructor
109 } // end class AlterSchemaRequest
110 
115 {
118  public string schema_name { get; set; }
119 
121  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
122 } // end class AlterSchemaResponse
AlterSchemaRequest(string schema_name, string action, string _value, IDictionary< string, string > options=null)
Constructs an AlterSchemaRequest object with the specified parameters.
Definition: AlterSchema.cs:99
string schema_name
Name of the schema to be altered.
Definition: AlterSchema.cs:35
string action
Modification operation to be applied.
Definition: AlterSchema.cs:53
string schema_name
Value of schema_name.
Definition: AlterSchema.cs:118
const string RENAME_SCHEMA
Renames a schema to _value.
Definition: AlterSchema.cs:31
AlterSchemaRequest()
Constructs an AlterSchemaRequest object with default parameters.
Definition: AlterSchema.cs:69
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
A set of string constants for the parameter action.
Definition: AlterSchema.cs:22
A set of parameters for Kinetica.alterSchema.
Definition: AlterSchema.cs:17
const string ADD_COMMENT
Adds a comment describing the schema.
Definition: AlterSchema.cs:25
string _value
The value of the modification, depending on action.
Definition: AlterSchema.cs:60
A set of results returned by Kinetica.alterSchema.
Definition: AlterSchema.cs:114
IDictionary< string, string > info
Additional information.
Definition: AlterSchema.cs:121
IDictionary< string, string > options
Optional parameters.
Definition: AlterSchema.cs:65