Class BatchSearchResult

    • Constructor Detail

      • BatchSearchResult

        public BatchSearchResult​(long totalResults)
    • Method Detail

      • setTraces

        public void setTraces​(SearchTrace[] traces)
        Sets all traces that can be returned by calling getTraces.
        Parameters:
        traces - an array of ImmutableTraces.
      • getTotalHits

        public long getTotalHits()
        Description copied from interface: SearchResult
        Returns the total number of traces matching the query.
        Specified by:
        getTotalHits in interface SearchResult
        Returns:
        total number of matching traces