Kinetica C# API  Version 6.1.0.0
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 
27  {
28 
50  public struct Options
51  {
52 
55  public const string GLOBAL_EXPRESSION = "global_expression";
56 
63  public const string RECORD_ID = "record_id";
64  } // end struct Options
65 
66 
70  public string table_name { get; set; }
71 
79  public IList<string> expressions { get; set; } = new List<string>();
80 
100  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
101 
102 
105  public DeleteRecordsRequest() { }
106 
141  IList<string> expressions,
142  IDictionary<string, string> options = null)
143  {
144  this.table_name = table_name ?? "";
145  this.expressions = expressions ?? new List<string>();
146  this.options = options ?? new Dictionary<string, string>();
147  } // end constructor
148 
149  } // end class DeleteRecordsRequest
150 
151 
152 
157  {
158 
161  public long count_deleted { get; set; }
162 
165  public IList<long> counts_deleted { get; set; } = new List<long>();
166 
167  } // end class DeleteRecordsResponse
168 
169 
170 
171 
172 } // 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>).
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.