01: package org.garret.rdf;
02:
03: import java.util.*;
04: import org.garret.perst.*;
05:
06: /**
07: * Root class for Perst storage
08: */
09: public class DatabaseRoot extends PersistentResource {
10: /**
11: * Root object in the graph
12: */
13: public VersionHistory rootObject;
14: /**
15: * Index used to access object by URI prefix
16: */
17: public Index prefixUriIndex;
18: /**
19: * Index used to access object by URI suffix
20: */
21: public Index suffixUriIndex;
22: /**
23: * Index used to search object by string property name:value pair
24: */
25: public Index strPropIndex;
26: /**
27: * Index used to search object by numeric property name:value pair
28: */
29: public Index numPropIndex;
30: /**
31: * Index used to search object by datetime property name:value pair
32: */
33: public Index timePropIndex;
34: /**
35: * Index used to search object by reference property name:value pair
36: */
37: public Index refPropIndex;
38: /**
39: * Index used to locate property definition by property name
40: */
41: public FieldIndex propDefIndex;
42: /**
43: * Index used to perform spatial search locating overlapped rectangles
44: */
45: public Index inverseIndex;
46: /**
47: * Inverse keywords index
48: */
49: public SpatialIndexR2 spatialIndex;
50: /**
51: * Set of the latest versions
52: */
53: public IPersistentSet latest;
54: /**
55: * Timestamp index
56: */
57: public FieldIndex timeIndex;
58: /**
59: * Type of the types
60: */
61: public VersionHistory metatype;
62: }
|