SdbStoreRef<K extends KeyBase, V extends ValueBase> class abstract

A simple db store definition.

Available extensions

Constructors

SdbStoreRef.new(String name)
Store definition.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
Store name.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(SdbClient client, V value) Future<K>
Add a single record.
count(SdbClient client, {SdbBoundaries<K>? boundaries}) Future<int>
Count records.
delete(SdbClient client, {SdbBoundaries<K>? boundaries, int? offset, int? limit}) Future<void>
Delete records.
findRecordKeys(SdbClient client, {SdbBoundaries<K>? boundaries, int? offset, int? limit}) Future<List<SdbRecordKey<K, V>>>
Find records.
findRecords(SdbClient client, {SdbBoundaries<K>? boundaries, SdbFilter? filter, int? offset, int? limit}) Future<List<SdbRecordSnapshot<K, V>>>
Find records.
index<I extends IndexBase>(String name) SdbIndex1Ref<K, V, I>
Index reference on 1 field
index2<I1 extends IndexBase, I2 extends IndexBase>(String name) SdbIndex2Ref<K, V, I1, I2>
Index reference on 2 fields
index3<I1 extends IndexBase, I2 extends IndexBase, I3 extends IndexBase>(String name) SdbIndex3Ref<K, V, I1, I2, I3>
Index reference on 3 fields
index4<I1 extends IndexBase, I2 extends IndexBase, I3 extends IndexBase, I4 extends IndexBase>(String name) SdbIndex4Ref<K, V, I1, I2, I3, I4>
Index reference on 4 fields
lowerBoundary(K value, {bool? include = true}) SdbBoundary<K>
Lower boundary
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
put(SdbClient client, V value) Future<K>
Put a single record (when using inline keys)
record(K key) SdbRecordRef<K, V>
Record reference.
toString() String
A string representation of this object.
inherited
upperBoundary(K value, {bool? include = false}) SdbBoundary<K>
Upper boundary

Operators

operator ==(Object other) bool
The equality operator.
inherited