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) |
m (Woozle moved page Ferreteria/v3/class to Ferreteria/v0.3/class: version renumbering) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | == | + | {| align=right |
− | + | |- | |
− | == | + | | |
+ | ===All Classes=== | ||
+ | {{#ask: [[thing type::Ferreteria/class]] | ||
+ | [[version::v3]] | ||
+ | |format=broadtable | ||
+ | |limit=50 | ||
+ | |offset=0 | ||
+ | |link=all | ||
+ | |sort= | ||
+ | |order=asc | ||
+ | |headers=show | ||
+ | |searchlabel=... further results | ||
+ | |class=sortable wikitable smwtable | ||
+ | }} | ||
+ | |} | ||
===Root Classes=== | ===Root Classes=== | ||
− | * {{l/ | + | * {{l/version|class|cIOSource}} (TODO: rename to cDataSource) |
− | * {{l/ | + | * {{l/version|class|cFieldRow}} |
− | * {{l/ | + | * {{l/version|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'' | ||
Core functionality: | Core functionality: | ||
− | * handle current row - {{l/ | + | * handle current row - {{l/version|class|cFieldRow}} |
* handle multiple rows | * handle multiple rows | ||
− | ** sequential - {{l/ | + | ** sequential - {{l/version|class|tSequentialAccess}} |
*** status (how many rows found) | *** status (how many rows found) | ||
*** position row cursor | *** position row cursor | ||
Line 23: | Line 42: | ||
Currently, Table (Source) objects define: | Currently, Table (Source) objects define: | ||
− | * name of single-row class ({{l/ | + | * name of single-row class ({{l/version|class|cIOSource}}) |
− | * name of database table or other SQL to access it ({{l/ | + | * name of database table or other SQL to access it ({{l/version|class|tQueryableSource}}) |
There are two types of accessible data, when dealing with databases: | 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 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) | * data that is being stored in memory, and can be accessed by index (core functionality) |
Latest revision as of 15:28, 3 February 2020
All Classes |
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)