...
aspect | sub aspect | picture | space/time tradeoff | backwards compatibility | alternatives | notes | |||
---|---|---|---|---|---|---|---|---|---|
Data Storage | Where: Each FS's storage is represented by values as part of 1 Java object
| More space:
Faster: locality of reference high. | for reduced space / FS could:
| denormalized: each has cas ref, type ref, typesystem ref | |||||
Data Storage | "fs-id" - an int (dense) representing the unique ID of a FS.
| ||||||||
Data Storage | Feature Structure representation: as 3 Java objects:
| The offset array is an object that roughly corresponds to the _Type object in the JCas, in that provides a way to get from a designated field to the offset. The JCas provides this as special named fields, part of the _Type object. The CasObj provides this as an int array object. The cas ref is used for "addToIndexes" to locate the view containing the indexes to be added to. The offset array is shared among all FS associated with a particular type system. | cas ref is to one view; used for add/remove-indexes, getView, get the "fs-id" | ||||||
Data Storage | get set of features
| ||||||||
Views | |||||||||
Indexes |
...