HProj class abstract

HProj is the common interface for HClient and HServer to provide access to a database tagged entity records.

See Project Haystack.

Implementers

Constructors

HProj()

Properties

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

Methods

about() Future<HDict>
/////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////// Get the summary 'about' information.
commit(Iterable<HDict> diffs, CommitOperator operator, {bool force = false}) Future<HGrid>
Commits a set of diffs.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onReadAll(String filter, int limit) Future<HGrid>
Subclass hook for read and readAll.
onReadById(HRef id) Future<HDict?>
Subclass hook for readById, return null if not found.
onReadByIds(List<HRef> ids) Future<HGrid>
Subclass hook for readByIds, return rows with nulls cells for each id not found.
read(String filter, {bool checked = true}) Future<HDict?>
/////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////// Query one entity record that matches the given filter.
readAll(String filter, {int limit = 2147483647}) Future<HGrid>
Calls "read" to query every entity record that matches given filter.
readById(HRef id, {bool checked = true}) Future<HDict?>
/////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////// Calls read to lookup an entity record by it's unique identifier.
readByIds(List<HRef> ids, {bool checked = true}) Future<HGrid>
Reads a list of entity records by their unique identifier.
toString() String
A string representation of this object.
inherited
watch(String id, {bool checked = true}) HWatch?
Looks up a watch by its unique identifier.
watches() List<HWatch>
List the open watches.
watchOpen(String dis, HNum lease) HWatch?
/////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////// Creates a watch with an empty subscriber list.

Operators

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