Kinetica C# API  Version 6.0.1.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
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 
10 
11 namespace kinetica
12 {
13 
25  {
26 
46  public struct Options
47  {
48 
51  public const string GLOBAL_EXPRESSION = "global_expression";
52 
57  public const string RECORD_ID = "record_id";
58  } // end struct Options
59 
60 
64  public string table_name { get; set; }
65 
71  public IList<string> expressions { get; set; } = new List<string>();
72 
90  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
91 
92 
95  public DeleteRecordsRequest() { }
96 
128  IList<string> expressions,
129  IDictionary<string, string> options = null)
130  {
131  this.table_name = table_name ?? "";
132  this.expressions = expressions ?? new List<string>();
133  this.options = options ?? new Dictionary<string, string>();
134  } // end constructor
135 
136  } // end class DeleteRecordsRequest
137 
138 
139 
142  {
143 
146  public long count_deleted { get; set; }
147 
150  public IList<long> counts_deleted { get; set; } = new List<long>();
151 
152  } // end class DeleteRecordsResponse
153 
154 
155 
156 
157 } // end namespace kinetica
const string GLOBAL_EXPRESSION
An optional global expression to reduce the search space of the &lt;member name=&quot;expressions&quot;&gt;.
IDictionary< string, string > options
Optional parameters.
A set of parameters for /delete/records.
long count_deleted
Total number of records deleted across all expressions.
A set of results returned by /delete/records.
DeleteRecordsRequest(string table_name, IList< string > expressions, IDictionary< string, string > options=null)
Constructs a DeleteRecordsRequest object with the specified parameters.
IList< string > expressions
A list of the actual predicates, one for each select; format should follow the guidelines provided /f...
const string RECORD_ID
A record id identifying a single record, obtained at the time of /insert/records or by calling /get/r...
string table_name
Name of the table from which to delete records.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
IList< long > counts_deleted
Total number of records deleted per expression.
DeleteRecordsRequest()
Constructs a DeleteRecordsRequest object with default parameters.