Kinetica C# API  Version 7.0.19.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
FilterByArea.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 
26  {
27 
42  public struct Options
43  {
44 
49  public const string COLLECTION_NAME = "collection_name";
50  } // end struct Options
51 
52 
59  public string table_name { get; set; }
60 
65  public string view_name { get; set; } = "";
66 
69  public string x_column_name { get; set; }
70 
73  public IList<double> x_vector { get; set; } = new List<double>();
74 
77  public string y_column_name { get; set; }
78 
81  public IList<double> y_vector { get; set; } = new List<double>();
82 
95  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
96 
97 
100  public FilterByAreaRequest() { }
101 
137  string view_name,
138  string x_column_name,
139  IList<double> x_vector,
140  string y_column_name,
141  IList<double> y_vector,
142  IDictionary<string, string> options = null)
143  {
144  this.table_name = table_name ?? "";
145  this.view_name = view_name ?? "";
146  this.x_column_name = x_column_name ?? "";
147  this.x_vector = x_vector ?? new List<double>();
148  this.y_column_name = y_column_name ?? "";
149  this.y_vector = y_vector ?? new List<double>();
150  this.options = options ?? new Dictionary<string, string>();
151  } // end constructor
152 
153  } // end class FilterByAreaRequest
154 
155 
156 
161  {
162 
164  public long count { get; set; }
165 
167  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
168 
169  } // end class FilterByAreaResponse
170 
171 
172 
173 
174 } // end namespace kinetica
IList< double > y_vector
List of y coordinates of the vertices of the polygon representing the area to be filtered.
Definition: FilterByArea.cs:81
const string COLLECTION_NAME
Name of a collection which is to contain the newly created view.
Definition: FilterByArea.cs:49
IDictionary< string, string > info
Additional information.
IList< double > x_vector
List of x coordinates of the vertices of the polygon representing the area to be filtered.
Definition: FilterByArea.cs:73
string y_column_name
Name of the column containing the y values to be filtered.
Definition: FilterByArea.cs:77
A set of parameters for Kinetica.filterByArea(string,string,string,IList{double},string,IList{double},IDictionary{string, string}).
Definition: FilterByArea.cs:25
A set of results returned by Kinetica.filterByArea(string,string,string,IList{double},string,IList{double},IDictionary{string, string}).
string x_column_name
Name of the column containing the x values to be filtered.
Definition: FilterByArea.cs:69
string view_name
If provided, then this will be the name of the view containing the results.
Definition: FilterByArea.cs:65
long count
The number of records passing the area filter.
FilterByAreaRequest()
Constructs a FilterByAreaRequest object with default parameters.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
string table_name
Name of the table to filter.
Definition: FilterByArea.cs:59
FilterByAreaRequest(string table_name, string view_name, string x_column_name, IList< double > x_vector, string y_column_name, IList< double > y_vector, IDictionary< string, string > options=null)
Constructs a FilterByAreaRequest object with the specified parameters.
IDictionary< string, string > options
Optional parameters.
Definition: FilterByArea.cs:95