Interface Statistics

  • All Superinterfaces:
    Component, com.adobe.cq.export.json.ComponentExporter

    @ConsumerType
    public interface Statistics
    extends Component
    Sling Model for the Search Statistics Component.
    • Method Detail

      • getId

        String getId()
        Returns:
        the component id; unique to this instance of the component.
      • getRunningTotal

        long getRunningTotal()
        Returns:
        the number of results returned so far.
      • getTotal

        long getTotal()
        Returns:
        the total number of results for this query (this may be a guess).
      • hasMore

        boolean hasMore()
        Returns:
        true if there are more results to display for this search (using offset and limit)
      • getTimeTaken

        long getTimeTaken()
        Returns:
        the time taken in milliseconds for this specific search. This is NOT an aggregate of all "loads" for this search.