org.hibernate.search.elasticsearch.query.impl

## Class EmptySearchResult

- java.lang.Object
- - org.hibernate.search.elasticsearch.query.impl.EmptySearchResult

- All Implemented Interfaces:
    SearchResult

      public class EmptySearchResult
      extends Object
      implements SearchResult

  Author:
    Yoann Rodiere

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static SearchResult` | `get()`
    `com.google.gson.JsonObject` | `getAggregations()`
    `com.google.gson.JsonArray` | `getHits()`
    `String` | `getScrollId()`
    `boolean` | `getTimedOut()`
    `int` | `getTook()`
    `int` | `getTotalHitCount()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### get

          public static SearchResult get()

    - #### getHits

          public com.google.gson.JsonArray getHits()

      Specified by:
        `getHits` in interface `SearchResult`

    - #### getTotalHitCount

          public int getTotalHitCount()

      Specified by:
        `getTotalHitCount` in interface `SearchResult`

    - #### getAggregations

          public com.google.gson.JsonObject getAggregations()

      Specified by:
        `getAggregations` in interface `SearchResult`

    - #### getTook

          public int getTook()

      Specified by:
        `getTook` in interface `SearchResult`

    - #### getTimedOut

          public boolean getTimedOut()

      Specified by:
        `getTimedOut` in interface `SearchResult`

    - #### getScrollId

          public String getScrollId()

      Specified by:
        `getScrollId` in interface `SearchResult`

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved