Kinetica   C#   API  Version 7.2.3.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 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 
82  public IList<string> expressions { get; set; } = new List<string>();
83 
128  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
129 
132  public DeleteRecordsRequest() { }
133 
194  IList<string> expressions,
195  IDictionary<string, string> options = null)
196  {
197  this.table_name = table_name ?? "";
198  this.expressions = expressions ?? new List<string>();
199  this.options = options ?? new Dictionary<string, string>();
200  } // end constructor
201  } // end class DeleteRecordsRequest
202 
207  {
210  public long count_deleted { get; set; }
211 
213  public IList<long> counts_deleted { get; set; } = new List<long>();
214 
216  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
217  } // end class DeleteRecordsResponse
218 } // 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.
IDictionary< string, string > info
Additional information.
A set of string constants for the parameter options.
A set of parameters for Kinetica.deleteRecords.
long count_deleted
Total number of records deleted across all expressions.
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.
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, in [schema_name.
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.