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.IndexedRecordA set of results returned by
GPUdb.showVideo.Constructor Summary
ConstructorsConstructorDescriptionConstructs a ShowVideoResponse object with default parameters.Method Summary
Modifier and TypeMethodDescriptionbooleanget(int index) This method supports the Avro framework and is not intended to be called directly by the user.static org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.Creation time for each video as an ISO-8601 datetime.The elapsed time spent rendering each video in seconds.getInfo()Additional information.The job id of the rendering process, for each video that is still being rendered.getPaths()KIFS path to each video.The number of bytes emitted by the encoder for each video.The number of frames rendered for each video.Percent completion of each video’s rendering process (0-100).JSON-string reflecting each video’s creation parameters.org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.The status of the last rendered frame for each video.getTtls()The remaining TTL, in minutes, before the respective video expires (-1 if it will never expire).inthashCode()voidThis method supports the Avro framework and is not intended to be called directly by the user.setCreationTimes(List<String> creationTimes) Creation time for each video as an ISO-8601 datetime.setElapsedRenderTimeSeconds(List<Long> elapsedRenderTimeSeconds) The elapsed time spent rendering each video in seconds.Additional information.The job id of the rendering process, for each video that is still being rendered.KIFS path to each video.setRenderedBytes(List<Long> renderedBytes) The number of bytes emitted by the encoder for each video.setRenderedFrames(List<Long> renderedFrames) The number of frames rendered for each video.setRenderedPercents(List<Long> renderedPercents) Percent completion of each video’s rendering process (0-100).setRequests(List<String> requests) JSON-string reflecting each video’s creation parameters.The status of the last rendered frame for each video.The remaining TTL, in minutes, before the respective video expires (-1 if it will never expire).toString()
Method Details
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.setCreationTimes
Creation time for each video as an ISO-8601 datetime.Parameters:creationTimes- The new value forcreationTimes.Returns:thisto mimic the builder pattern.setElapsedRenderTimeSeconds
The elapsed time spent rendering each video in seconds.Parameters:elapsedRenderTimeSeconds- The new value forelapsedRenderTimeSeconds.Returns:thisto mimic the builder pattern.setJobIds
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.setPaths
KIFS path to each video.Parameters:paths- The new value forpaths.Returns:thisto mimic the builder pattern.setRenderedBytes
The number of bytes emitted by the encoder for each video.Parameters:renderedBytes- The new value forrenderedBytes.Returns:thisto mimic the builder pattern.setRenderedFrames
The number of frames rendered for each video.Parameters:renderedFrames- The new value forrenderedFrames.Returns:thisto mimic the builder pattern.setRenderedPercents
Percent completion of each video’s rendering process (0-100).Parameters:renderedPercents- The new value forrenderedPercents.Returns:thisto mimic the builder pattern.setRequests
JSON-string reflecting each video’s creation parameters.Parameters:requests- The new value forrequests.Returns:thisto mimic the builder pattern.setStatus
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.setTtls
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.setInfo
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.GenericContainerReturns:The schema object describing this class.get
This method supports the Avro framework and is not intended to be called directly by the user.Specified by:getin interfaceorg.apache.avro.generic.IndexedRecordParameters:index- the position of the field to getReturns:value of the field with the given index.Throws:put
This method supports the Avro framework and is not intended to be called directly by the user.Specified by:putin interfaceorg.apache.avro.generic.IndexedRecordParameters:index- the position of the field to setvalue- the value to setThrows: