public class DefaultEsLookupResultOutput extends Object implements EsLookupResultOutput
Default implementation of EsLookupResultOutput. Outputs the index, type, id and source as strings.
| Constructor and Description |
|---|
DefaultEsLookupResultOutput(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
| Modifier and Type | Method and Description |
|---|---|
Fields |
fields()
Fields to be declared for output. |
Collection<Values> |
toValues(org.elasticsearch.client.Response response)
Convert Elasticsearch response to a collection of
Values. |
public DefaultEsLookupResultOutput(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public Collection<Values> toValues(org.elasticsearch.client.Response response)
EsLookupResultOutputConvert Elasticsearch response to a collection of Values.
toValues in interface EsLookupResultOutputpublic Fields fields()
EsLookupResultOutputFields to be declared for output.
fields in interface EsLookupResultOutputCopyright © 2021 The Apache Software Foundation. All rights reserved.