Class SearchResponse


  • public class SearchResponse
    extends java.lang.Object
    Contains the returned response and queryResultsList for search
    • Constructor Detail

      • SearchResponse

        public SearchResponse()
    • Method Detail

      • getNumQueries

        public int getNumQueries()
      • getTopK

        public long getTopK()
      • getQueryResultsList

        public java.util.List<java.util.List<SearchResponse.QueryResult>> getQueryResultsList()
        Returns:
        a List of QueryResults. Each inner List contains the query result of a vector.
      • getResultIdsList

        public java.util.List<java.util.List<java.lang.Long>> getResultIdsList()
        Returns:
        a List of result ids. Each inner List contains the result ids of a vector.
      • getResultDistancesList

        public java.util.List<java.util.List<java.lang.Float>> getResultDistancesList()
        Returns:
      • getResponse

        public Response getResponse()
      • ok

        public boolean ok()
        Returns:
        true if the response status equals SUCCESS
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object