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
Modifier and TypeFieldDescriptionprotected boolean
protected org.elasticsearch.client.RequestOptions
protected final org.slf4j.Logger
protected final com.fasterxml.jackson.databind.ObjectMapper
protected final org.elasticsearch.client.RestClient
protected boolean
protected boolean
-
Constructor Summary
ConstructorDescriptionElasticsearchCompatibilityImpl
(org.elasticsearch.client.RestClient restClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper, org.elasticsearch.client.RequestOptions defaultRequestOptions) -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
boolean
boolean
-
Field Details
-
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
-
-
Constructor Details
-
ElasticsearchCompatibilityImpl
public ElasticsearchCompatibilityImpl(org.elasticsearch.client.RestClient restClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper, org.elasticsearch.client.RequestOptions defaultRequestOptions)
-
-
Method Details
-
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
-