Uses of Interface
org.springframework.data.elasticsearch.core.document.Document
Packages that use Document
Package
Description
This package contains classes that use the new Elasticsearch client library (co.elastic.clients:elasticsearch-java)
to access Elasticsearch.
-
Uses of Document in org.springframework.data.elasticsearch.client.elc
Methods in org.springframework.data.elasticsearch.client.elc that return DocumentModifier and TypeMethodDescriptionIndicesTemplate.createMapping()IndicesTemplate.createMapping(Class<?> clazz) Methods in org.springframework.data.elasticsearch.client.elc that return types with arguments of type DocumentModifier and TypeMethodDescriptionReactiveIndicesTemplate.createMapping()ReactiveIndicesTemplate.createMapping(Class<?> clazz) ReactiveIndicesTemplate.getMapping()Methods in org.springframework.data.elasticsearch.client.elc with parameters of type DocumentModifier and TypeMethodDescriptionbooleanprotected booleanIndicesTemplate.doCreate(IndexCoordinates indexCoordinates, Map<String, @Nullable Object> settings, @Nullable Document mapping) booleanIndicesTemplate.putMapping(Document mapping) Method parameters in org.springframework.data.elasticsearch.client.elc with type arguments of type Document -
Uses of Document in org.springframework.data.elasticsearch.core
Methods in org.springframework.data.elasticsearch.core that return DocumentModifier and TypeMethodDescriptionIndexOperations.createMapping()Creates the index mapping for the entity this IndexOperations is bound to.IndexOperations.createMapping(Class<?> clazz) Creates the index mapping for the given class@Nullable DocumentIndexInformation.getMapping()protected <T> DocumentAbstractElasticsearchTemplate.maybeCallbackAfterLoad(Document document, Class<T> type, IndexCoordinates indexCoordinates) Methods in org.springframework.data.elasticsearch.core that return types with arguments of type DocumentModifier and TypeMethodDescriptionReactiveIndexOperations.createMapping()Creates the index mapping for the entity this IndexOperations is bound to.ReactiveIndexOperations.createMapping(Class<?> clazz) Creates the index mapping for the given classReactiveIndexOperations.getMapping()Get mapping for the index targeted defined by thisReactiveIndexOperationsReactiveResourceUtil.loadDocument(String path, String annotation) loads a Document initialized with data from a given resource path.AbstractReactiveElasticsearchTemplate.maybeCallbackAfterLoad(Document document, Class<T> type, IndexCoordinates index) Methods in org.springframework.data.elasticsearch.core with parameters of type DocumentModifier and TypeMethodDescriptionbooleanCreate an index for given settings and mapping.Create an index for given settings and mapping.@Nullable T@Nullable Tprotected <T> TAbstractElasticsearchTemplate.maybeCallbackAfterConvert(T entity, Document document, IndexCoordinates index) protected <T> Mono<T> AbstractReactiveElasticsearchTemplate.maybeCallbackAfterConvert(T entity, Document document, IndexCoordinates index) protected <T> DocumentAbstractElasticsearchTemplate.maybeCallbackAfterLoad(Document document, Class<T> type, IndexCoordinates indexCoordinates) AbstractReactiveElasticsearchTemplate.maybeCallbackAfterLoad(Document document, Class<T> type, IndexCoordinates index) static IndexInformationIndexInformation.of(String name, @Nullable Settings settings, @Nullable Document mapping, @Nullable List<AliasData> aliases) booleanIndexOperations.putMapping(Document mapping) writes a mapping to the indexConvert a document into an entityMethod parameters in org.springframework.data.elasticsearch.core with type arguments of type DocumentModifier and TypeMethodDescriptionReactiveIndexOperations.putMapping(Mono<Document> mapping) writes a mapping to the indexConstructor parameters in org.springframework.data.elasticsearch.core with type arguments of type DocumentModifierConstructorDescriptionReadDocumentCallback(EntityReader<? super T, Document> reader, Class<T> type, IndexCoordinates index) ReadDocumentCallback(EntityReader<? super T, Document> reader, Class<T> type, IndexCoordinates index) -
Uses of Document in org.springframework.data.elasticsearch.core.convert
Subinterfaces with type arguments of type Document in org.springframework.data.elasticsearch.core.convertMethods in org.springframework.data.elasticsearch.core.convert that return DocumentMethods in org.springframework.data.elasticsearch.core.convert with parameters of type Document -
Uses of Document in org.springframework.data.elasticsearch.core.document
Subinterfaces of Document in org.springframework.data.elasticsearch.core.documentModifier and TypeInterfaceDescriptioninterfaceExtension toDocumentexposing search response related data.Classes in org.springframework.data.elasticsearch.core.document that implement DocumentSubinterfaces with type arguments of type Document in org.springframework.data.elasticsearch.core.documentModifier and TypeInterfaceDescriptioninterfaceA representation of an Elasticsearch document as extendedMap.Methods in org.springframework.data.elasticsearch.core.document that return DocumentModifier and TypeMethodDescriptionstatic DocumentDocument.create()Create a new mutableDocument.static Documentdefault Documentstatic DocumentParse JSON toDocument.Method parameters in org.springframework.data.elasticsearch.core.document with type arguments of type DocumentModifier and TypeMethodDescriptiondefault <R> RThis method allows the application of a function tothisDocument.Constructors in org.springframework.data.elasticsearch.core.document with parameters of type DocumentModifierConstructorDescriptionSearchDocumentAdapter(Document delegate, float score, Object[] sortValues, Map<String, List<@Nullable Object>> fields, Map<String, List<String>> highlightFields, Map<String, SearchDocumentResponse> innerHits, @Nullable NestedMetaData nestedMetaData, @Nullable Explanation explanation, @Nullable Map<String, Double> matchedQueries, @Nullable String routing) -
Uses of Document in org.springframework.data.elasticsearch.core.event
Subinterfaces with type arguments of type Document in org.springframework.data.elasticsearch.core.eventModifier and TypeInterfaceDescriptioninterfaceCallback being invoked after aDocumentis read from Elasticsearch and before it is converted into a domain object.interfaceCallback being invoked after aDocumentis read from Elasticsearch and before it is converted into a domain object.Methods in org.springframework.data.elasticsearch.core.event that return DocumentModifier and TypeMethodDescriptionAfterLoadCallback.onAfterLoad(Document document, Class<T> type, IndexCoordinates indexCoordinates) Entity callback method invoked after aDocumentis read from Elasticsearch.Methods in org.springframework.data.elasticsearch.core.event that return types with arguments of type DocumentModifier and TypeMethodDescriptionReactiveAfterLoadCallback.onAfterLoad(Document document, Class<T> type, IndexCoordinates indexCoordinates) Entity callback method invoked after a domain object is materialized from aDocument.Methods in org.springframework.data.elasticsearch.core.event with parameters of type DocumentModifier and TypeMethodDescriptionAfterConvertCallback.onAfterConvert(T entity, Document document, IndexCoordinates indexCoordinates) Entity callback method invoked after a domain object is materialized from aDocument.ReactiveAfterConvertCallback.onAfterConvert(T entity, Document document, IndexCoordinates indexCoordinates) Entity callback method invoked after a domain object is materialized from aDocument.AfterLoadCallback.onAfterLoad(Document document, Class<T> type, IndexCoordinates indexCoordinates) Entity callback method invoked after aDocumentis read from Elasticsearch.ReactiveAfterLoadCallback.onAfterLoad(Document document, Class<T> type, IndexCoordinates indexCoordinates) Entity callback method invoked after a domain object is materialized from aDocument. -
Uses of Document in org.springframework.data.elasticsearch.core.index
Methods in org.springframework.data.elasticsearch.core.index that return DocumentModifier and TypeMethodDescription@Nullable DocumentTemplateData.getMapping()@Nullable DocumentPutTemplateRequest.getMappings()@Nullable DocumentComponentTemplateRequestData.mapping()Returns the value of themappingrecord component.@Nullable DocumentPutIndexTemplateRequest.mapping()Returns the value of themappingrecord component.@Nullable DocumentTemplateResponseData.mapping()Returns the value of themappingrecord component.Methods in org.springframework.data.elasticsearch.core.index with parameters of type DocumentModifier and TypeMethodDescriptionprotected StringMappingBuilder.buildPropertyMapping(ElasticsearchPersistentEntity<?> entity, @Nullable Document runtimeFields) ComponentTemplateRequestData.Builder.withMapping(Document mapping) PutIndexTemplateRequest.Builder.withMapping(Document mapping) TemplateData.TemplateDataBuilder.withMapping(Document mapping) TemplateResponseData.Builder.withMapping(@Nullable Document mapping) PutTemplateRequest.TemplateRequestBuilder.withMappings(Document mappings) Constructors in org.springframework.data.elasticsearch.core.index with parameters of type DocumentModifierConstructorDescriptionComponentTemplateRequestData(@Nullable Settings settings, @Nullable Document mapping, @Nullable AliasActions aliasActions, @Nullable Boolean allowAutoCreate) Creates an instance of aComponentTemplateRequestDatarecord class.PutIndexTemplateRequest(String name, String[] indexPatterns, @Nullable Settings settings, @Nullable Document mapping, @Nullable AliasActions aliasActions, List<String> composedOf) Creates an instance of aPutIndexTemplateRequestrecord class.TemplateResponseData(@Nullable Document mapping, @Nullable Settings settings, Map<String, AliasData> aliases, List<String> composedOf) Creates an instance of aTemplateResponseDatarecord class. -
Uses of Document in org.springframework.data.elasticsearch.core.mapping
Methods in org.springframework.data.elasticsearch.core.mapping that return DocumentMethods in org.springframework.data.elasticsearch.core.mapping with parameters of type DocumentModifier and TypeMethodDescriptionCreateIndexSettings.Builder.withMapping(@Nullable Document mapping) -
Uses of Document in org.springframework.data.elasticsearch.core.query
Methods in org.springframework.data.elasticsearch.core.query that return DocumentModifier and TypeMethodDescription@Nullable DocumentUpdateQuery.getDocument()@Nullable DocumentUpdateQuery.getUpsert()Methods in org.springframework.data.elasticsearch.core.query with parameters of type DocumentModifier and TypeMethodDescriptionUpdateQuery.Builder.withDocument(Document document) UpdateQuery.Builder.withUpsert(Document upsert)