公开SNS社区即时找朋友链的源代码和部署方案(续一)

1) Versant数据库能够直接支持复杂的业务模型:html

public class Person {数据库

String firstName;数据结构

String lastName;spa

String gender;htm

String ethnicity;ci

String language;get

// 新增的节点it

int index = 5;io

Contact info;ast

Location location;

public String primaryCountry;

public String primaryAreaCode;

HashSet<Person> friends = new HashSet<Person>();

HashSet<Person> colleagues = new HashSet<Person>();

HashSet<Person> family = new HashSet<Person>();

HashSet<Person> relations = new HashSet<Person>();

}

Versant数据库能够直接支持包括HashSetLinkedList在内的复杂数据结构。

若须要了解其解决方案,请点击:http://wenku.baidu.com/view/f6b9081ba76e58fafab00343.html?st=1

若须要了解所有代码请回帖。

相关文章
相关标签/搜索