Class TQueryResult

    • Field Detail

      • execution_time_ms

        public long execution_time_ms
      • total_time_ms

        public long total_time_ms
      • success

        public boolean success
      • metaDataMap

        public static final Map<TQueryResult._Fields,​org.apache.thrift.meta_data.FieldMetaData> metaDataMap
    • Constructor Detail

      • TQueryResult

        public TQueryResult()
      • TQueryResult

        public TQueryResult​(TRowSet row_set,
                            long execution_time_ms,
                            long total_time_ms,
                            String nonce,
                            String debug,
                            boolean success,
                            TQueryType query_type)
      • TQueryResult

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

      • getRow_set

        public TRowSet getRow_set()
      • unsetRow_set

        public void unsetRow_set()
      • isSetRow_set

        public boolean isSetRow_set()
        Returns true if field row_set is set (has been assigned a value) and false otherwise
      • setRow_setIsSet

        public void setRow_setIsSet​(boolean value)
      • getExecution_time_ms

        public long getExecution_time_ms()
      • setExecution_time_ms

        public TQueryResult 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)
      • getTotal_time_ms

        public long getTotal_time_ms()
      • setTotal_time_ms

        public TQueryResult 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)
      • 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)
      • getDebug

        public String getDebug()
      • unsetDebug

        public void unsetDebug()
      • isSetDebug

        public boolean isSetDebug()
        Returns true if field debug is set (has been assigned a value) and false otherwise
      • setDebugIsSet

        public void setDebugIsSet​(boolean value)
      • isSuccess

        public boolean isSuccess()
      • setSuccess

        public TQueryResult setSuccess​(boolean success)
      • unsetSuccess

        public void unsetSuccess()
      • isSetSuccess

        public boolean isSetSuccess()
        Returns true if field success is set (has been assigned a value) and false otherwise
      • setSuccessIsSet

        public void setSuccessIsSet​(boolean value)
      • unsetQuery_type

        public void unsetQuery_type()
      • isSetQuery_type

        public boolean isSetQuery_type()
        Returns true if field query_type is set (has been assigned a value) and false otherwise
      • setQuery_typeIsSet

        public void setQuery_typeIsSet​(boolean value)
      • isSet

        public boolean isSet​(TQueryResult._Fields field)
        Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
        Specified by:
        isSet in interface org.apache.thrift.TBase<TQueryResult,​TQueryResult._Fields>
      • 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