Class NativeClientResponseParser
- java.lang.Object
-
- org.dashbuilder.dataprovider.backend.elasticsearch.rest.impl.NativeClientResponseParser
-
public class NativeClientResponseParser extends Object
Helper class for the ELS native client that parses the response from the ELS server and builds the resulting data set.- Since:
- 0.5.0
-
-
Constructor Summary
Constructors Constructor Description NativeClientResponseParser(ElasticSearchValueTypeMapper valueTypeMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchResponseparse(org.dashbuilder.dataset.DataSetMetadata metadata, org.elasticsearch.action.search.SearchResponse response, List<org.dashbuilder.dataset.DataColumn> columns)
-
-
-
Constructor Detail
-
NativeClientResponseParser
public NativeClientResponseParser(ElasticSearchValueTypeMapper valueTypeMapper)
-
-
Method Detail
-
parse
public SearchResponse parse(org.dashbuilder.dataset.DataSetMetadata metadata, org.elasticsearch.action.search.SearchResponse response, List<org.dashbuilder.dataset.DataColumn> columns) throws ParseException
- Throws:
ParseException
-
-