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)
EsLookupResultOutput
Convert Elasticsearch response to a collection of Values
.
toValues
in interface EsLookupResultOutput
public Fields fields()
EsLookupResultOutput
Fields
to be declared for output.
fields
in interface EsLookupResultOutput
Copyright © 2019 The Apache Software Foundation. All rights reserved.