Kinetica C# API  Version 6.0.1.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 
20  {
21 
28  public struct Operation
29  {
30 
34  public const string CONTAINS = "contains";
35 
37  public const string CROSSES = "crosses";
38 
41  public const string DISJOINT = "disjoint";
42 
45  public const string EQUALS = "equals";
46 
49  public const string INTERSECTS = "intersects";
50 
52  public const string OVERLAPS = "overlaps";
53 
55  public const string TOUCHES = "touches";
56 
59  public const string WITHIN = "within";
60  } // end struct Operation
61 
62 
66  public string table_name { get; set; }
67 
72  public string view_name { get; set; } = "";
73 
76  public string column_name { get; set; }
77 
81  public string input_wkt { get; set; } = "";
82 
87  public string operation { get; set; }
88 
90  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
91 
92 
96 
119  string view_name,
120  string column_name,
121  string input_wkt,
122  string operation,
123  IDictionary<string, string> options = null)
124  {
125  this.table_name = table_name ?? "";
126  this.view_name = view_name ?? "";
127  this.column_name = column_name ?? "";
128  this.input_wkt = input_wkt ?? "";
129  this.operation = operation ?? "";
130  this.options = options ?? new Dictionary<string, string>();
131  } // end constructor
132 
133  } // end class FilterByGeometryRequest
134 
135 
136 
139  {
140 
143  public long count { get; set; }
144 
145  } // end class FilterByGeometryResponse
146 
147 
148 
149 
150 } // 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 Values: contains, crosses, disjoint, equals...
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 &lt;member name=&quot;input_wkt&quot;&gt;, i.e.
The geometric filtering operation to perform Values: contains, crosses, disjoint, equals...
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 > 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 /filter/bygeometry.
const string OVERLAPS
Matches records that overlap the given WKT.
A set of results returned by /filter/bygeometry.
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.