Kinetica   C#   API  Version 7.2.3.0
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 namespace kinetica
10 {
18  {
23  public struct Operation
24  {
28  public const string CONTAINS = "contains";
29 
31  public const string CROSSES = "crosses";
32 
35  public const string DISJOINT = "disjoint";
36 
39  public const string EQUALS = "equals";
40 
43  public const string INTERSECTS = "intersects";
44 
46  public const string OVERLAPS = "overlaps";
47 
49  public const string TOUCHES = "touches";
50 
53  public const string WITHIN = "within";
54  } // end struct Operation
55 
59  public struct Options
60  {
75  public const string CREATE_TEMP_TABLE = "create_temp_table";
76 
77  public const string TRUE = "true";
78  public const string FALSE = "false";
79 
87  public const string COLLECTION_NAME = "collection_name";
88  } // end struct Options
89 
96  public string table_name { get; set; }
97 
106  public string view_name { get; set; } = "";
107 
111  public string column_name { get; set; }
112 
116  public string input_wkt { get; set; } = "";
117 
164  public string operation { get; set; }
165 
206  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
207 
211 
322  string view_name,
323  string column_name,
324  string input_wkt,
325  string operation,
326  IDictionary<string, string> options = null)
327  {
328  this.table_name = table_name ?? "";
329  this.view_name = view_name ?? "";
330  this.column_name = column_name ?? "";
331  this.input_wkt = input_wkt ?? "";
332  this.operation = operation ?? "";
333  this.options = options ?? new Dictionary<string, string>();
334  } // end constructor
335  } // end class FilterByGeometryRequest
336 
341  {
345  public struct Info
346  {
349  public const string QUALIFIED_VIEW_NAME = "qualified_view_name";
350  } // end struct Info
351 
354  public long count { get; set; }
355 
367  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
368  } // end class FilterByGeometryResponse
369 } // 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.
string input_wkt
A geometry in WKT format that will be used to filter the objects in table_name.
const string CONTAINS
Matches records that contain the given WKT in input_wkt, i.e.
A set of string constants for the parameter operation.
const string CROSSES
Matches records that cross the given WKT.
FilterByGeometryRequest()
Constructs a FilterByGeometryRequest object with default parameters.
A set of string constants for the parameter options.
A set of string constants for the parameter info.
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.
const string CREATE_TEMP_TABLE
If TRUE, a unique temporary table name will be generated in the sys_temp schema and used in place of ...
IDictionary< string, string > options
Optional parameters.
string table_name
Name of the table on which the filter by geometry will be performed, in [schema_name.
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.
const string OVERLAPS
Matches records that overlap the given WKT.
A set of results returned by Kinetica.filterByGeometry.
const string COLLECTION_NAME
[DEPRECATED–please specify the containing schema for the view as part of view_name and use Kinetica....
string view_name
If provided, then this will be the name of the view containing the results, in [schema_name.
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.
const string QUALIFIED_VIEW_NAME
The fully qualified name of the view (i.e.