Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
B
- BsonFormatException - Exception in io.vena.bosk.drivers.mongo
- BsonFormatException(String) - Constructor for exception io.vena.bosk.drivers.mongo.BsonFormatException
- BsonFormatException(String, Throwable) - Constructor for exception io.vena.bosk.drivers.mongo.BsonFormatException
- BsonFormatException(Throwable) - Constructor for exception io.vena.bosk.drivers.mongo.BsonFormatException
- BsonPlugin - Class in io.vena.bosk.drivers.mongo
- BsonPlugin() - Constructor for class io.vena.bosk.drivers.mongo.BsonPlugin
- build(Bosk<RR>, BoskDriver<RR>) - Method in interface io.vena.bosk.drivers.mongo.MongoDriver.MongoDriverFactory
C
- close() - Method in interface io.vena.bosk.drivers.mongo.MongoDriver
-
Frees up resources used by this driver and leaves it unusable.
- close() - Method in class io.vena.bosk.drivers.mongo.v3.MainDriver
- codecProviderFor(Bosk<R>) - Method in class io.vena.bosk.drivers.mongo.BsonPlugin
-
Note that the
CodecProviderisClass-based, so it has anemic type information for generics due to type erasure. - COLLECTION_NAME - Static variable in class io.vena.bosk.drivers.mongo.v3.MainDriver
E
- ECHO - Enum constant in enum class io.vena.bosk.drivers.mongo.MongoDriverSettings.FlushMode
-
The canonical implementation of
BoskDriver.flush(): performs a dummy write to the database, and waits for the corresponding event to arrive in the MongoDB change stream, thereby ensuring that all prior events have already been processed. - Experimental() - Constructor for class io.vena.bosk.drivers.mongo.MongoDriverSettings.Experimental
F
- factory(MongoClientSettings, MongoDriverSettings, BsonPlugin) - Static method in interface io.vena.bosk.drivers.mongo.MongoDriver
- flush() - Method in class io.vena.bosk.drivers.mongo.v3.MainDriver
G
- getCodec(Type, Class<T>, CodecRegistry, Bosk<R>) - Method in class io.vena.bosk.drivers.mongo.BsonPlugin
-
Like
codecProviderFor(bosk).get(targetType, registry)except this works more broadly because it can accept aParameterizedTypefor generic classes.
I
- initialRoot(Type) - Method in class io.vena.bosk.drivers.mongo.v3.MainDriver
- io.vena.bosk.drivers.mongo - package io.vena.bosk.drivers.mongo
- io.vena.bosk.drivers.mongo.v3 - package io.vena.bosk.drivers.mongo.v3
M
- MainDriver<R extends io.vena.bosk.Entity> - Class in io.vena.bosk.drivers.mongo.v3
-
This is the driver returned to the user by
MongoDriver.factory(com.mongodb.MongoClientSettings, io.vena.bosk.drivers.mongo.MongoDriverSettings, io.vena.bosk.drivers.mongo.BsonPlugin). - MainDriver(Bosk<R>, MongoClientSettings, MongoDriverSettings, BsonPlugin, BoskDriver<R>) - Constructor for class io.vena.bosk.drivers.mongo.v3.MainDriver
- MongoDriver<R extends io.vena.bosk.Entity> - Interface in io.vena.bosk.drivers.mongo
- MongoDriver.MongoDriverFactory<RR extends io.vena.bosk.Entity> - Interface in io.vena.bosk.drivers.mongo
- MongoDriverSettings - Class in io.vena.bosk.drivers.mongo
- MongoDriverSettings() - Constructor for class io.vena.bosk.drivers.mongo.MongoDriverSettings
- MongoDriverSettings.DatabaseFormat - Enum Class in io.vena.bosk.drivers.mongo
- MongoDriverSettings.Experimental - Class in io.vena.bosk.drivers.mongo
-
Settings with no guarantee of long-term support.
- MongoDriverSettings.FlushMode - Enum Class in io.vena.bosk.drivers.mongo
- MongoDriverSettings.ImplementationKind - Enum Class in io.vena.bosk.drivers.mongo
- MongoDriverSettings.Testing - Class in io.vena.bosk.drivers.mongo
-
Settings not meant to be used in production.
R
- refurbish() - Method in interface io.vena.bosk.drivers.mongo.MongoDriver
-
Deserializes and re-serializes the entire bosk contents, thus updating the database to match the current serialized format.
- refurbish() - Method in class io.vena.bosk.drivers.mongo.v3.MainDriver
- RESILIENT - Enum constant in enum class io.vena.bosk.drivers.mongo.MongoDriverSettings.ImplementationKind
-
Experimental
- REVISION_FIELD_ONLY - Enum constant in enum class io.vena.bosk.drivers.mongo.MongoDriverSettings.FlushMode
-
Experimental
S
- SINGLE_DOC - Enum constant in enum class io.vena.bosk.drivers.mongo.MongoDriverSettings.DatabaseFormat
- STABLE - Enum constant in enum class io.vena.bosk.drivers.mongo.MongoDriverSettings.ImplementationKind
-
The more mature, well-tested implementation.
- submitConditionalDeletion(Reference<T>, Reference<Identifier>, Identifier) - Method in class io.vena.bosk.drivers.mongo.v3.MainDriver
- submitConditionalReplacement(Reference<T>, T, Reference<Identifier>, Identifier) - Method in class io.vena.bosk.drivers.mongo.v3.MainDriver
- submitDeletion(Reference<T>) - Method in class io.vena.bosk.drivers.mongo.v3.MainDriver
- submitInitialization(Reference<T>, T) - Method in class io.vena.bosk.drivers.mongo.v3.MainDriver
- submitReplacement(Reference<T>, T) - Method in class io.vena.bosk.drivers.mongo.v3.MainDriver
T
- Testing() - Constructor for class io.vena.bosk.drivers.mongo.MongoDriverSettings.Testing
V
- valueOf(String) - Static method in enum class io.vena.bosk.drivers.mongo.MongoDriverSettings.DatabaseFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.vena.bosk.drivers.mongo.MongoDriverSettings.FlushMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.vena.bosk.drivers.mongo.MongoDriverSettings.ImplementationKind
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.vena.bosk.drivers.mongo.MongoDriverSettings.DatabaseFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.vena.bosk.drivers.mongo.MongoDriverSettings.FlushMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.vena.bosk.drivers.mongo.MongoDriverSettings.ImplementationKind
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form