Kinetica C# API  Version 7.0.19.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 
25  {
26 
69  public struct Mode
70  {
71 
76  public const string SEARCH = "search";
77 
79  public const string EQUALS = "equals";
80 
84  public const string CONTAINS = "contains";
85 
89  public const string STARTS_WITH = "starts_with";
90 
94  public const string REGEX = "regex";
95  } // end struct Mode
96 
97 
131  public struct Options
132  {
133 
138  public const string COLLECTION_NAME = "collection_name";
139 
155  public const string CASE_SENSITIVE = "case_sensitive";
156  public const string TRUE = "true";
157  public const string FALSE = "false";
158  } // end struct Options
159 
160 
164  public string table_name { get; set; }
165 
170  public string view_name { get; set; } = "";
171 
173  public string expression { get; set; }
174 
215  public string mode { get; set; }
216 
219  public IList<string> column_names { get; set; } = new List<string>();
220 
252  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
253 
254 
258 
347  string view_name,
348  string expression,
349  string mode,
350  IList<string> column_names,
351  IDictionary<string, string> options = null)
352  {
353  this.table_name = table_name ?? "";
354  this.view_name = view_name ?? "";
355  this.expression = expression ?? "";
356  this.mode = mode ?? "";
357  this.column_names = column_names ?? new List<string>();
358  this.options = options ?? new Dictionary<string, string>();
359  } // end constructor
360 
361  } // end class FilterByStringRequest
362 
363 
364 
369  {
370 
373  public long count { get; set; }
374 
376  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
377 
378  } // end class FilterByStringResponse
379 
380 
381 
382 
383 } // 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).
IDictionary< string, string > info
Additional information.
const string REGEX
Full regular expression search (not accelerated).
A set of results returned by Kinetica.filterByString(string,string,string,string,IList{string},IDictionary{string, string}).
IDictionary< string, string > options
Optional parameters.
const string COLLECTION_NAME
Name of a collection which is to contain the newly created view.
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 Kinetica.filterByString(string,string,string,string,IList{string},IDictionary{string, string}).
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.