SdbJoinTarget<JK extends SdbKey, JV extends SdbValue> class
abstract
What a join key is matched against.
Either a store, on its primary key (at most one record per key), or an index, on its index key (any number of records per key, a source record then giving one row per match).
It is exactly one of the two by construction: a join method takes one required SdbJoinTarget, so passing neither or both is a compile error rather than something failing at run time.
Build one with SdbJoinTarget.store / SdbJoinTarget.index, or with the
asJoinTarget getter on a store or an index ref.
Constructors
-
SdbJoinTarget.index(SdbIndexRef<
JK, JV, SdbIndexKey> index) -
Match the join key against
index.factory -
SdbJoinTarget.store(SdbStoreRef<
JK, JV> store) -
Match the join key against the primary key of
store.factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
index
→ SdbIndexRef<
JK, JV, SdbIndexKey> ? -
The index the join key is matched against, null when it is matched
against the primary key of store.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
store
→ SdbStoreRef<
JK, JV> -
The store holding the joined records, whichever way they are matched.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited