Package com.flowable.indexing
Class ElasticsearchCompatibilityImpl
- java.lang.Object
-
- com.flowable.indexing.ElasticsearchCompatibilityImpl
-
- All Implemented Interfaces:
ElasticsearchCompatibility
,InitializingBean
public class ElasticsearchCompatibilityImpl extends Object implements ElasticsearchCompatibility, InitializingBean
- Author:
- Filip Hrisafov
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
calendarIntervalSupported
protected org.elasticsearch.client.RequestOptions
defaultRequestOptions
protected org.slf4j.Logger
logger
protected com.fasterxml.jackson.databind.ObjectMapper
objectMapper
protected org.elasticsearch.client.RestClient
restClient
protected boolean
typeless
protected boolean
typelessCompatible
-
Constructor Summary
Constructors Constructor Description ElasticsearchCompatibilityImpl(org.elasticsearch.client.RestClient restClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper, org.elasticsearch.client.RequestOptions defaultRequestOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
boolean
isCalendarIntervalSupported()
boolean
isTypeless()
boolean
isTypelessCompatible()
-
-
-
Field Detail
-
logger
protected final org.slf4j.Logger logger
-
restClient
protected final org.elasticsearch.client.RestClient restClient
-
objectMapper
protected final com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
defaultRequestOptions
protected org.elasticsearch.client.RequestOptions defaultRequestOptions
-
typeless
protected boolean typeless
-
typelessCompatible
protected boolean typelessCompatible
-
calendarIntervalSupported
protected boolean calendarIntervalSupported
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSet
in interfaceInitializingBean
-
isTypeless
public boolean isTypeless()
- Specified by:
isTypeless
in interfaceElasticsearchCompatibility
-
isTypelessCompatible
public boolean isTypelessCompatible()
- Specified by:
isTypelessCompatible
in interfaceElasticsearchCompatibility
-
isCalendarIntervalSupported
public boolean isCalendarIntervalSupported()
- Specified by:
isCalendarIntervalSupported
in interfaceElasticsearchCompatibility
-
-