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

A set of results returned by Kinetica.getJob(long,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...
 
IDictionary< string, string > info = new Dictionary<string, string>() [get, set]
 Additional information. 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(long,IDictionary{string, string}).

Definition at line 59 of file GetJob.cs.

Property Documentation

string kinetica.GetJobResponse.endpoint
getset

The endpoint which is being executed asynchronously.

E.g. '/alter/table'.

Definition at line 172 of file GetJob.cs.

IDictionary<string, string> kinetica.GetJobResponse.info = new Dictionary<string, string>()
getset

Additional information.

Definition at line 258 of file GetJob.cs.

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 237 of file GetJob.cs.

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 242 of file GetJob.cs.

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 203 of file GetJob.cs.

int kinetica.GetJobResponse.progress
getset

Approximate percentage of the job completed.

Definition at line 209 of file GetJob.cs.

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 232 of file GetJob.cs.

bool kinetica.GetJobResponse.running
getset

True if the end point is still executing.

Definition at line 206 of file GetJob.cs.

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 255 of file GetJob.cs.

bool kinetica.GetJobResponse.successful
getset

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

Definition at line 213 of file GetJob.cs.


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