Uses of Interface
io.fluxcapacitor.javaclient.persisting.search.IndexOperation
Packages that use IndexOperation
-
Uses of IndexOperation in io.fluxcapacitor.javaclient
Methods in io.fluxcapacitor.javaclient that return IndexOperationModifier and TypeMethodDescriptionstatic IndexOperation
FluxCapacitor.prepareIndex
(@NonNull Object object) Prepare given object for indexing for search. -
Uses of IndexOperation in io.fluxcapacitor.javaclient.persisting.search
Classes in io.fluxcapacitor.javaclient.persisting.search that implement IndexOperationMethods in io.fluxcapacitor.javaclient.persisting.search that return IndexOperationModifier and TypeMethodDescriptiondefault IndexOperation
IndexOperation.addMetadata
(@NonNull Metadata metadata) Adds metadata to the index operation, merging with any previously set metadata.default IndexOperation
IndexOperation.addMetadata
(@NonNull Object key, Object value) Adds a single metadata key-value pair.default IndexOperation
IndexOperation.addMetadata
(@NonNull Map<String, ?> values) Adds multiple metadata entries from a map.IndexOperation.collection
(@NonNull Object collection) Sets the collection into which the document should be indexed.DefaultIndexOperation.copy()
IndexOperation.copy()
Creates a deep copy of this operation, preserving all configured values.Sets the end time for the document (e.g., used in range queries or versioning).Sets the ID of the document to index.IndexOperation.ifNotExists
(boolean toggle) If set totrue
, only index the document if it does not already exist.Replaces all metadata in this operation with the given metadata.default IndexOperation
Sets the start and end time using a time range.default IndexOperation
DocumentStore.prepareIndex
(@NonNull Object object) Begins an index operation for the given object.Sets the start time (timestamp) for the document.default IndexOperation
Sets both start and end time to the same instant (convenience method).