Kinetica C# API  Version 6.1.0.0
FilterByList.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 
35  {
36 
66  public struct Options
67  {
68 
88  public const string FILTER_MODE = "filter_mode";
89 
92  public const string IN_LIST = "in_list";
93 
96  public const string NOT_IN_LIST = "not_in_list";
97  } // end struct Options
98 
99 
104  public string table_name { get; set; }
105 
110  public string view_name { get; set; } = "";
111 
114  public IDictionary<string, IList<string>> column_values_map { get; set; } = new Dictionary<string, IList<string>>();
115 
143  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
144 
145 
148  public FilterByListRequest() { }
149 
192  string view_name,
193  IDictionary<string, IList<string>> column_values_map,
194  IDictionary<string, string> options = null)
195  {
196  this.table_name = table_name ?? "";
197  this.view_name = view_name ?? "";
198  this.column_values_map = column_values_map ?? new Dictionary<string, IList<string>>();
199  this.options = options ?? new Dictionary<string, string>();
200  } // end constructor
201 
202  } // end class FilterByListRequest
203 
204 
205 
210  {
211 
213  public long count { get; set; }
214 
215  } // end class FilterByListResponse
216 
217 
218 
219 
220 } // end namespace kinetica
const string IN_LIST
The filter will match all items that are in the provided list(s).
Definition: FilterByList.cs:92
const string FILTER_MODE
String indicating the filter mode, either &#39;in_list&#39; or &#39;not_in_list&#39;.
Definition: FilterByList.cs:88
const string NOT_IN_LIST
The filter will match all items that are not in the provided list(s).
Definition: FilterByList.cs:96
IDictionary< string, IList< string > > column_values_map
List of values for the corresponding column in the table
string table_name
Name of the table to filter.
string view_name
If provided, then this will be the name of the view containing the results.
A set of parameters for Kinetica.filterByList(string,string,IDictionary<string, IList<string>>,IDictionary<string, string>).
Definition: FilterByList.cs:34
IDictionary< string, string > options
Optional parameters.
FilterByListRequest(string table_name, string view_name, IDictionary< string, IList< string >> column_values_map, IDictionary< string, string > options=null)
Constructs a FilterByListRequest object with the specified parameters.
FilterByListRequest()
Constructs a FilterByListRequest object with default parameters.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
A set of results returned by Kinetica.filterByList(string,string,IDictionary<string, IList<string>>,IDictionary<string, string>).