Kinetica   C#   API  Version 7.2.3.0
FilterByValue.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 {
26  {
30  public struct Options
31  {
46  public const string CREATE_TEMP_TABLE = "create_temp_table";
47 
48  public const string TRUE = "true";
49  public const string FALSE = "false";
50 
58  public const string COLLECTION_NAME = "collection_name";
59  } // end struct Options
60 
65  public string table_name { get; set; }
66 
75  public string view_name { get; set; } = "";
76 
79  public bool is_string { get; set; }
80 
83  public double _value { get; set; } = 0;
84 
87  public string value_str { get; set; } = "";
88 
91  public string column_name { get; set; }
92 
132  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
133 
136  public FilterByValueRequest() { }
137 
201  string view_name,
202  bool is_string,
203  double? _value,
204  string value_str,
205  string column_name,
206  IDictionary<string, string> options = null)
207  {
208  this.table_name = table_name ?? "";
209  this.view_name = view_name ?? "";
210  this.is_string = is_string;
211  this._value = _value ?? 0;
212  this.value_str = value_str ?? "";
213  this.column_name = column_name ?? "";
214  this.options = options ?? new Dictionary<string, string>();
215  } // end constructor
216  } // end class FilterByValueRequest
217 
222  {
226  public struct Info
227  {
230  public const string QUALIFIED_VIEW_NAME = "qualified_view_name";
231  } // end struct Info
232 
234  public long count { get; set; }
235 
247  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
248  } // end class FilterByValueResponse
249 } // end namespace kinetica
string column_name
Name of a column on which the filter by value would be applied.
FilterByValueRequest(string table_name, string view_name, bool is_string, double? _value, string value_str, string column_name, IDictionary< string, string > options=null)
Constructs a FilterByValueRequest object with the specified parameters.
const string COLLECTION_NAME
[DEPRECATED–please specify the containing schema for the view as part of view_name and use Kinetica....
long count
The number of records passing the value filter.
string value_str
The string value to search for.
FilterByValueRequest()
Constructs a FilterByValueRequest object with default parameters.
double _value
The value to search for.
A set of results returned by Kinetica.filterByValue.
const string QUALIFIED_VIEW_NAME
The fully qualified name of the view (i.e.
IDictionary< string, string > options
Optional parameters.
IDictionary< string, string > info
Additional information.
A set of parameters for Kinetica.filterByValue.
bool is_string
Indicates whether the value being searched for is string or numeric.
string table_name
Name of an existing table on which to perform the calculation, in [schema_name.
string view_name
If provided, then this will be the name of the view containing the results, in [schema_name.
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 ...
A set of string constants for the parameter options.
A set of string constants for the parameter info.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14