org.springframework.data.elasticsearch.core.EntityMapper Java Examples
The following examples show how to use
org.springframework.data.elasticsearch.core.EntityMapper.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ElasticsearchConfiguration.java From okta-jhipster-microservices-oauth-example with Apache License 2.0 | 5 votes |
@Bean @Primary public ElasticsearchOperations elasticsearchTemplate(final JestClient jestClient, final ElasticsearchConverter elasticsearchConverter, final SimpleElasticsearchMappingContext simpleElasticsearchMappingContext, EntityMapper mapper) { return new JestElasticsearchTemplate( jestClient, elasticsearchConverter, new DefaultJestResultsMapper(simpleElasticsearchMappingContext, mapper)); }
Example #2
Source File: ElasticsearchConfiguration.java From okta-jhipster-microservices-oauth-example with Apache License 2.0 | 5 votes |
@Bean @Primary public ElasticsearchOperations elasticsearchTemplate(final JestClient jestClient, final ElasticsearchConverter elasticsearchConverter, final SimpleElasticsearchMappingContext simpleElasticsearchMappingContext, EntityMapper mapper) { return new JestElasticsearchTemplate( jestClient, elasticsearchConverter, new DefaultJestResultsMapper(simpleElasticsearchMappingContext, mapper)); }
Example #3
Source File: ElasticsearchConfiguration.java From okta-jhipster-microservices-oauth-example with Apache License 2.0 | 5 votes |
@Bean @Primary public ElasticsearchOperations elasticsearchTemplate(final JestClient jestClient, final ElasticsearchConverter elasticsearchConverter, final SimpleElasticsearchMappingContext simpleElasticsearchMappingContext, EntityMapper mapper) { return new JestElasticsearchTemplate( jestClient, elasticsearchConverter, new DefaultJestResultsMapper(simpleElasticsearchMappingContext, mapper)); }
Example #4
Source File: ElasticsearchConfiguration.java From 21-points with Apache License 2.0 | 5 votes |
@Bean @Primary public ElasticsearchOperations elasticsearchTemplate(final JestClient jestClient, final ElasticsearchConverter elasticsearchConverter, final SimpleElasticsearchMappingContext simpleElasticsearchMappingContext, EntityMapper mapper) { return new JestElasticsearchTemplate( jestClient, elasticsearchConverter, new DefaultJestResultsMapper(simpleElasticsearchMappingContext, mapper)); }
Example #5
Source File: XiaoEUKResultMapper.java From youkefu with Apache License 2.0 | 4 votes |
public XiaoEUKResultMapper(EntityMapper entityMapper) { super(entityMapper); }
Example #6
Source File: XiaoEUKResultMapper.java From youkefu with Apache License 2.0 | 4 votes |
public XiaoEUKResultMapper( MappingContext<? extends ElasticsearchPersistentEntity<?>, ElasticsearchPersistentProperty> mappingContext, EntityMapper entityMapper) { super(entityMapper); this.mappingContext = mappingContext; }
Example #7
Source File: UKResultMapper.java From youkefu with Apache License 2.0 | 4 votes |
public UKResultMapper(EntityMapper entityMapper) { super(entityMapper); }
Example #8
Source File: UKResultMapper.java From youkefu with Apache License 2.0 | 4 votes |
public UKResultMapper( MappingContext<? extends ElasticsearchPersistentEntity<?>, ElasticsearchPersistentProperty> mappingContext, EntityMapper entityMapper) { super(entityMapper); this.mappingContext = mappingContext; }
Example #9
Source File: ElasticsearchConfiguration.java From okta-jhipster-microservices-oauth-example with Apache License 2.0 | 4 votes |
@Bean public EntityMapper getEntityMapper() { return new CustomEntityMapper(mapper); }
Example #10
Source File: ElasticsearchConfiguration.java From okta-jhipster-microservices-oauth-example with Apache License 2.0 | 4 votes |
@Bean public EntityMapper getEntityMapper() { return new CustomEntityMapper(mapper); }
Example #11
Source File: ElasticsearchConfiguration.java From okta-jhipster-microservices-oauth-example with Apache License 2.0 | 4 votes |
@Bean public EntityMapper getEntityMapper() { return new CustomEntityMapper(mapper); }
Example #12
Source File: ResultMapperExt.java From roncoo-education with MIT License | 4 votes |
public ResultMapperExt(EntityMapper entityMapper) { super(entityMapper); }
Example #13
Source File: ResultMapperExt.java From roncoo-education with MIT License | 4 votes |
public ResultMapperExt(MappingContext<? extends ElasticsearchPersistentEntity<?>, ElasticsearchPersistentProperty> mappingContext, EntityMapper entityMapper) { super(entityMapper); this.mappingContext = mappingContext; }
Example #14
Source File: ElasticsearchConfiguration.java From 21-points with Apache License 2.0 | 4 votes |
@Bean public EntityMapper getEntityMapper() { return new CustomEntityMapper(mapper); }