On Wednesday, June 10, 2015 at 4:08:44 PM UTC+2, [email protected] wrote: > > Hi, > can you post your schema, because i don't sure if i have understand it > very well. > > Alessandro >
Well, its easy All Classes are Basic-Classes, without a Superclass. Execption Contracts, which is abstract and hat Stock, Forex, Future, Option as Childs Openinterest has one property: Date, and a linklist named contracts (pointing to a List of Contracts) Contract has a single Link to SubCategory Industries: [name], categories (linklist) -> Categories: [ name], subcategories (linklist) -> Subcategories: [name] contracts ( linklist ) -> Contracts [symbol][..] adapted from the TimeSeries-UseCase of the documentation In terms of a relational database its Industries(1)-(n)Categories(1)-(n)Subcategories(1)-(n)Contracts(n)-(1)OpenInterest The Query-Strategy is to start with a subset of Contracts and fetch the depending Subcategories, Categories and Industries simply by asking,which Industries are coverd by the set of contracts determined by OpenInterest. It offers me the chance become familar to the database-philosophy... But perhaps, there is a much simpler solution, too... -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
