Uses of Class
io.fluxcapacitor.common.api.search.SerializedDocument
Packages that use SerializedDocument
Package
Description
-
Uses of SerializedDocument in io.fluxcapacitor.common.api.search
Methods in io.fluxcapacitor.common.api.search that return SerializedDocumentModifier and TypeMethodDescriptionSearchDocumentsResult.lastMatch()
Returns the last document in the result list, ornull
if no matches were found.Methods in io.fluxcapacitor.common.api.search with parameters of type SerializedDocumentModifier and TypeMethodDescriptionboolean
SearchQuery.matches
(SerializedDocument d) Checks if the given serialized document matches the query's constraints and collection filters. -
Uses of SerializedDocument in io.fluxcapacitor.common.api.search.bulkupdate
Methods in io.fluxcapacitor.common.api.search.bulkupdate with parameters of type SerializedDocumentModifier and TypeMethodDescriptionstatic IndexDocument
IndexDocument.fromDocument
(SerializedDocument document) Creates a bulk index operation from aSerializedDocument
. -
Uses of SerializedDocument in io.fluxcapacitor.common.search
Methods in io.fluxcapacitor.common.search that return SerializedDocumentModifier and TypeMethodDescriptionInverter.toDocument
(Object object, String type, int revision, String id, String collection, Instant timestamp, Instant end, Metadata metadata) Converts the given object into aSerializedDocument
, which is suitable for indexing or storage in a document store.JacksonInverter.toDocument
(Object value, String type, int revision, String id, String collection, Instant timestamp, Instant end, Metadata metadata) -
Uses of SerializedDocument in io.fluxcapacitor.javaclient.common.serialization.jackson
Methods in io.fluxcapacitor.javaclient.common.serialization.jackson that return SerializedDocumentModifier and TypeMethodDescriptionJacksonSerializer.toDocument
(Object value, String id, String collection, Instant timestamp, Instant end, Metadata metadata) Methods in io.fluxcapacitor.javaclient.common.serialization.jackson with parameters of type SerializedDocumentModifier and TypeMethodDescription<T> T
JacksonSerializer.fromDocument
(SerializedDocument document) <T> T
JacksonSerializer.fromDocument
(SerializedDocument document, Class<T> type) -
Uses of SerializedDocument in io.fluxcapacitor.javaclient.persisting.search
Methods in io.fluxcapacitor.javaclient.persisting.search that return SerializedDocumentModifier and TypeMethodDescriptiondefault SerializedDocument
DocumentSerializer.toDocument
(Object value, String id, String collection, Instant timestamp, Instant end) Serializes a given value into aSerializedDocument
, using the specified identifiers and timestamps.DocumentSerializer.toDocument
(Object value, String id, String collection, Instant timestamp, Instant end, Metadata metadata) Serializes a given value into aSerializedDocument
, using the specified identifiers, timestamps, and metadata.Methods in io.fluxcapacitor.javaclient.persisting.search that return types with arguments of type SerializedDocumentModifier and TypeMethodDescriptionstatic SearchHit
<SerializedDocument> SearchHit.fromDocument
(SerializedDocument document) Constructs aSearchHit
instance from a rawSerializedDocument
.Methods in io.fluxcapacitor.javaclient.persisting.search with parameters of type SerializedDocumentModifier and TypeMethodDescription<T> T
DocumentSerializer.fromDocument
(SerializedDocument document) Deserializes the payload of the given document into a Java object using the type information contained in the document.<T> T
DocumentSerializer.fromDocument
(SerializedDocument document, Class<T> type) Deserializes the payload of the given document into an instance of the specified type.static SearchHit
<SerializedDocument> SearchHit.fromDocument
(SerializedDocument document) Constructs aSearchHit
instance from a rawSerializedDocument
. -
Uses of SerializedDocument in io.fluxcapacitor.javaclient.persisting.search.client
Fields in io.fluxcapacitor.javaclient.persisting.search.client with type parameters of type SerializedDocumentModifier and TypeFieldDescriptionprotected static final Function
<SerializedDocument, String> InMemorySearchStore.identifier
Methods in io.fluxcapacitor.javaclient.persisting.search.client that return types with arguments of type SerializedDocumentModifier and TypeMethodDescriptionInMemorySearchStore.fetch
(GetDocument r) SearchClient.fetch
(GetDocument request) Fetches a single serialized document matching the given request.WebSocketSearchClient.fetch
(GetDocument request) InMemorySearchStore.search
(SearchDocuments searchDocuments, int fetchSize) SearchClient.search
(SearchDocuments searchDocuments, int fetchSize) Executes a streaming search query using the given criteria and fetch size.WebSocketSearchClient.search
(SearchDocuments searchDocuments, int fetchSize) Methods in io.fluxcapacitor.javaclient.persisting.search.client with parameters of type SerializedDocumentModifier and TypeMethodDescriptionprotected SerializedMessage
InMemorySearchStore.asSerializedMessage
(SerializedDocument document) Method parameters in io.fluxcapacitor.javaclient.persisting.search.client with type arguments of type SerializedDocumentModifier and TypeMethodDescriptionInMemorySearchStore.index
(List<SerializedDocument> documents, Guarantee guarantee, boolean ifNotExists) SearchClient.index
(List<SerializedDocument> documents, Guarantee guarantee, boolean ifNotExists) Indexes a list of serialized documents into the search engine.WebSocketSearchClient.index
(List<SerializedDocument> documents, Guarantee guarantee, boolean ifNotExists) protected void
InMemorySearchStore.storeMessages
(Map<String, SerializedDocument> updates)