public RWRelation relation(String name) { return relation(null, name, null); }
public static RWRelation relation(Db db, String name) { return ((OhmDBImpl) db).relation(name); }
public RWRelation relation(String name) { return relation(null, name, null); }
public RWRelation relation(String name) { return relation(null, name, null); }
protected static RWRelation relation(Db db, Table<?> from, String name, Table<?> to) { return ((OhmDBImpl) db).relation(from, name, to); }
private void importRelations(long id) { int relN = (Integer) decode(); for (int i = 0; i < relN; i++) { String relName = (String) decode(); RelationInternals rel = (RelationInternals) relation(relName); int linksN = (Integer) decode(); for (int j = 0; j < linksN; j++) { long linkTo = (Long) decode(); rel.fill(id, linkTo); } } }
private void importRelations(long id) { int relN = (Integer) decode(); for (int i = 0; i < relN; i++) { String relName = (String) decode(); RelationInternals rel = (RelationInternals) relation(relName); int linksN = (Integer) decode(); for (int j = 0; j < linksN; j++) { long linkTo = (Long) decode(); rel.fill(id, linkTo); } } }
private void importRelations(long id) { int relN = (Integer) decode(); for (int i = 0; i < relN; i++) { String relName = (String) decode(); RelationInternals rel = (RelationInternals) relation(relName); int linksN = (Integer) decode(); for (int j = 0; j < linksN; j++) { long linkTo = (Long) decode(); rel.fill(id, linkTo); } } }