Kinetica C# API  Version 6.0.1.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
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 
33  {
34 
47  public struct Options
48  {
49 
53  public const string FILTER_MODE = "filter_mode";
54 
57  public const string IN_LIST = "in_list";
58 
61  public const string NOT_IN_LIST = "not_in_list";
62  } // end struct Options
63 
64 
69  public string table_name { get; set; }
70 
75  public string view_name { get; set; } = "";
76 
79  public IDictionary<string, IList<string>> column_values_map { get; set; } = new Dictionary<string, IList<string>>();
80 
91  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
92 
93 
96  public FilterByListRequest() { }
97 
123  string view_name,
124  IDictionary<string, IList<string>> column_values_map,
125  IDictionary<string, string> options = null)
126  {
127  this.table_name = table_name ?? "";
128  this.view_name = view_name ?? "";
129  this.column_values_map = column_values_map ?? new Dictionary<string, IList<string>>();
130  this.options = options ?? new Dictionary<string, string>();
131  } // end constructor
132 
133  } // end class FilterByListRequest
134 
135 
136 
139  {
140 
142  public long count { get; set; }
143 
144  } // end class FilterByListResponse
145 
146 
147 
148 
149 } // end namespace kinetica
const string IN_LIST
The filter will match all items that are in the provided list(s).
Definition: FilterByList.cs:57
const string FILTER_MODE
String indicating the filter mode, either &#39;in_list&#39; or &#39;not_in_list&#39;.
Definition: FilterByList.cs:53
const string NOT_IN_LIST
The filter will match all items that are not in the provided list(s).
Definition: FilterByList.cs:61
IDictionary< string, IList< string > > column_values_map
List of values for the corresponding column in the table
Definition: FilterByList.cs:79
string table_name
Name of the table to filter.
Definition: FilterByList.cs:69
string view_name
If provided, then this will be the name of the view containing the results.
Definition: FilterByList.cs:75
A set of parameters for /filter/bylist.
Definition: FilterByList.cs:32
IDictionary< string, string > options
Optional parameters.
Definition: FilterByList.cs:91
long count
The number of records passing the list filter.
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.
Definition: FilterByList.cs:96
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
A set of results returned by /filter/bylist.