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

A set of parameters for /filter/bylist. More...

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

Classes

struct  Options
 Optional parameters. More...
 

Public Member Functions

 FilterByListRequest ()
 Constructs a FilterByListRequest object with default parameters. More...
 
 FilterByListRequest (string table_name, string view_name, IDictionary< string, IList< string >> column_values_map, IDictionary< string, string > options=null)
 Constructs a FilterByListRequest 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 to filter. More...
 
string view_name [get, set]
 If provided, then this will be the name of the view containing the results. More...
 
IDictionary< string, IList
< string > > 
column_values_map = "" [get, set]
 List of values for the corresponding column in the table More...
 
IDictionary< string, string > options = new Dictionary<string, IList<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/bylist.


Calculates which records from a table have values in the given list for the corresponding column. The operation is synchronous, meaning that a response will not be returned until all the objects are fully available. The response payload provides the count of the resulting set. A new resultant set (view) which satisfies the input filter specification is also created if a <member name="view_name"> is passed in as part of the request.
For example, if a type definition has the columns 'x' and 'y', then a filter by list query with the column map {"x":["10.1", "2.3"], "y":["0.0", "-31.5", "42.0"]} will return the count of all data points whose x and y values match both in the respective x- and y-lists, e.g., "x = 10.1 and y = 0.0", "x = 2.3 and y = -31.5", etc. However, a record with "x = 10.1 and y = -31.5" or "x = 2.3 and y = 0.0" would not be returned because the values in the given lists do not correspond.

Definition at line 32 of file FilterByList.cs.

Constructor & Destructor Documentation

kinetica.FilterByListRequest.FilterByListRequest ( )
inline

Constructs a FilterByListRequest object with default parameters.

Definition at line 96 of file FilterByList.cs.

kinetica.FilterByListRequest.FilterByListRequest ( string  table_name,
string  view_name,
IDictionary< string, IList< string >>  column_values_map,
IDictionary< string, string >  options = null 
)
inline

Constructs a FilterByListRequest object with the specified parameters.

Parameters
table_nameName of the table to filter. This may be the ID of a collection, table or a result set (for chaining queries). Collections may be filtered only if all tables within the collection have the same type ID.
view_nameIf provided, then this will be the name of the view containing the results. Has the same naming restrictions as tables.
column_values_mapList of values for the corresponding column in the table
optionsOptional parameters.
  • filter_mode String indicating the filter mode, either 'in_list' or 'not_in_list'. Values: in_list, not_in_list.

Definition at line 122 of file FilterByList.cs.

Property Documentation

IDictionary<string, IList<string> > kinetica.FilterByListRequest.column_values_map = ""
getset

List of values for the corresponding column in the table

Definition at line 79 of file FilterByList.cs.

IDictionary<string, string> kinetica.FilterByListRequest.options = new Dictionary<string, IList<string>>()
getset

Optional parameters.

  • filter_mode String indicating the filter mode, either 'in_list' or 'not_in_list'. Values: in_list, not_in_list.

Definition at line 91 of file FilterByList.cs.

string kinetica.FilterByListRequest.table_name
getset

Name of the table to filter.

This may be the ID of a collection, table or a result set (for chaining queries). Collections may be filtered only if all tables within the collection have the same type ID.

Definition at line 69 of file FilterByList.cs.

string kinetica.FilterByListRequest.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 75 of file FilterByList.cs.


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