GPUdb C++ API  Version 7.2.2.4
gpudb::CreateVideoRequest Struct Reference

A set of parameters for GPUdb::createVideo. More...

#include <gpudb/protocol/create_video.h>

Public Member Functions

 CreateVideoRequest ()
 Constructs a CreateVideoRequest object with default parameters. More...
 
 CreateVideoRequest (const std::string &attribute_, const std::string &begin_, const double durationSeconds_, const std::string &end_, const double framesPerSecond_, const std::string &style_, const std::string &path_, const std::string &styleParameters_, const std::map< std::string, std::string > &options_)
 Constructs a CreateVideoRequest object with the specified parameters. More...
 

Public Attributes

std::string attribute
 The animated attribute to map to the video's frames. More...
 
std::string begin
 The start point for the video. More...
 
double durationSeconds
 Seconds of video to produce. More...
 
std::string end
 The end point for the video. More...
 
double framesPerSecond
 The presentation frame rate of the encoded video in frames per second. More...
 
std::string style
 The name of the visualize mode; should correspond to the schema used for the styleParameters field. More...
 
std::string path
 Fully-qualified KiFS path. More...
 
std::string styleParameters
 A string containing the JSON-encoded visualize request. More...
 
std::map< std::string, std::string > options
 Optional parameters. More...
 

Detailed Description

A set of parameters for GPUdb::createVideo.

Creates a job to generate a sequence of raster images that visualize data over a specified time.

Definition at line 19 of file create_video.h.

Constructor & Destructor Documentation

◆ CreateVideoRequest() [1/2]

gpudb::CreateVideoRequest::CreateVideoRequest ( )
inline

Constructs a CreateVideoRequest object with default parameters.

Definition at line 24 of file create_video.h.

◆ CreateVideoRequest() [2/2]

gpudb::CreateVideoRequest::CreateVideoRequest ( const std::string &  attribute_,
const std::string &  begin_,
const double  durationSeconds_,
const std::string &  end_,
const double  framesPerSecond_,
const std::string &  style_,
const std::string &  path_,
const std::string &  styleParameters_,
const std::map< std::string, std::string > &  options_ 
)
inline

Constructs a CreateVideoRequest object with the specified parameters.

Parameters
[in]attribute_The animated attribute to map to the video's frames. Must be present in the LAYERS specified for the visualization. This is often a time-related field but may be any numeric type.
[in]begin_The start point for the video. Accepts an expression evaluable over the attribute_.
[in]durationSeconds_Seconds of video to produce
[in]end_The end point for the video. Accepts an expression evaluable over the attribute_.
[in]framesPerSecond_The presentation frame rate of the encoded video in frames per second.
[in]style_The name of the visualize mode; should correspond to the schema used for the styleParameters_ field. Supported values:
[in]path_Fully-qualified KiFS path. Write access is required. A file must not exist at that path, unless replace_if_exists is true.
[in]styleParameters_A string containing the JSON-encoded visualize request. Must correspond to the visualize mode specified in the style_ field.
[in]options_Optional parameters. The default value is an empty map.

Definition at line 140 of file create_video.h.

Member Data Documentation

◆ attribute

std::string gpudb::CreateVideoRequest::attribute

The animated attribute to map to the video's frames.

Must be present in the LAYERS specified for the visualization. This is often a time-related field but may be any numeric type.

Definition at line 158 of file create_video.h.

◆ begin

std::string gpudb::CreateVideoRequest::begin

The start point for the video.

Accepts an expression evaluable over the attribute.

Definition at line 164 of file create_video.h.

◆ durationSeconds

double gpudb::CreateVideoRequest::durationSeconds

Seconds of video to produce.

Definition at line 169 of file create_video.h.

◆ end

std::string gpudb::CreateVideoRequest::end

The end point for the video.

Accepts an expression evaluable over the attribute.

Definition at line 175 of file create_video.h.

◆ framesPerSecond

double gpudb::CreateVideoRequest::framesPerSecond

The presentation frame rate of the encoded video in frames per second.

Definition at line 181 of file create_video.h.

◆ options

std::map<std::string, std::string> gpudb::CreateVideoRequest::options

Optional parameters.

The default value is an empty map.

Definition at line 257 of file create_video.h.

◆ path

std::string gpudb::CreateVideoRequest::path

Fully-qualified KiFS path.

Write access is required. A file must not exist at that path, unless replace_if_exists is true.

Definition at line 206 of file create_video.h.

◆ style

std::string gpudb::CreateVideoRequest::style

The name of the visualize mode; should correspond to the schema used for the styleParameters field.

Supported values:

Definition at line 197 of file create_video.h.

◆ styleParameters

std::string gpudb::CreateVideoRequest::styleParameters

A string containing the JSON-encoded visualize request.

Must correspond to the visualize mode specified in the style field.

Definition at line 212 of file create_video.h.


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