Kinetica C# API  Version 6.0.1.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
Filter.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 
25  public class FilterRequest : KineticaData
26  {
27 
48  public struct Options
49  {
50 
56  public const string COLLECTION_NAME = "collection_name";
57 
61  public const string TTL = "ttl";
62  } // end struct Options
63 
64 
69  public string table_name { get; set; }
70 
75  public string view_name { get; set; } = "";
76 
80  public string expression { get; set; }
81 
100  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
101 
102 
105  public FilterRequest() { }
106 
141  public FilterRequest( string table_name,
142  string view_name,
143  string expression,
144  IDictionary<string, string> options = null)
145  {
146  this.table_name = table_name ?? "";
147  this.view_name = view_name ?? "";
148  this.expression = expression ?? "";
149  this.options = options ?? new Dictionary<string, string>();
150  } // end constructor
151 
152  } // end class FilterRequest
153 
154 
155 
158  {
159 
162  public long count { get; set; }
163 
164  } // end class FilterResponse
165 
166 
167 
168 
169 } // end namespace kinetica
const string COLLECTION_NAME
Name of a collection which is to contain the newly created view, otherwise the view will be a top-lev...
Definition: Filter.cs:56
FilterRequest()
Constructs a FilterRequest object with default parameters.
Definition: Filter.cs:105
Optional parameters.
Definition: Filter.cs:48
string view_name
If provided, then this will be the name of the view containing the results.
Definition: Filter.cs:75
IDictionary< string, string > options
Optional parameters.
Definition: Filter.cs:100
FilterRequest(string table_name, string view_name, string expression, IDictionary< string, string > options=null)
Constructs a FilterRequest object with the specified parameters.
Definition: Filter.cs:141
const string TTL
Sets the TTL of the view specified in &lt;member name=&quot;view_name&quot;&gt;.
Definition: Filter.cs:61
A set of parameters for /filter.
Definition: Filter.cs:25
A set of results returned by /filter.
Definition: Filter.cs:157
long count
The number of records that matched the given select expression.
Definition: Filter.cs:162
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
string expression
The select expression to filter the specified table.
Definition: Filter.cs:80
string table_name
Name of the table to filter.
Definition: Filter.cs:69