public class Search extends AbstractAction<SearchResult>
| Modifier and Type | Class and Description |
|---|---|
static class |
Search.Builder |
static class |
Search.TemplateBuilder |
static class |
Search.VersionBuilder |
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
excludePatternList |
protected List<String> |
includePatternList |
| Modifier | Constructor and Description |
|---|---|
protected |
Search(Search.Builder builder) |
protected |
Search(Search.TemplateBuilder templatedBuilder) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildURI() |
SearchResult |
createNewElasticSearchResult(String responseBody,
int statusCode,
String reasonPhrase,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
boolean |
equals(Object obj) |
String |
getData(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
String |
getIndex() |
String |
getPathToResult() |
String |
getRestMethodName() |
String |
getType() |
int |
hashCode() |
buildQueryString, createNewElasticSearchResult, getHeader, getHeaders, getIdFromSource, getParameter, getURI, isHttpSuccessful, parseResponseBody, setURI, toStringprotected Search(Search.Builder builder)
protected Search(Search.TemplateBuilder templatedBuilder)
public SearchResult createNewElasticSearchResult(String responseBody, int statusCode, String reasonPhrase, com.fasterxml.jackson.databind.ObjectMapper objectMapper) throws IOException
IOExceptionpublic String getIndex()
public String getType()
protected String buildURI()
buildURI in class AbstractAction<SearchResult>public String getPathToResult()
getPathToResult in interface Action<SearchResult>getPathToResult in class AbstractAction<SearchResult>public String getRestMethodName()
getRestMethodName in interface Action<SearchResult>getRestMethodName in class AbstractAction<SearchResult>public String getData(com.fasterxml.jackson.databind.ObjectMapper objectMapper) throws IOException
getData in interface Action<SearchResult>getData in class AbstractAction<SearchResult>IOExceptionpublic int hashCode()
hashCode in class AbstractAction<SearchResult>public boolean equals(Object obj)
equals in class AbstractAction<SearchResult>Copyright © 2018. All rights reserved.