Package com.flowable.indexing
Class ElasticsearchCompatibilityImpl
- java.lang.Object
-
- com.flowable.indexing.ElasticsearchCompatibilityImpl
-
- All Implemented Interfaces:
ElasticsearchCompatibility,org.springframework.beans.factory.InitializingBean
public class ElasticsearchCompatibilityImpl extends java.lang.Object implements ElasticsearchCompatibility, org.springframework.beans.factory.InitializingBean
- Author:
- Filip Hrisafov
-
-
Field Summary
Fields Modifier and Type Field Description protected booleancalendarIntervalSupportedprotected org.slf4j.Loggerloggerprotected com.fasterxml.jackson.databind.ObjectMapperobjectMapperprotected org.elasticsearch.client.RestHighLevelClientrestClientprotected booleantypelessprotected booleantypelessCompatible
-
Constructor Summary
Constructors Constructor Description ElasticsearchCompatibilityImpl(org.elasticsearch.client.RestHighLevelClient restClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()booleanisCalendarIntervalSupported()booleanisTypeless()booleanisTypelessCompatible()
-
-
-
Field Detail
-
logger
protected final org.slf4j.Logger logger
-
restClient
protected final org.elasticsearch.client.RestHighLevelClient restClient
-
objectMapper
protected final com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
typeless
protected boolean typeless
-
typelessCompatible
protected boolean typelessCompatible
-
calendarIntervalSupported
protected boolean calendarIntervalSupported
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
isTypeless
public boolean isTypeless()
- Specified by:
isTypelessin interfaceElasticsearchCompatibility
-
isTypelessCompatible
public boolean isTypelessCompatible()
- Specified by:
isTypelessCompatiblein interfaceElasticsearchCompatibility
-
isCalendarIntervalSupported
public boolean isCalendarIntervalSupported()
- Specified by:
isCalendarIntervalSupportedin interfaceElasticsearchCompatibility
-
-