@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.
public SearchResult<DatabagItem> apply(HttpResponse response)
apply
in interface com.google.common.base.Function<HttpResponse,SearchResult<DatabagItem>>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.