Kinetica C# API  Version 6.2.0.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 
10 
11 namespace kinetica
12 {
13 
28  {
29 
74  public struct Options
75  {
76 
80  public const string GLOBAL_EXPRESSION = "global_expression";
81 
91  public const string RECORD_ID = "record_id";
92 
109  public const string DELETE_ALL_RECORDS = "delete_all_records";
110  public const string TRUE = "true";
111  public const string FALSE = "false";
112  } // end struct Options
113 
114 
118  public string table_name { get; set; }
119 
127  public IList<string> expressions { get; set; } = new List<string>();
128 
171  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
172 
173 
176  public DeleteRecordsRequest() { }
177 
235  IList<string> expressions,
236  IDictionary<string, string> options = null)
237  {
238  this.table_name = table_name ?? "";
239  this.expressions = expressions ?? new List<string>();
240  this.options = options ?? new Dictionary<string, string>();
241  } // end constructor
242 
243  } // end class DeleteRecordsRequest
244 
245 
246 
251  {
252 
255  public long count_deleted { get; set; }
256 
259  public IList<long> counts_deleted { get; set; } = new List<long>();
260 
261  } // end class DeleteRecordsResponse
262 
263 
264 
265 
266 } // end namespace kinetica
const string GLOBAL_EXPRESSION
An optional global expression to reduce the search space of the expressions.
IDictionary< string, string > options
Optional parameters.
A set of parameters for Kinetica.deleteRecords(string,IList<string>,IDictionary<string, string>).
const string DELETE_ALL_RECORDS
If set to true, all records in the table will be deleted.
A set of results returned by Kinetica.deleteRecords(string,IList<string>,IDictionary<string, string>).
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 he...
const string RECORD_ID
A record ID identifying a single record, obtained at the time of insertion of the record or by callin...
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
DeleteRecordsRequest()
Constructs a DeleteRecordsRequest object with default parameters.