7 using System.Collections.Generic;
48 public const string BINARY =
"binary";
49 public const string JSON =
"json";
50 public const string SNAPPY =
"snappy";
87 public byte[]
data {
get;
set; }
100 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
155 IDictionary<string, string>
options = null)
157 this.endpoint = endpoint ??
"";
159 this.data = data ??
new byte[] { };
160 this.data_str = data_str ??
"";
176 public int job_id {
get;
set; }
string data_str
JSON-encoded payload for the job to be run asynchronously.
byte [] data
Binary-encoded payload for the job to be run asynchronously.
The encoding of the request payload for the job.
CreateJobRequest(string endpoint, string request_encoding, byte[] data, string data_str, IDictionary< string, string > options=null)
Constructs a CreateJobRequest object with the specified parameters.
IDictionary< string, string > options
Optional parameters.
A set of results returned by Kinetica.createJob(string,string,byte[],string,IDictionary<string, string>).
string endpoint
Indicates which endpoint to execute, e.g.
string request_encoding
The encoding of the request payload for the job.
A set of parameters for Kinetica.createJob(string,string,byte[],string,IDictionary<string, string>).
KineticaData - class to help with Avro Encoding for Kinetica
CreateJobRequest()
Constructs a CreateJobRequest object with default parameters.