I would like to be able to store and retrieve tripples of information quickly and easily.
The tripples would consist of:
int systemID (will change at runtime)
int objectID (all known at runtime)
string attributeName (all known at runtime)
I will have to search and retrieve the following types of queries:
systemID/objectID/*
systemID/objectID/specific attributeName
Is there an easier way and more effective way, than either:
a) storing all 3 in a datatype and then doing a linear search of all the entries
b) creating an array of all objectIDs. For each objectID create an array of attributeNames. For each attribute name have an array of the systems that correspond.
Thank you, and if I can provide any more information, please let me know.
-matt
The tripples would consist of:
int systemID (will change at runtime)
int objectID (all known at runtime)
string attributeName (all known at runtime)
I will have to search and retrieve the following types of queries:
systemID/objectID/*
systemID/objectID/specific attributeName
Is there an easier way and more effective way, than either:
a) storing all 3 in a datatype and then doing a linear search of all the entries
b) creating an array of all objectIDs. For each objectID create an array of attributeNames. For each attribute name have an array of the systems that correspond.
Thank you, and if I can provide any more information, please let me know.
-matt