| Package | Description |
|---|---|
| org.springframework.data.elasticsearch.core | |
| org.springframework.data.elasticsearch.core.convert | |
| org.springframework.data.elasticsearch.core.document | |
| org.springframework.data.elasticsearch.core.event |
classes and interfaces related to Spring Data Elasticsearch events and callbacks.
|
| org.springframework.data.elasticsearch.core.query |
| Modifier and Type | Method and Description |
|---|---|
Document |
IndexOperations.createMapping()
Creates the index mapping for the entity this IndexOperations is bound to.
|
Document |
IndexOperations.createMapping(Class<?> clazz)
Creates the index mapping for the given class
|
default Document |
ElasticsearchOperations.getDocument(Object object)
Deprecated.
since 4.0, helper method for deprecated functions
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
IndexOperations.create(Document settings)
Create an index for given Settings.
|
T |
AbstractElasticsearchTemplate.DocumentCallback.doWith(Document document) |
T |
AbstractElasticsearchTemplate.ReadDocumentCallback.doWith(Document document) |
reactor.core.publisher.Mono<T> |
ReactiveElasticsearchTemplate.DocumentCallback.doWith(Document document) |
reactor.core.publisher.Mono<T> |
ReactiveElasticsearchTemplate.ReadDocumentCallback.doWith(Document document) |
protected <T> reactor.core.publisher.Mono<T> |
ReactiveElasticsearchTemplate.maybeCallAfterConvert(T entity,
Document document,
IndexCoordinates index) |
protected <T> T |
AbstractElasticsearchTemplate.maybeCallbackAfterConvert(T entity,
Document document,
IndexCoordinates index) |
boolean |
IndexOperations.putMapping(Document mapping)
writes a mapping to the index
|
| Constructor and Description |
|---|
ReadDocumentCallback(EntityReader<? super T,Document> reader,
Class<T> type,
IndexCoordinates index) |
ReadDocumentCallback(EntityReader<? super T,Document> reader,
Class<T> type,
IndexCoordinates index) |
| Modifier and Type | Method and Description |
|---|---|
default Document |
ElasticsearchConverter.mapObject(Object source)
Map an object to a
Document. |
| Modifier and Type | Method and Description |
|---|---|
<R> R |
MappingElasticsearchConverter.read(Class<R> type,
Document source) |
void |
MappingElasticsearchConverter.write(Object source,
Document sink) |
protected void |
MappingElasticsearchConverter.writeEntity(ElasticsearchPersistentEntity<?> entity,
Object source,
Document sink,
TypeInformation<?> containingStructure) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
SearchDocument
Extension to
Document exposing a search response related data. |
| Modifier and Type | Method and Description |
|---|---|
default Document |
Document.append(String key,
Object value)
|
static Document |
Document.create()
Create a new mutable
Document. |
static Document |
DocumentAdapters.from(org.elasticsearch.action.get.GetResponse source)
Create a
Document from GetResponse. |
static Document |
DocumentAdapters.from(org.elasticsearch.index.get.GetResult source)
Create a
Document from GetResult. |
static Document |
Document.from(Map<String,? extends Object> map)
|
static Document |
DocumentAdapters.fromDocumentFields(Iterable<org.elasticsearch.common.document.DocumentField> documentFields,
String id,
long version,
long seqNo,
long primaryTerm)
|
static Document |
Document.parse(String json)
Parse JSON to
Document. |
| Modifier and Type | Method and Description |
|---|---|
static List<Document> |
DocumentAdapters.from(org.elasticsearch.action.get.MultiGetResponse source)
Creates a List of
Documents from MultiGetResponse. |
| Modifier and Type | Method and Description |
|---|---|
default <R> R |
Document.transform(Function<? super Document,? extends R> transformer)
This method allows the application of a function to
this Document. |
| Modifier and Type | Method and Description |
|---|---|
org.reactivestreams.Publisher<T> |
ReactiveAfterConvertCallback.onAfterConvert(T entity,
Document document,
IndexCoordinates indexCoordinates)
Entity callback method invoked after a domain object is materialized from a
Document. |
T |
AfterConvertCallback.onAfterConvert(T entity,
Document document,
IndexCoordinates indexCoordinates)
Entity callback method invoked after a domain object is materialized from a
Document. |
| Modifier and Type | Method and Description |
|---|---|
Document |
UpdateQuery.getDocument() |
Document |
UpdateQuery.getUpsert() |
| Modifier and Type | Method and Description |
|---|---|
UpdateQuery.Builder |
UpdateQuery.Builder.withDocument(Document document) |
UpdateQuery.Builder |
UpdateQuery.Builder.withUpsert(Document upsert) |
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.