Difference between revisions of "Ferreteria/v0.3/class"
< Ferreteria | v0.3
Jump to navigation
Jump to search
(list of traits is redundant when we have automated list of all classlike entities) |
|||
Line 3: | Line 3: | ||
==Data== | ==Data== | ||
===Root Classes=== | ===Root Classes=== | ||
− | * {{l/ferreteria/class|cIOSource}} | + | * {{l/ferreteria/class|cIOSource}} (TODO: rename to cDataSource) |
* {{l/ferreteria/class|cFieldRow}} | * {{l/ferreteria/class|cFieldRow}} | ||
* {{l/ferreteria/class|cPortalRow}} | * {{l/ferreteria/class|cPortalRow}} | ||
===Notes=== | ===Notes=== | ||
+ | Things in need of re-examination: | ||
+ | * interface ifSingleKeyedRow | ||
+ | |||
+ | * Standard storage-PortalRow class expects the Table to have the table name (via {{l/ferreteria/class|tTableSource}}, but other constructions are possible. | ||
+ | |||
''rearrangement in progress'' | ''rearrangement in progress'' | ||
Revision as of 21:45, 7 January 2019
Lists
Data
Root Classes
- cIOSource (TODO: rename to cDataSource)
- cFieldRow
- cPortalRow
Notes
Things in need of re-examination:
- interface ifSingleKeyedRow
- Standard storage-PortalRow class expects the Table to have the table name (via tTableSource, but other constructions are possible.
rearrangement in progress
Core functionality:
- handle current row - cFieldRow
- handle multiple rows
- sequential - tSequentialAccess
- status (how many rows found)
- position row cursor
- access current row
- end-of-rowset flag
- indexed
- sequential - tSequentialAccess
Database sources:
- manage what's in the source (selected, sequential access)
Currently, Table (Source) objects define:
- name of single-row class (cIOSource)
- name of database table or other SQL to access it (tQueryableSource)
There are two types of accessible data, when dealing with databases:
- data that has been loaded into a black-box "resource" rowset, and can be accessed sequentially
- data that is being stored in memory, and can be accessed by index (core functionality)