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

A set of parameters for /delete/records. More...

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

Classes

struct  Options
 Optional parameters. More...
 

Public Member Functions

 DeleteRecordsRequest ()
 Constructs a DeleteRecordsRequest object with default parameters. More...
 
 DeleteRecordsRequest (string table_name, IList< string > expressions, IDictionary< string, string > options=null)
 Constructs a DeleteRecordsRequest 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 from which to delete records. More...
 
IList< string > expressions [get, set]
 A list of the actual predicates, one for each select; format should follow the guidelines provided /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 /delete/records.


Deletes record(s) matching the provided criteria from the given table. The record selection criteria can either be one or more <member name="expressions"> (matching multiple records) or a single record identified by record_id options. Note that the two selection criteria are mutually exclusive. This operation cannot be run on a collection or a view. The operation is synchronous meaning that a response will not be available until the request is completely processed and all the matching records are deleted.

Definition at line 24 of file DeleteRecords.cs.

Constructor & Destructor Documentation

kinetica.DeleteRecordsRequest.DeleteRecordsRequest ( )
inline

Constructs a DeleteRecordsRequest object with default parameters.

Definition at line 95 of file DeleteRecords.cs.

kinetica.DeleteRecordsRequest.DeleteRecordsRequest ( string  table_name,
IList< string >  expressions,
IDictionary< string, string >  options = null 
)
inline

Constructs a DeleteRecordsRequest object with the specified parameters.

Parameters
table_nameName of the table from which to delete records. The set must be a currently existing table and not a collection or a view.
expressionsA list of the actual predicates, one for each select; format should follow the guidelines provided /filter. Specifying one or more is mutually exclusive to specifying record_id in the .
optionsOptional parameters.
  • global_expression An optional global expression to reduce the search space of the .
  • record_id A record id identifying a single record, obtained at the time of /insert/records or by calling /get/records/fromcollection with the return_record_ids option.

Definition at line 127 of file DeleteRecords.cs.

Property Documentation

IList<string> kinetica.DeleteRecordsRequest.expressions
getset

A list of the actual predicates, one for each select; format should follow the guidelines provided /filter.

Specifying one or more is mutually exclusive to specifying record_id in the .

Definition at line 71 of file DeleteRecords.cs.

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

Optional parameters.

  • global_expression An optional global expression to reduce the search space of the .
  • record_id A record id identifying a single record, obtained at the time of /insert/records or by calling /get/records/fromcollection with the return_record_ids option.

Definition at line 90 of file DeleteRecords.cs.

string kinetica.DeleteRecordsRequest.table_name
getset

Name of the table from which to delete records.

The set must be a currently existing table and not a collection or a view.

Definition at line 64 of file DeleteRecords.cs.


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