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

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

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

Classes

struct  Options
 Optional parameters. More...
 

Public Member Functions

 FilterRequest ()
 Constructs a FilterRequest object with default parameters. More...
 
 FilterRequest (string table_name, string view_name, string expression, IDictionary< string, string > options=null)
 Constructs a FilterRequest 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...
 
string expression = "" [get, set]
 The select expression to filter the specified table. More...
 
IDictionary< string, string > options [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.


Filters data based on the specified expression. The results are stored in a result set with the given <member name="view_name">.
For details see concepts.
The response message contains the number of points for which the expression evaluated to be true, which is equivalent to the size of the result view.

Definition at line 25 of file Filter.cs.

Constructor & Destructor Documentation

kinetica.FilterRequest.FilterRequest ( )
inline

Constructs a FilterRequest object with default parameters.

Definition at line 105 of file Filter.cs.

kinetica.FilterRequest.FilterRequest ( string  table_name,
string  view_name,
string  expression,
IDictionary< string, string >  options = null 
)
inline

Constructs a FilterRequest 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.
expressionThe select expression to filter the specified table. For details see concepts.
optionsOptional parameters.
  • collection_name Name of a collection which is to contain the newly created view, otherwise the view will be a top-level table. If the collection does not allow duplicate types and it contains a table of the same type as the given one, then this table creation request will fail.
  • ttl Sets the TTL of the view specified in . The value must be the desired TTL in minutes.

Definition at line 141 of file Filter.cs.

Property Documentation

string kinetica.FilterRequest.expression = ""
getset

The select expression to filter the specified table.

For details see concepts.

Definition at line 80 of file Filter.cs.

IDictionary<string, string> kinetica.FilterRequest.options
getset

Optional parameters.

  • collection_name Name of a collection which is to contain the newly created view, otherwise the view will be a top-level table. If the collection does not allow duplicate types and it contains a table of the same type as the given one, then this table creation request will fail.
  • ttl Sets the TTL of the view specified in . The value must be the desired TTL in minutes.

Definition at line 100 of file Filter.cs.

string kinetica.FilterRequest.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 Filter.cs.

string kinetica.FilterRequest.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 Filter.cs.


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