Kinetica C# API  Version 7.0.19.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
FilterByGeometry.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 
22  {
23 
80  public struct Operation
81  {
82 
86  public const string CONTAINS = "contains";
87 
89  public const string CROSSES = "crosses";
90 
93  public const string DISJOINT = "disjoint";
94 
97  public const string EQUALS = "equals";
98 
101  public const string INTERSECTS = "intersects";
102 
104  public const string OVERLAPS = "overlaps";
105 
107  public const string TOUCHES = "touches";
108 
111  public const string WITHIN = "within";
112  } // end struct Operation
113 
114 
129  public struct Options
130  {
131 
136  public const string COLLECTION_NAME = "collection_name";
137  } // end struct Options
138 
139 
143  public string table_name { get; set; }
144 
149  public string view_name { get; set; } = "";
150 
153  public string column_name { get; set; }
154 
158  public string input_wkt { get; set; } = "";
159 
214  public string operation { get; set; }
215 
228  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
229 
230 
234 
320  string view_name,
321  string column_name,
322  string input_wkt,
323  string operation,
324  IDictionary<string, string> options = null)
325  {
326  this.table_name = table_name ?? "";
327  this.view_name = view_name ?? "";
328  this.column_name = column_name ?? "";
329  this.input_wkt = input_wkt ?? "";
330  this.operation = operation ?? "";
331  this.options = options ?? new Dictionary<string, string>();
332  } // end constructor
333 
334  } // end class FilterByGeometryRequest
335 
336 
337 
342  {
343 
346  public long count { get; set; }
347 
349  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
350 
351  } // end class FilterByGeometryResponse
352 
353 
354 
355 
356 } // end namespace kinetica
FilterByGeometryRequest(string table_name, string view_name, string column_name, string input_wkt, string operation, IDictionary< string, string > options=null)
Constructs a FilterByGeometryRequest object with the specified parameters.
string operation
The geometric filtering operation to perform Supported values: CONTAINS: Matches records that contain...
string input_wkt
A geometry in WKT format that will be used to filter the objects in .
const string CONTAINS
Matches records that contain the given WKT in input_wkt, i.e.
The geometric filtering operation to perform Supported values: CONTAINS: Matches records that contain...
const string CROSSES
Matches records that cross the given WKT.
FilterByGeometryRequest()
Constructs a FilterByGeometryRequest object with default parameters.
const string INTERSECTS
Matches records that intersect the given WKT.
const string WITHIN
Matches records that are within the given WKT.
IDictionary< string, string > info
Additional information.
IDictionary< string, string > options
Optional parameters.
string table_name
Name of the table on which the filter by geometry will be performed.
string column_name
Name of the column to be used in the filter.
const string DISJOINT
Matches records that are disjoint from the given WKT.
const string TOUCHES
Matches records that touch the given WKT.
A set of parameters for Kinetica.filterByGeometry(string,string,string,string,string,IDictionary{string, string}).
const string OVERLAPS
Matches records that overlap the given WKT.
A set of results returned by Kinetica.filterByGeometry(string,string,string,string,string,IDictionary{string, string}).
const string COLLECTION_NAME
Name of a collection which is to contain the newly created view.
string view_name
If provided, then this will be the name of the view containing the results.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
long count
The number of records passing the geometry filter.
const string EQUALS
Matches records that are the same as the given WKT.