@Singleton public class ParseSearchDatabagFromJson extends Object implements com.google.common.base.Function<HttpResponse,SearchResult<DatabagItem>>
DatabagItem object.
When searching databags, the items are contained inside the
raw_data list.
| Modifier and Type | Method and Description |
|---|---|
SearchResult<DatabagItem> |
apply(HttpResponse response) |
public SearchResult<DatabagItem> apply(HttpResponse response)
apply in interface Function<HttpResponse,SearchResult<DatabagItem>>Copyright © 2009–2021 The Apache Software Foundation. All rights reserved.