public class DefaultEsLookupResultOutput extends Object implements EsLookupResultOutput
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
Values
.toValues
in interface EsLookupResultOutput
public Fields fields()
EsLookupResultOutput
Fields
to be declared for output.fields
in interface EsLookupResultOutput
Copyright © 2023 The Apache Software Foundation. All rights reserved.