public class ElasticsearchCompatibilityImpl extends Object implements ElasticsearchCompatibility, InitializingBean
Modifier and Type | Field and Description |
---|---|
protected boolean |
calendarIntervalSupported |
protected org.slf4j.Logger |
logger |
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
protected org.elasticsearch.client.RestHighLevelClient |
restClient |
protected boolean |
typeless |
protected boolean |
typelessCompatible |
Constructor and Description |
---|
ElasticsearchCompatibilityImpl(org.elasticsearch.client.RestHighLevelClient restClient,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
boolean |
isCalendarIntervalSupported() |
boolean |
isTypeless() |
boolean |
isTypelessCompatible() |
protected final org.slf4j.Logger logger
protected final org.elasticsearch.client.RestHighLevelClient restClient
protected final com.fasterxml.jackson.databind.ObjectMapper objectMapper
protected boolean typeless
protected boolean typelessCompatible
protected boolean calendarIntervalSupported
public ElasticsearchCompatibilityImpl(org.elasticsearch.client.RestHighLevelClient restClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public void afterPropertiesSet()
afterPropertiesSet
in interface InitializingBean
public boolean isTypeless()
isTypeless
in interface ElasticsearchCompatibility
public boolean isTypelessCompatible()
isTypelessCompatible
in interface ElasticsearchCompatibility
public boolean isCalendarIntervalSupported()
isCalendarIntervalSupported
in interface ElasticsearchCompatibility