public class ElasticsearchCompatibilityImpl extends Object implements ElasticsearchCompatibility, org.springframework.beans.factory.InitializingBean
Modifier and Type | Field and 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 and Description |
---|
ElasticsearchCompatibilityImpl(org.elasticsearch.client.RestHighLevelClient restClient,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
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
public ElasticsearchCompatibilityImpl(org.elasticsearch.client.RestHighLevelClient restClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public void afterPropertiesSet()
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
public boolean isTypeless()
isTypeless
in interface ElasticsearchCompatibility
public boolean isTypelessCompatible()
isTypelessCompatible
in interface ElasticsearchCompatibility
Copyright © 2019. All rights reserved.