mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Very quick description of what TripleDB is.
This commit is contained in:
parent
eaf77983a5
commit
d6f2742782
36
db/tripledb/README
Normal file
36
db/tripledb/README
Normal file
@ -0,0 +1,36 @@
|
||||
This is the TripleDB, a way of persistantly remembering "triples" of data.
|
||||
|
||||
Each entry is kind of a "subject-verb-object" set. For example, some
|
||||
entries might be:
|
||||
|
||||
Noun Verb Object
|
||||
=========================================
|
||||
File1 Length 1253254
|
||||
File1 MimeType text/html
|
||||
File1 Author Ralph
|
||||
File2 Length 32542
|
||||
File2 MimeType image/gif
|
||||
File2 Author Bertha
|
||||
|
||||
|
||||
This API is about storing, deleting, and querying such triples to a
|
||||
database. Each member of a triple can be a string, integer, or date.
|
||||
|
||||
For more details, read the API, in tdbapi.h.
|
||||
|
||||
|
||||
FAQ:
|
||||
|
||||
Q: "Hey! There's no Makefile!"
|
||||
A: Yeah, yeah, I know. This is developed as part of a project at
|
||||
work, and our Makefiles are all messed up. If you have one that fits in well
|
||||
with other stuff at mozilla.org, please feel free to contribute it.
|
||||
|
||||
Q: Um, so else here uses this?
|
||||
A: That's right. But this maps in pretty well to RDF, I believe. I wouldn't
|
||||
be surprised if someone decides to use it to store a biggish RDF database,
|
||||
and adds it to mozilla for that purpose.
|
||||
|
||||
|
||||
|
||||
- Terry Weissman terry@mozilla.org
|
36
tripledb/README
Normal file
36
tripledb/README
Normal file
@ -0,0 +1,36 @@
|
||||
This is the TripleDB, a way of persistantly remembering "triples" of data.
|
||||
|
||||
Each entry is kind of a "subject-verb-object" set. For example, some
|
||||
entries might be:
|
||||
|
||||
Noun Verb Object
|
||||
=========================================
|
||||
File1 Length 1253254
|
||||
File1 MimeType text/html
|
||||
File1 Author Ralph
|
||||
File2 Length 32542
|
||||
File2 MimeType image/gif
|
||||
File2 Author Bertha
|
||||
|
||||
|
||||
This API is about storing, deleting, and querying such triples to a
|
||||
database. Each member of a triple can be a string, integer, or date.
|
||||
|
||||
For more details, read the API, in tdbapi.h.
|
||||
|
||||
|
||||
FAQ:
|
||||
|
||||
Q: "Hey! There's no Makefile!"
|
||||
A: Yeah, yeah, I know. This is developed as part of a project at
|
||||
work, and our Makefiles are all messed up. If you have one that fits in well
|
||||
with other stuff at mozilla.org, please feel free to contribute it.
|
||||
|
||||
Q: Um, so else here uses this?
|
||||
A: That's right. But this maps in pretty well to RDF, I believe. I wouldn't
|
||||
be surprised if someone decides to use it to store a biggish RDF database,
|
||||
and adds it to mozilla for that purpose.
|
||||
|
||||
|
||||
|
||||
- Terry Weissman terry@mozilla.org
|
Loading…
Reference in New Issue
Block a user