Kinetica   C#   API  Version 7.2.3.1
DeleteRecords.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 
25 {
29  public struct Options
30  {
34  public const string GLOBAL_EXPRESSION = "global_expression";
35 
45  public const string RECORD_ID = "record_id";
46 
60  public const string DELETE_ALL_RECORDS = "delete_all_records";
61 
62  public const string TRUE = "true";
63  public const string FALSE = "false";
64  } // end struct Options
65 
72  public string table_name { get; set; }
73 
81  public IList<string> expressions { get; set; } = new List<string>();
82 
127  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
128 
131  public DeleteRecordsRequest() { }
132 
192  IList<string> expressions,
193  IDictionary<string, string> options = null)
194  {
195  this.table_name = table_name ?? "";
196  this.expressions = expressions ?? new List<string>();
197  this.options = options ?? new Dictionary<string, string>();
198  } // end constructor
199 } // end class DeleteRecordsRequest
200 
205 {
208  public long count_deleted { get; set; }
209 
211  public IList<long> counts_deleted { get; set; } = new List<long>();
212 
214  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
215 } // end class DeleteRecordsResponse
DeleteRecordsRequest(string table_name, IList< string > expressions, IDictionary< string, string > options=null)
Constructs a DeleteRecordsRequest object with the specified parameters.
const string DELETE_ALL_RECORDS
If set to TRUE, all records in the table will be deleted.
A set of string constants for the parameter options.
A set of results returned by Kinetica.deleteRecords.
const string RECORD_ID
A record ID identifying a single record, obtained at the time of insertion of the record or by callin...
const string GLOBAL_EXPRESSION
An optional global expression to reduce the search space of the expressions.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
IDictionary< string, string > options
Optional parameters.
IList< string > expressions
A list of the actual predicates, one for each select; format should follow the guidelines provided he...
A set of parameters for Kinetica.deleteRecords.
IDictionary< string, string > info
Additional information.
long count_deleted
Total number of records deleted across all expressions.
DeleteRecordsRequest()
Constructs a DeleteRecordsRequest object with default parameters.
string table_name
Name of the table from which to delete records, in [schema_name.
IList< long > counts_deleted
Total number of records deleted per expression.