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 org.slf4j.Logger
logger
protected com.fasterxml.jackson.databind.ObjectMapper
objectMapper
protected org.elasticsearch.client.RestHighLevelClient
restClient
protected boolean
typeless
protected boolean
typelessCompatible
-
Constructor Summary
Constructors Constructor Description ElasticsearchCompatibilityImpl(org.elasticsearch.client.RestHighLevelClient restClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
Modifier and Type Method Description void
afterPropertiesSet()
boolean
isTypeless()
boolean
isTypelessCompatible()
-
Field Details
-
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
-
-
Constructor Details
-
ElasticsearchCompatibilityImpl
public ElasticsearchCompatibilityImpl(org.elasticsearch.client.RestHighLevelClient restClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
isTypeless
public boolean isTypeless()- Specified by:
isTypeless
in interfaceElasticsearchCompatibility
-
isTypelessCompatible
public boolean isTypelessCompatible()- Specified by:
isTypelessCompatible
in interfaceElasticsearchCompatibility
-