qbit icon indicating copy to clipboard operation
qbit copied to clipboard

Storage format: Entity vs List<Eav>

Open d-r-q opened this issue 6 years ago • 1 comments

Actual behavior: trx log is stored as List[Eav].

This solution has several disadvantages:

  1. Redundant storage of Gids and attribute names
  2. ~Unclear how to implement (nested) Map attributes~
  3. Unclear how to support empty lists

As an alternative, trx may be stored as List[Entity]. Consider what is disadvantages of this solution and choose and implement one.

Probably it's worth to store trx as Map[EntityCollection,List[Entity]] (see #51).

d-r-q avatar Oct 23 '19 04:10 d-r-q

Related to #8

d-r-q avatar Oct 23 '19 14:10 d-r-q