Kinetica C# API  Version 6.1.0.0
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 
123  public struct Options
124  {
125 
141  public const string CASE_SENSITIVE = "case_sensitive";
142  public const string TRUE = "true";
143  public const string FALSE = "false";
144  } // end struct Options
145 
146 
150  public string table_name { get; set; }
151 
156  public string view_name { get; set; } = "";
157 
159  public string expression { get; set; }
160 
201  public string mode { get; set; }
202 
205  public IList<string> column_names { get; set; } = new List<string>();
206 
230  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
231 
232 
236 
317  string view_name,
318  string expression,
319  string mode,
320  IList<string> column_names,
321  IDictionary<string, string> options = null)
322  {
323  this.table_name = table_name ?? "";
324  this.view_name = view_name ?? "";
325  this.expression = expression ?? "";
326  this.mode = mode ?? "";
327  this.column_names = column_names ?? new List<string>();
328  this.options = options ?? new Dictionary<string, string>();
329  } // end constructor
330 
331  } // end class FilterByStringRequest
332 
333 
334 
339  {
340 
343  public long count { get; set; }
344 
345  } // end class FilterByStringResponse
346 
347 
348 
349 
350 } // 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.
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 Kinetica.filterByString(string,string,string,string,IList<string>,IDictionary<string, string>).
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.
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.