Kinetica C# API  Version 6.2.0.1
kinetica.FilterByStringRequest Class Reference

A set of parameters for Kinetica.filterByString(string,string,string,string,IList<string>,IDictionary<string, string>). More...

+ Inheritance diagram for kinetica.FilterByStringRequest:
+ Collaboration diagram for kinetica.FilterByStringRequest:

Classes

struct  Mode
 The string filtering mode to apply. More...
 
struct  Options
 Optional parameters. More...
 

Public Member Functions

 FilterByStringRequest ()
 Constructs a FilterByStringRequest object with default parameters. More...
 
 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. More...
 
- Public Member Functions inherited from kinetica.KineticaData
 KineticaData (KineticaType type)
 Constructor from Kinetica Type More...
 
 KineticaData (System.Type type=null)
 Default constructor, with optional System.Type More...
 
object Get (int fieldPos)
 Retrieve a specific property from this object More...
 
void Put (int fieldPos, object fieldValue)
 Write a specific property to this object More...
 

Properties

string table_name [get, set]
 Name of the table on which the filter operation will be performed. More...
 
string view_name [get, set]
 If provided, then this will be the name of the view containing the results. More...
 
string expression = "" [get, set]
 The expression with which to filter the table. More...
 
string mode [get, set]
 The string filtering mode to apply. More...
 
IList< string > column_names [get, set]
 List of columns on which to apply the filter. More...
 
IDictionary< string, string > options = new List<string>() [get, set]
 Optional parameters. More...
 
- Properties inherited from kinetica.KineticaData
Schema Schema [get]
 Avro Schema for this class More...
 

Additional Inherited Members

- Static Public Member Functions inherited from kinetica.KineticaData
static RecordSchema SchemaFromType (System.Type t, KineticaType ktype=null)
 Create an Avro Schema from a System.Type and a KineticaType. More...
 

Detailed Description

A set of parameters for Kinetica.filterByString(string,string,string,string,IList<string>,IDictionary<string, string>).


Calculates which objects from a table, collection, or view match a string expression for the given string columns. The options 'case_sensitive' can be used to modify the behavior for all modes except 'search'. For 'search' mode details and limitations, see Full Text Search.

Definition at line 24 of file FilterByString.cs.

Constructor & Destructor Documentation

◆ FilterByStringRequest() [1/2]

kinetica.FilterByStringRequest.FilterByStringRequest ( )
inline

Constructs a FilterByStringRequest object with default parameters.

Definition at line 257 of file FilterByString.cs.

◆ FilterByStringRequest() [2/2]

kinetica.FilterByStringRequest.FilterByStringRequest ( string  table_name,
string  view_name,
string  expression,
string  mode,
IList< string >  column_names,
IDictionary< string, string >  options = null 
)
inline

Constructs a FilterByStringRequest object with the specified parameters.

Parameters
table_nameName of the table on which the filter operation will be performed. Must be an existing table, collection or view.
view_nameIf provided, then this will be the name of the view containing the results. Has the same naming restrictions as tables. The default value is ''.
expressionThe expression with which to filter the table.
modeThe string filtering mode to apply. See below for details. Supported values:
  • SEARCH: Full text search query with wildcards and boolean operators. Note that for this mode, no column can be specified in ; all string columns of the table that have text search enabled will be searched.
  • EQUALS: Exact whole-string match (accelerated).
  • CONTAINS: Partial substring match (not accelerated). If the column is a string type (non-charN) and the number of records is too large, it will return 0.
  • STARTS_WITH: Strings that start with the given expression (not accelerated). If the column is a string type (non-charN) and the number of records is too large, it will return 0.
  • REGEX: Full regular expression search (not accelerated). If the column is a string type (non-charN) and the number of records is too large, it will return 0.
column_namesList of columns on which to apply the filter. Ignored for 'search' mode.
optionsOptional parameters.
  • COLLECTION_NAME: Name of a collection which is to contain the newly created view. If the collection provided is non-existent, the collection will be automatically created. If empty, then the newly created view will be top-level.
  • CASE_SENSITIVE: If 'false' then string filtering will ignore case. Does not apply to 'search' mode. Supported values: The default value is TRUE.
The default value is an empty Dictionary.

Definition at line 346 of file FilterByString.cs.

Property Documentation

◆ column_names

IList<string> kinetica.FilterByStringRequest.column_names
getset

List of columns on which to apply the filter.

Ignored for 'search' mode.

Definition at line 219 of file FilterByString.cs.

◆ expression

string kinetica.FilterByStringRequest.expression = ""
getset

The expression with which to filter the table.

Definition at line 173 of file FilterByString.cs.

◆ mode

string kinetica.FilterByStringRequest.mode
getset

The string filtering mode to apply.

See below for details. Supported values:

  • SEARCH: Full text search query with wildcards and boolean operators. Note that for this mode, no column can be specified in ; all string columns of the table that have text search enabled will be searched.
  • EQUALS: Exact whole-string match (accelerated).
  • CONTAINS: Partial substring match (not accelerated). If the column is a string type (non-charN) and the number of records is too large, it will return 0.
  • STARTS_WITH: Strings that start with the given expression (not accelerated). If the column is a string type (non-charN) and the number of records is too large, it will return 0.
  • REGEX: Full regular expression search (not accelerated). If the column is a string type (non-charN) and the number of records is too large, it will return 0.

Definition at line 215 of file FilterByString.cs.

◆ options

IDictionary<string, string> kinetica.FilterByStringRequest.options = new List<string>()
getset

Optional parameters.

  • COLLECTION_NAME: Name of a collection which is to contain the newly created view. If the collection provided is non-existent, the collection will be automatically created. If empty, then the newly created view will be top-level.
  • CASE_SENSITIVE: If 'false' then string filtering will ignore case. Does not apply to 'search' mode. Supported values: The default value is TRUE.

The default value is an empty Dictionary.

Definition at line 252 of file FilterByString.cs.

◆ table_name

string kinetica.FilterByStringRequest.table_name
getset

Name of the table on which the filter operation will be performed.

Must be an existing table, collection or view.

Definition at line 164 of file FilterByString.cs.

◆ view_name

string kinetica.FilterByStringRequest.view_name
getset

If provided, then this will be the name of the view containing the results.

Has the same naming restrictions as tables. The default value is ''.

Definition at line 170 of file FilterByString.cs.


The documentation for this class was generated from the following file: