Méthode |
Description |
|
__construct ( Bravo3\Orm\Drivers\Filesystem\Io\IoDriverInterface $io_driver ) |
|
|
addMultiValueIndex ( string $key, string | array $value ) : void |
Add one or many values to a list index |
|
addRef ( string $key, Ref $ref ) : void |
Add a ref to an entity |
|
addSortedIndex ( string $key, mixed $score, string $value ) : void |
Add or update an item in a sorted index |
|
clearMultiValueIndex ( string $key ) : void |
Clear all values from a set index |
|
clearRefs ( string $key ) : void |
Clear all refs from an entity (delete a ref list) |
|
clearSingleValueIndex ( string $key ) : string |
Clear the value of a key-value index |
|
clearSortedIndex ( string $key ) : void |
Clear an entire sorted index |
|
debugLog ( string $msg ) : void |
Create a debug log |
|
delete ( string $key ) : void |
Delete a primitive document |
|
flush ( ) : void |
Execute the current unit of work |
|
getMultiValueIndex ( string $key ) : string[] |
Get a list of all values on a set index |
|
getPreferredKeyScheme ( ) : Bravo3\Orm\KeySchemes\KeySchemeInterface |
Get the drivers preferred key scheme |
|
getRefs ( string $key ) : Ref[] |
Get all refs to an entity |
|
getSingleValueIndex ( string $key ) : string | null |
Get the value of a key-value index |
|
getSortedIndex ( string $key, boolean $reverse = false, integer $start = null, integer $stop = null ) : string[] |
Get a range of values in a sorted index |
|
getSortedIndexSize ( string $key ) : integer |
Get the size of a sorted index, without any filters applied |
|
persist ( string $key, SerialisedData $data, integer $ttl = null ) : void |
Persist some primitive data |
|
purge ( ) : void |
Purge the current unit of work, clearing any unexecuted commands |
|
removeMultiValueIndex ( string $key, string | array $value ) : void |
Remove one or more values from a set index |
|
removeRef ( string $key, Ref $ref ) : void |
Remove a ref from an entity |
|
removeSortedIndex ( string $key, string $value ) : void |
Remove an item from a sorted index |
|
retrieve ( string $key ) : SerialisedData |
Retrieve an object |
|
scan ( string $key ) : string[] |
Scan key-value indices and return the value of all matching keys |
|
setSingleValueIndex ( string $key, string $value ) : void |
Set a key-value index |
|