Kinetica C# API  Version 6.0.1.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
kinetica.FilterByStringRequest Class Reference

A set of parameters for /filter/bystring. 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 /filter/bystring.


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 22 of file FilterByString.cs.

Constructor & Destructor Documentation

kinetica.FilterByStringRequest.FilterByStringRequest ( )
inline

Constructs a FilterByStringRequest object with default parameters.

Definition at line 121 of file FilterByString.cs.

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.
expressionThe expression with which to filter the table.
modeThe string filtering mode to apply. See below for details. Values: search, equals, contains, starts_with, regex.
column_namesList of columns on which to apply the filter. Ignored for 'search' mode.
optionsOptional parameters.
  • case_sensitive If 'false' then string filtering will ignore case. Does not apply to 'search' mode. Values: true, false.

Definition at line 151 of file FilterByString.cs.

Property Documentation

IList<string> kinetica.FilterByStringRequest.column_names
getset

List of columns on which to apply the filter.

Ignored for 'search' mode.

Definition at line 104 of file FilterByString.cs.

string kinetica.FilterByStringRequest.expression = ""
getset

The expression with which to filter the table.

Definition at line 95 of file FilterByString.cs.

string kinetica.FilterByStringRequest.mode
getset

The string filtering mode to apply.

See below for details. Values: search, equals, contains, starts_with, regex.

Definition at line 100 of file FilterByString.cs.

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

Optional parameters.

  • case_sensitive If 'false' then string filtering will ignore case. Does not apply to 'search' mode. Values: true, false.

Definition at line 116 of file FilterByString.cs.

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 86 of file FilterByString.cs.

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.

Definition at line 92 of file FilterByString.cs.


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