Kinetica C# API  Version 6.0.1.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
FilterByString.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 
23  {
24 
30  public struct Mode
31  {
32 
37  public const string SEARCH = "search";
38 
40  public const string EQUALS = "equals";
41 
45  public const string CONTAINS = "contains";
46 
50  public const string STARTS_WITH = "starts_with";
51 
55  public const string REGEX = "regex";
56  } // end struct Mode
57 
58 
71  public struct Options
72  {
73 
77  public const string CASE_SENSITIVE = "case_sensitive";
78  public const string TRUE = "true";
79  public const string FALSE = "false";
80  } // end struct Options
81 
82 
86  public string table_name { get; set; }
87 
92  public string view_name { get; set; } = "";
93 
95  public string expression { get; set; }
96 
100  public string mode { get; set; }
101 
104  public IList<string> column_names { get; set; } = new List<string>();
105 
116  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
117 
118 
122 
152  string view_name,
153  string expression,
154  string mode,
155  IList<string> column_names,
156  IDictionary<string, string> options = null)
157  {
158  this.table_name = table_name ?? "";
159  this.view_name = view_name ?? "";
160  this.expression = expression ?? "";
161  this.mode = mode ?? "";
162  this.column_names = column_names ?? new List<string>();
163  this.options = options ?? new Dictionary<string, string>();
164  } // end constructor
165 
166  } // end class FilterByStringRequest
167 
168 
169 
172  {
173 
176  public long count { get; set; }
177 
178  } // end class FilterByStringResponse
179 
180 
181 
182 
183 } // end namespace kinetica
const string EQUALS
Exact whole-string match (accelerated).
string view_name
If provided, then this will be the name of the view containing the results.
string table_name
Name of the table on which the filter operation will be performed.
const string CASE_SENSITIVE
If &#39;false&#39; then string filtering will ignore case.
string expression
The expression with which to filter the table.
FilterByStringRequest()
Constructs a FilterByStringRequest object with default parameters.
const string STARTS_WITH
Strings that start with the given expression (not accelerated).
const string REGEX
Full regular expression search (not accelerated).
A set of results returned by /filter/bystring.
IDictionary< string, string > options
Optional parameters.
IList< string > column_names
List of columns on which to apply the filter.
FilterByStringRequest(string table_name, string view_name, string expression, string mode, IList< string > column_names, IDictionary< string, string > options=null)
Constructs a FilterByStringRequest object with the specified parameters.
long count
The number of records that passed the string filter.
A set of parameters for /filter/bystring.
The string filtering mode to apply.
const string SEARCH
Full text search query with wildcards and boolean operators.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
const string CONTAINS
Partial substring match (not accelerated).
string mode
The string filtering mode to apply.