Class InstanceRequest

    • Field Detail

      • requestId

        public long requestId
      • searchSegments

        public List<String> searchSegments
      • enableTrace

        public boolean enableTrace
      • brokerId

        public String brokerId
    • Constructor Detail

      • InstanceRequest

        public InstanceRequest()
      • InstanceRequest

        public InstanceRequest​(long requestId,
                               BrokerRequest query)
      • InstanceRequest

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

      • getRequestId

        public long getRequestId()
      • unsetRequestId

        public void unsetRequestId()
      • isSetRequestId

        public boolean isSetRequestId()
        Returns true if field requestId is set (has been assigned a value) and false otherwise
      • setRequestIdIsSet

        public void setRequestIdIsSet​(boolean value)
      • unsetQuery

        public void unsetQuery()
      • isSetQuery

        public boolean isSetQuery()
        Returns true if field query is set (has been assigned a value) and false otherwise
      • setQueryIsSet

        public void setQueryIsSet​(boolean value)
      • getSearchSegmentsSize

        public int getSearchSegmentsSize()
      • getSearchSegmentsIterator

        public Iterator<String> getSearchSegmentsIterator()
      • addToSearchSegments

        public void addToSearchSegments​(String elem)
      • getSearchSegments

        public List<String> getSearchSegments()
      • unsetSearchSegments

        public void unsetSearchSegments()
      • isSetSearchSegments

        public boolean isSetSearchSegments()
        Returns true if field searchSegments is set (has been assigned a value) and false otherwise
      • setSearchSegmentsIsSet

        public void setSearchSegmentsIsSet​(boolean value)
      • isEnableTrace

        public boolean isEnableTrace()
      • setEnableTrace

        public InstanceRequest setEnableTrace​(boolean enableTrace)
      • unsetEnableTrace

        public void unsetEnableTrace()
      • isSetEnableTrace

        public boolean isSetEnableTrace()
        Returns true if field enableTrace is set (has been assigned a value) and false otherwise
      • setEnableTraceIsSet

        public void setEnableTraceIsSet​(boolean value)
      • getBrokerId

        public String getBrokerId()
      • unsetBrokerId

        public void unsetBrokerId()
      • isSetBrokerId

        public boolean isSetBrokerId()
        Returns true if field brokerId is set (has been assigned a value) and false otherwise
      • setBrokerIdIsSet

        public void setBrokerIdIsSet​(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