Kinetica C# API  Version 6.2.0.1
kinetica.GetJobResponse Class Reference

A set of results returned by Kinetica.getJob(int,IDictionary<string, string>). More...

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

Classes

struct  JobStatus
 Status of the submitted job. More...
 
struct  ResponseEncoding
 The encoding of the job result (contained in <member name="job_response"> or <member name="job_response_str">. More...
 
struct  StatusMap
 Map of various status strings for the executed job. More...
 

Properties

string endpoint [get, set]
 The endpoint which is being executed asynchronously. More...
 
string job_status [get, set]
 Status of the submitted job. More...
 
bool running [get, set]
 True if the end point is still executing. More...
 
int progress [get, set]
 Approximate percentage of the job completed. More...
 
bool successful [get, set]
 True if the job execution completed and no errors were encountered. More...
 
string response_encoding [get, set]
 The encoding of the job result (contained in <member name="job_response"> or <member name="job_response_str">. More...
 
byte [] job_response [get, set]
 The binary-encoded response of the job. More...
 
string job_response_str [get, set]
 The json-encoded response of the job. More...
 
IDictionary< string, string > status_map [get, set]
 Map of various status strings for the executed job. More...
 
- Properties inherited from kinetica.KineticaData
Schema Schema [get]
 Avro Schema for this class More...
 

Additional Inherited Members

- 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...
 
- 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 results returned by Kinetica.getJob(int,IDictionary<string, string>).

Definition at line 55 of file GetJob.cs.

Property Documentation

◆ endpoint

string kinetica.GetJobResponse.endpoint
getset

The endpoint which is being executed asynchronously.

E.g. '/alter/table'.

Definition at line 168 of file GetJob.cs.

◆ job_response

byte [] kinetica.GetJobResponse.job_response
getset

The binary-encoded response of the job.

This field is populated only when the job has completed and <member name="response_encoding"> is binary

Definition at line 233 of file GetJob.cs.

◆ job_response_str

string kinetica.GetJobResponse.job_response_str
getset

The json-encoded response of the job.

This field is populated only when the job has completed and <member name="response_encoding"> is json

Definition at line 238 of file GetJob.cs.

◆ job_status

string kinetica.GetJobResponse.job_status
getset

Status of the submitted job.

Supported values:

  • RUNNING: The job is currently executing.
  • DONE: The job execution has successfully completed and the response is included in the <member name="job_response"> or <member name="job_response_str"> field
  • ERROR: The job was attempted, but an error was encountered. The <member name="status_map"> contains the details of the error in error_message
  • CANCELLED: Job cancellation was requested while the execution was in progress.

Definition at line 199 of file GetJob.cs.

◆ progress

int kinetica.GetJobResponse.progress
getset

Approximate percentage of the job completed.

Definition at line 205 of file GetJob.cs.

◆ response_encoding

string kinetica.GetJobResponse.response_encoding
getset

The encoding of the job result (contained in <member name="job_response"> or <member name="job_response_str">.

Supported values:

  • BINARY: The job result is binary-encoded. It is contained in <member name="job_response">.
  • JSON: The job result is json-encoded. It is contained in <member name="job_response_str">.

Definition at line 228 of file GetJob.cs.

◆ running

bool kinetica.GetJobResponse.running
getset

True if the end point is still executing.

Definition at line 202 of file GetJob.cs.

◆ status_map

IDictionary<string, string> kinetica.GetJobResponse.status_map
getset

Map of various status strings for the executed job.

  • ERROR_MESSAGE: Explains what error occurred while running the job asynchronously. This entry only exists when the job status is ERROR.

Definition at line 251 of file GetJob.cs.

◆ successful

bool kinetica.GetJobResponse.successful
getset

True if the job execution completed and no errors were encountered.

Definition at line 209 of file GetJob.cs.


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