Kinetica C# API  Version 6.1.0.0
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 
28  public class FilterRequest : KineticaData
29  {
30 
53  public struct Options
54  {
55 
60  public const string COLLECTION_NAME = "collection_name";
61 
65  public const string TTL = "ttl";
66  } // end struct Options
67 
68 
73  public string table_name { get; set; }
74 
79  public string view_name { get; set; } = "";
80 
84  public string expression { get; set; }
85 
106  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
107 
108 
111  public FilterRequest() { }
112 
149  public FilterRequest( string table_name,
150  string view_name,
151  string expression,
152  IDictionary<string, string> options = null)
153  {
154  this.table_name = table_name ?? "";
155  this.view_name = view_name ?? "";
156  this.expression = expression ?? "";
157  this.options = options ?? new Dictionary<string, string>();
158  } // end constructor
159 
160  } // end class FilterRequest
161 
162 
163 
168  {
169 
172  public long count { get; set; }
173 
174  } // end class FilterResponse
175 
176 
177 
178 
179 } // end namespace kinetica
const string COLLECTION_NAME
Name of a collection which is to contain the newly created view.
Definition: Filter.cs:60
FilterRequest()
Constructs a FilterRequest object with default parameters.
Definition: Filter.cs:111
Optional parameters.
Definition: Filter.cs:53
string view_name
If provided, then this will be the name of the view containing the results.
Definition: Filter.cs:79
IDictionary< string, string > options
Optional parameters.
Definition: Filter.cs:106
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:149
const string TTL
Sets the TTL of the view specified in view_name.
Definition: Filter.cs:65
A set of parameters for Kinetica.filter(string,string,string,IDictionary<string, string>).
Definition: Filter.cs:28
A set of results returned by Kinetica.filter(string,string,string,IDictionary<string, string>).
Definition: Filter.cs:167
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:84
string table_name
Name of the table to filter.
Definition: Filter.cs:73