Exemple #1
0
 /// <summary>
 /// Creates a new instance of VertexType.
 /// </summary>
 /// <param name="myVertexTypeVertex">An IVertex that represents the vertex type.</param>
 internal VertexType(IVertex myVertexTypeVertex, BaseGraphStorageManager myBaseStorageManager)
     : base(myVertexTypeVertex, myBaseStorageManager)
 {
     _hasOwnUniques = HasOutgoingEdge(AttributeDefinitions.VertexTypeDotUniquenessDefinitions);
     _hasOwnIndices = HasIncomingVertices(BaseTypes.Index, AttributeDefinitions.IndexDotDefiningVertexType);
     _hasChilds = HasIncomingVertices(BaseTypes.VertexType, AttributeDefinitions.VertexTypeDotParent);
 }
Exemple #2
0
 public void Initialize(IMetaManager myMetaManager)
 {
     _vertexTypeManager = myMetaManager.VertexTypeManager;
     _vertexStore = myMetaManager.VertexStore;
     _baseStorageManager = myMetaManager.BaseGraphStorageManager;
 }
Exemple #3
0
 public EdgeType(IVertex myVertex, BaseGraphStorageManager myBaseStorageManager)
     : base(myVertex, myBaseStorageManager)
 {
     _hasChilds = HasIncomingVertices(BaseTypes.EdgeType, AttributeDefinitions.EdgeTypeDotParent);
 }
 /// <summary>
 /// Creates a new instance of DBCreationManager.
 /// </summary>
 /// <param name="mySecurityToken">The root security token... can be left out</param>
 /// <param name="myTransactionToken">The root transaction token... can be left out</param>
 public DBCreationManager(SecurityToken mySecurityToken, Int64 myTransactionToken, BaseGraphStorageManager myStorageManager)
 {
     _security = mySecurityToken;
     _transaction = myTransactionToken;
     _storageManager = myStorageManager;
 }
Exemple #5
0
 /// <summary>
 /// Creates a new meta manager 
 /// </summary>
 /// <param name="myVertexStore">The vertex store on which all other manager rely on</param>
 /// <param name="myPlugins">The plugin definitions</param>
 /// <param name="myPluginManager">Used to load pluginable manager</param>
 /// <param name="myApplicationSettings">The current application settings</param>
 private MetaManager(IVertexStore myVertexStore, 
                     IDManager myIDManager, 
                     GraphDBPluginManager myPluginManager, 
                     GraphDBPlugins myPlugins, 
                     GraphApplicationSettings myApplicationSettings)
 {
     _vertexStore = myVertexStore;
     _vertexTypeManager = new VertexTypeManager(myIDManager);
     _vertexManager = new VertexManager(myIDManager);
     _edgeTypeManager = new EdgeTypeManager(myIDManager);
     _queryPlanManager = new QueryPlanManager();
     _indexManager = new IndexManager(myIDManager, myPluginManager, myApplicationSettings, myPlugins.IndexPlugins);
     _baseTypeManager = new BaseTypeManager();
     _baseGraphStorageManager = new BaseGraphStorageManager();
     _pluginManager = myPluginManager;
 }