DummyMapper class
A non-persisting dummy mapper for test purposes.
- Inheritance
-
- Object
- AbstractMapper
- DummyMapper
Constructors
- DummyMapper(String _owner)
Properties
- controller ↔ StorageController?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
nodes
→ Map<
String, Node> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
add(
Node node) → Future< void> -
Add a non existing node to the storage backend.
override
-
checkPath(
String path) → void -
inherited
-
close(
) → Future< void> -
closes the database backend and flushes all data.
override
-
delete(
String path) → Future< Node> -
Remove the named node.
override
-
flush(
) → Future< void> -
Flushes all data possible to the disk.
override
-
get(
String path) → Future< Node> -
Get a node by node name from the storage backend.
override
-
getSanity(
String? path) → void -
inherited
-
getValue(
String path, String key) → Future< NodeValue?> -
Fetch a value from a node.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rename(
String oldPath, String newPathOrName) → Future< void> -
Renames or moves an existing node.
override
-
search(
SearchCriteria criteria) → Future< List< Node> > -
Search all nodes matching the provided search criteria.
override
-
setController(
StorageController controller) → void -
Sets the controller to be used when creating skeletons.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
Node node) → Future< void> -
Update an already existing node with the current values.
override
-
zap(
) → Future< void> -
Zaps the current database and discards all values.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited