Kinetica   C#   API  Version 7.2.3.0
CreateVideo.cs
Go to the documentation of this file.
1 /*
2  * This file was autogenerated by the Kinetica schema processor.
3  *
4  * DO NOT EDIT DIRECTLY.
5  */
6 
7 using System.Collections.Generic;
8 
9 namespace kinetica
10 {
17  {
23  public struct Style
24  {
25  public const string CHART = "chart";
26  public const string RASTER = "raster";
27  public const string CLASSBREAK = "classbreak";
28  public const string CONTOUR = "contour";
29  public const string HEATMAP = "heatmap";
30  public const string LABELS = "labels";
31  } // end struct Style
32 
36  public struct Options
37  {
40  public const string TTL = "ttl";
41 
52  public const string WINDOW = "window";
53 
67  public const string NO_ERROR_IF_EXISTS = "no_error_if_exists";
68 
69  public const string FALSE = "false";
70  public const string TRUE = "true";
71 
86  public const string REPLACE_IF_EXISTS = "replace_if_exists";
87  } // end struct Options
88 
94  public string attribute { get; set; }
95 
99  public string begin { get; set; }
100 
102  public double duration_seconds { get; set; }
103 
107  public string end { get; set; }
108 
111  public double frames_per_second { get; set; }
112 
137  public string style { get; set; }
138 
145  public string path { get; set; }
146 
151  public string style_parameters { get; set; }
152 
215  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
216 
219  public CreateVideoRequest() { }
220 
332  string begin,
333  double duration_seconds,
334  string end,
335  double frames_per_second,
336  string style,
337  string path,
338  string style_parameters,
339  IDictionary<string, string> options = null)
340  {
341  this.attribute = attribute ?? "";
342  this.begin = begin ?? "";
343  this.duration_seconds = duration_seconds;
344  this.end = end ?? "";
345  this.frames_per_second = frames_per_second;
346  this.style = style ?? "";
347  this.path = path ?? "";
348  this.style_parameters = style_parameters ?? "";
349  this.options = options ?? new Dictionary<string, string>();
350  } // end constructor
351  } // end class CreateVideoRequest
352 
357  {
359  public long job_id { get; set; }
360 
362  public string path { get; set; }
363 
365  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
366  } // end class CreateVideoResponse
367 } // end namespace kinetica
CreateVideoRequest()
Constructs a CreateVideoRequest object with default parameters.
Definition: CreateVideo.cs:219
IDictionary< string, string > options
Optional parameters.
Definition: CreateVideo.cs:215
string begin
The start point for the video.
Definition: CreateVideo.cs:99
A set of string constants for the parameter options.
Definition: CreateVideo.cs:36
const string WINDOW
Specified using the data-type corresponding to the attribute.
Definition: CreateVideo.cs:52
CreateVideoRequest(string attribute, string begin, double duration_seconds, string end, double frames_per_second, string style, string path, string style_parameters, IDictionary< string, string > options=null)
Constructs a CreateVideoRequest object with the specified parameters.
Definition: CreateVideo.cs:331
long job_id
An identifier for the created job.
Definition: CreateVideo.cs:359
double duration_seconds
Seconds of video to produce
Definition: CreateVideo.cs:102
A set of string constants for the parameter style.
Definition: CreateVideo.cs:23
string path
Fully qualified KIFS path to the video file.
Definition: CreateVideo.cs:362
const string REPLACE_IF_EXISTS
If TRUE, deletes any existing video with the same path before creating a new video.
Definition: CreateVideo.cs:86
string end
The end point for the video.
Definition: CreateVideo.cs:107
A set of results returned by Kinetica.createVideo.
Definition: CreateVideo.cs:356
string attribute
The animated attribute to map to the video's frames.
Definition: CreateVideo.cs:94
const string NO_ERROR_IF_EXISTS
If TRUE, does not return an error if the video already exists.
Definition: CreateVideo.cs:67
string path
Fully-qualified KiFS path.
Definition: CreateVideo.cs:145
double frames_per_second
The presentation frame rate of the encoded video in frames per second.
Definition: CreateVideo.cs:111
A set of parameters for Kinetica.createVideo.
Definition: CreateVideo.cs:16
IDictionary< string, string > info
Additional information.
Definition: CreateVideo.cs:365
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
string style_parameters
A string containing the JSON-encoded visualize request.
Definition: CreateVideo.cs:151
const string TTL
Sets the TTL of the video.
Definition: CreateVideo.cs:40
string style
The name of the visualize mode; should correspond to the schema used for the style_parameters field.
Definition: CreateVideo.cs:137