T- The type managed by the
Recordinstances is represented by a
Recordsinstance. As of efficiency reasons, a
Recordsinstance can be iterated through, returning a single
Recordwithin each iteration. This approach is making it possible to query a DB in the background and just hold the
Recordinstances being served next in the
Recordsinstance (in memory).
The way how
Records instances manage their related
instances is implementation specific, a plain java implementation might use
some kind of collection for storing the
Record instances (this can
get memory intensive and not applicable when working with big data). A DB
implementation might retrieve the
Record instances in blocks one by
one, one after the other, by querying the DB accordingly (in terms of "next"
Copyright © 2016. All rights reserved.