Package com.gpudb.protocol
Class ShowVideoResponse
- java.lang.Object
-
- com.gpudb.protocol.ShowVideoResponse
-
- All Implemented Interfaces:
org.apache.avro.generic.GenericContainer,org.apache.avro.generic.IndexedRecord
public class ShowVideoResponse extends Object implements org.apache.avro.generic.IndexedRecord
A set of results returned byGPUdb.showVideo.
-
-
Constructor Summary
Constructors Constructor Description ShowVideoResponse()Constructs a ShowVideoResponse object with default parameters.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Objectget(int index)This method supports the Avro framework and is not intended to be called directly by the user.static org.apache.avro.SchemagetClassSchema()This method supports the Avro framework and is not intended to be called directly by the user.List<String>getCreationTimes()Creation time for each video as an ISO-8601 datetime.List<Long>getElapsedRenderTimeSeconds()The elapsed time spent rendering each video in seconds.Map<String,String>getInfo()Additional information.List<Long>getJobIds()The job id of the rendering process, for each video that is still being rendered.List<String>getPaths()KIFS path to each video.List<Long>getRenderedBytes()The number of bytes emitted by the encoder for each video.List<Long>getRenderedFrames()The number of frames rendered for each video.List<Long>getRenderedPercents()Percent completion of each video's rendering process (0-100)List<String>getRequests()JSON-string reflecting each video's creation parameters.org.apache.avro.SchemagetSchema()This method supports the Avro framework and is not intended to be called directly by the user.List<String>getStatus()The status of the last rendered frame for each video.List<Long>getTtls()The remaining TTL, in minutes, before the respective video expires (-1 if it will never expire).inthashCode()voidput(int index, Object value)This method supports the Avro framework and is not intended to be called directly by the user.ShowVideoResponsesetCreationTimes(List<String> creationTimes)Creation time for each video as an ISO-8601 datetime.ShowVideoResponsesetElapsedRenderTimeSeconds(List<Long> elapsedRenderTimeSeconds)The elapsed time spent rendering each video in seconds.ShowVideoResponsesetInfo(Map<String,String> info)Additional information.ShowVideoResponsesetJobIds(List<Long> jobIds)The job id of the rendering process, for each video that is still being rendered.ShowVideoResponsesetPaths(List<String> paths)KIFS path to each video.ShowVideoResponsesetRenderedBytes(List<Long> renderedBytes)The number of bytes emitted by the encoder for each video.ShowVideoResponsesetRenderedFrames(List<Long> renderedFrames)The number of frames rendered for each video.ShowVideoResponsesetRenderedPercents(List<Long> renderedPercents)Percent completion of each video's rendering process (0-100)ShowVideoResponsesetRequests(List<String> requests)JSON-string reflecting each video's creation parameters.ShowVideoResponsesetStatus(List<String> status)The status of the last rendered frame for each video.ShowVideoResponsesetTtls(List<Long> ttls)The remaining TTL, in minutes, before the respective video expires (-1 if it will never expire).StringtoString()
-
-
-
Method Detail
-
getClassSchema
public static org.apache.avro.Schema getClassSchema()
This method supports the Avro framework and is not intended to be called directly by the user.- Returns:
- The schema for the class.
-
getCreationTimes
public List<String> getCreationTimes()
Creation time for each video as an ISO-8601 datetime.- Returns:
- The current value of
creationTimes.
-
setCreationTimes
public ShowVideoResponse setCreationTimes(List<String> creationTimes)
Creation time for each video as an ISO-8601 datetime.- Parameters:
creationTimes- The new value forcreationTimes.- Returns:
thisto mimic the builder pattern.
-
getElapsedRenderTimeSeconds
public List<Long> getElapsedRenderTimeSeconds()
The elapsed time spent rendering each video in seconds.- Returns:
- The current value of
elapsedRenderTimeSeconds.
-
setElapsedRenderTimeSeconds
public ShowVideoResponse setElapsedRenderTimeSeconds(List<Long> elapsedRenderTimeSeconds)
The elapsed time spent rendering each video in seconds.- Parameters:
elapsedRenderTimeSeconds- The new value forelapsedRenderTimeSeconds.- Returns:
thisto mimic the builder pattern.
-
getJobIds
public List<Long> getJobIds()
The job id of the rendering process, for each video that is still being rendered.- Returns:
- The current value of
jobIds.
-
setJobIds
public ShowVideoResponse setJobIds(List<Long> jobIds)
The job id of the rendering process, for each video that is still being rendered.- Parameters:
jobIds- The new value forjobIds.- Returns:
thisto mimic the builder pattern.
-
getPaths
public List<String> getPaths()
KIFS path to each video.- Returns:
- The current value of
paths.
-
setPaths
public ShowVideoResponse setPaths(List<String> paths)
KIFS path to each video.- Parameters:
paths- The new value forpaths.- Returns:
thisto mimic the builder pattern.
-
getRenderedBytes
public List<Long> getRenderedBytes()
The number of bytes emitted by the encoder for each video.- Returns:
- The current value of
renderedBytes.
-
setRenderedBytes
public ShowVideoResponse setRenderedBytes(List<Long> renderedBytes)
The number of bytes emitted by the encoder for each video.- Parameters:
renderedBytes- The new value forrenderedBytes.- Returns:
thisto mimic the builder pattern.
-
getRenderedFrames
public List<Long> getRenderedFrames()
The number of frames rendered for each video.- Returns:
- The current value of
renderedFrames.
-
setRenderedFrames
public ShowVideoResponse setRenderedFrames(List<Long> renderedFrames)
The number of frames rendered for each video.- Parameters:
renderedFrames- The new value forrenderedFrames.- Returns:
thisto mimic the builder pattern.
-
getRenderedPercents
public List<Long> getRenderedPercents()
Percent completion of each video's rendering process (0-100)- Returns:
- The current value of
renderedPercents.
-
setRenderedPercents
public ShowVideoResponse setRenderedPercents(List<Long> renderedPercents)
Percent completion of each video's rendering process (0-100)- Parameters:
renderedPercents- The new value forrenderedPercents.- Returns:
thisto mimic the builder pattern.
-
getRequests
public List<String> getRequests()
JSON-string reflecting each video's creation parameters.- Returns:
- The current value of
requests.
-
setRequests
public ShowVideoResponse setRequests(List<String> requests)
JSON-string reflecting each video's creation parameters.- Parameters:
requests- The new value forrequests.- Returns:
thisto mimic the builder pattern.
-
getStatus
public List<String> getStatus()
The status of the last rendered frame for each video. Either OK or Error with a message indicating the nature of the error.- Returns:
- The current value of
status.
-
setStatus
public ShowVideoResponse setStatus(List<String> status)
The status of the last rendered frame for each video. Either OK or Error with a message indicating the nature of the error.- Parameters:
status- The new value forstatus.- Returns:
thisto mimic the builder pattern.
-
getTtls
public List<Long> getTtls()
The remaining TTL, in minutes, before the respective video expires (-1 if it will never expire).- Returns:
- The current value of
ttls.
-
setTtls
public ShowVideoResponse setTtls(List<Long> ttls)
The remaining TTL, in minutes, before the respective video expires (-1 if it will never expire).- Parameters:
ttls- The new value forttls.- Returns:
thisto mimic the builder pattern.
-
getInfo
public Map<String,String> getInfo()
Additional information.- Returns:
- The current value of
info.
-
setInfo
public ShowVideoResponse setInfo(Map<String,String> info)
Additional information.- Parameters:
info- The new value forinfo.- Returns:
thisto mimic the builder pattern.
-
getSchema
public org.apache.avro.Schema getSchema()
This method supports the Avro framework and is not intended to be called directly by the user.- Specified by:
getSchemain interfaceorg.apache.avro.generic.GenericContainer- Returns:
- The schema object describing this class.
-
get
public Object get(int index)
This method supports the Avro framework and is not intended to be called directly by the user.- Specified by:
getin interfaceorg.apache.avro.generic.IndexedRecord- Parameters:
index- the position of the field to get- Returns:
- value of the field with the given index.
- Throws:
IndexOutOfBoundsException
-
put
public void put(int index, Object value)This method supports the Avro framework and is not intended to be called directly by the user.- Specified by:
putin interfaceorg.apache.avro.generic.IndexedRecord- Parameters:
index- the position of the field to setvalue- the value to set- Throws:
IndexOutOfBoundsException
-
-