Class TRenderResult

    • Field Detail

      • execution_time_ms

        public long execution_time_ms
      • render_time_ms

        public long render_time_ms
      • total_time_ms

        public long total_time_ms
      • vega_metadata

        public String vega_metadata
    • Constructor Detail

      • TRenderResult

        public TRenderResult()
      • TRenderResult

        public TRenderResult​(ByteBuffer image,
                             String nonce,
                             long execution_time_ms,
                             long render_time_ms,
                             long total_time_ms,
                             String vega_metadata)
      • TRenderResult

        public TRenderResult​(TRenderResult other)
        Performs a deep copy on other.
    • Method Detail

      • getImage

        public byte[] getImage()
      • bufferForImage

        public ByteBuffer bufferForImage()
      • unsetImage

        public void unsetImage()
      • isSetImage

        public boolean isSetImage()
        Returns true if field image is set (has been assigned a value) and false otherwise
      • setImageIsSet

        public void setImageIsSet​(boolean value)
      • getNonce

        public String getNonce()
      • unsetNonce

        public void unsetNonce()
      • isSetNonce

        public boolean isSetNonce()
        Returns true if field nonce is set (has been assigned a value) and false otherwise
      • setNonceIsSet

        public void setNonceIsSet​(boolean value)
      • getExecution_time_ms

        public long getExecution_time_ms()
      • setExecution_time_ms

        public TRenderResult setExecution_time_ms​(long execution_time_ms)
      • unsetExecution_time_ms

        public void unsetExecution_time_ms()
      • isSetExecution_time_ms

        public boolean isSetExecution_time_ms()
        Returns true if field execution_time_ms is set (has been assigned a value) and false otherwise
      • setExecution_time_msIsSet

        public void setExecution_time_msIsSet​(boolean value)
      • getRender_time_ms

        public long getRender_time_ms()
      • setRender_time_ms

        public TRenderResult setRender_time_ms​(long render_time_ms)
      • unsetRender_time_ms

        public void unsetRender_time_ms()
      • isSetRender_time_ms

        public boolean isSetRender_time_ms()
        Returns true if field render_time_ms is set (has been assigned a value) and false otherwise
      • setRender_time_msIsSet

        public void setRender_time_msIsSet​(boolean value)
      • getTotal_time_ms

        public long getTotal_time_ms()
      • setTotal_time_ms

        public TRenderResult setTotal_time_ms​(long total_time_ms)
      • unsetTotal_time_ms

        public void unsetTotal_time_ms()
      • isSetTotal_time_ms

        public boolean isSetTotal_time_ms()
        Returns true if field total_time_ms is set (has been assigned a value) and false otherwise
      • setTotal_time_msIsSet

        public void setTotal_time_msIsSet​(boolean value)
      • getVega_metadata

        public String getVega_metadata()
      • unsetVega_metadata

        public void unsetVega_metadata()
      • isSetVega_metadata

        public boolean isSetVega_metadata()
        Returns true if field vega_metadata is set (has been assigned a value) and false otherwise
      • setVega_metadataIsSet

        public void setVega_metadataIsSet​(boolean value)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • read

        public void read​(org.apache.thrift.protocol.TProtocol iprot)
                  throws org.apache.thrift.TException
        Specified by:
        read in interface org.apache.thrift.TSerializable
        Throws:
        org.apache.thrift.TException
      • write

        public void write​(org.apache.thrift.protocol.TProtocol oprot)
                   throws org.apache.thrift.TException
        Specified by:
        write in interface org.apache.thrift.TSerializable
        Throws:
        org.apache.thrift.TException
      • validate

        public void validate()
                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException