Projection Storage
The storage used by projection repositories for keeping Projections and the timestamp of the last event processed by the projection repository.
This timestamp is used for 'catch-up' operation of the projection repositories.
Parameters
<I>
the type of stream projection IDs
Inheritors
Constructors
Link copied to clipboard
protected void ProjectionStorage(Class<? extends Projection<? extends Object, ? extends Object, ? extends Object>> projectionClass, boolean multitenant)
Functions
Link copied to clipboard
Obtains an iterator for reading records matching the query, and applying the passed field mask to the results.
Link copied to clipboard
Reads a record from the storage by the passed ID.
Link copied to clipboard
Returns an entity storage implementation.
Link copied to clipboard
Writes a record and the associated column values into the storage.
Link copied to clipboard
Writes a bulk of records into the storage.
Inherited functions
Link copied to clipboard
Ensures the storage is not closed.
Link copied to clipboard
Obtains a list of columns of the managed Entity.
Link copied to clipboard
Verifies whether the storage is multitenant.
Link copied to clipboard
Returns a
Map
of columns corresponded to the lifecycle storage fields of the Entity class managed by this storage.Link copied to clipboard
Reads all the active records from the storage.
Reads all active items from the storage and apply FieldMask to each of the results.
Reads all the records matching the given EntityQuery and applies the given FieldMask to the resulting record states.
Link copied to clipboard
Obtains an iterator for reading all records.
Link copied to clipboard
Reads the lifecycle status for the entity with the passed ID.
Link copied to clipboard
Reads the active records with the given IDs from the storage.
Reads multiple active items from the storage and applies FieldMask to the results.
Link copied to clipboard
Obtains an iterator for reading multiple records by IDs, and applying the passed field mask to the results.
Link copied to clipboard
Writes a bulk of records into the storage.
Writes a record into the storage.
Writes a record and its columns into the storage.
Link copied to clipboard
Writes the lifecycle status for the entity with the passed ID.