Kinetica C# API
Version 6.0.1.0
|
A set of parameters for /filter/bylist. More...
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... | |
![]() | |
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... | |
![]() | |
Schema | Schema [get] |
Avro Schema for this class More... | |
Additional Inherited Members | |
![]() | |
static RecordSchema | SchemaFromType (System.Type t, KineticaType ktype=null) |
Create an Avro Schema from a System.Type and a KineticaType. More... | |
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.
|
inline |
Constructs a FilterByListRequest object with default parameters.
Definition at line 96 of file FilterByList.cs.
|
inline |
Constructs a FilterByListRequest object with the specified parameters.
table_name | 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. |
view_name | If provided, then this will be the name of the view containing the results. Has the same naming restrictions as tables. |
column_values_map | List of values for the corresponding column in the table |
options | Optional parameters.
|
Definition at line 122 of file FilterByList.cs.
|
getset |
List of values for the corresponding column in the table
Definition at line 79 of file FilterByList.cs.
|
getset |
Optional parameters.
Definition at line 91 of file FilterByList.cs.
|
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.
|
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.