Objective-CclassKnowledgeGraphKit

@interface MAGraph : NSObject <MAGraphProxy>

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 229

  1. method+ (BOOL)copyPersistentStoreFromURL:(id)arg0 toURL:(id)arg1 error:(id *)arg2;
  2. method+ (id)defaultSpecification;
  3. method+ (BOOL)destroyPersistentStoreAtURL:(id)arg0 error:(id *)arg1;
  4. method+ (id)graph;
  5. method+ (id)graphJSONURLWithPath:(id)arg0 andName:(id)arg1;
  6. method+ (id)graphMLURLWithPath:(id)arg0 andName:(id)arg1;
  7. method+ (id)graphWithDefinitions:(id)arg0 constraints:(id)arg1 error:(id *)arg2;
  8. method+ (id)graphWithMergedGraphs:(id)arg0 strictNodes:(BOOL)arg1 strictEdges:(BOOL)arg2;
  9. method+ (id)graphWithVisualString:(id)arg0 error:(id *)arg1;
  10. method+ (void)initialize;
  11. method+ (BOOL)migratePersistentStoreFromURL:(id)arg0 toURL:(id)arg1 error:(id *)arg2;
  12. method+ (id)persistentStoreFileExtension;
  13. method+ (id)persistentStoreURLWithPath:(id)arg0 andName:(id)arg1;
  14. method+ (BOOL)populateGraph:(id)arg0 withDefinitions:(id)arg1 constraints:(id)arg2 error:(id *)arg3;
  15. method+ (id)scanGraphConstraintString:(id)arg0 error:(id *)arg1;
  16. method+ (BOOL)scanGraphElementOptionsString:(id)arg0 minimum:(unsigned long long *)arg1 maximum:(unsigned long long *)arg2 error:(id *)arg3;
  17. method+ (BOOL)scanGraphElementString:(id)arg0 type:(unsigned long long *)arg1 optionalName:(id *)arg2 label:(id *)arg3 optionalDomains:(id *)arg4 optionalProperties:(id *)arg5 error:(id *)arg6;
  18. method+ (BOOL)scanMatchString:(id)arg0 definitions:(id *)arg1 constraints:(id *)arg2 forCreation:(BOOL)arg3 error:(id *)arg4;
  19. method+ (id)visualStringWithFormat:(id)arg0 elements:(id)arg1;
  20. ivarunsigned long long _databaseStatus;+0x30
  21. ivarNSMutableDictionary *_domainByLabel;+0x18
  22. ivarKGStoredGraph *_graph;+0x8
  23. ivarNSMutableDictionary *_labelByDomain;+0x10
  24. ivarstruct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _labelMapLock;+0x20
  25. ivarMAGraphSpecification *_specification;+0x28
  26. method- (void).cxx_destruct;
  27. method- (id)_addEdgeWithLabel:(id)arg0 sourceNode:(id)arg1 targetNode:(id)arg2 domain:(unsigned short)arg3 weight:(float)arg4 properties:(id)arg5;
  28. method- (id)_addNodeWithLabel:(id)arg0 domain:(unsigned short)arg1 weight:(float)arg2 properties:(id)arg3;
  29. method- (id)_anyEdgeWithLabel:(id)arg0 sourceNode:(id)arg1 targetNode:(id)arg2 domain:(unsigned short)arg3 weight:(float)arg4 properties:(id)arg5;
  30. method- (id)_constraintAbstractEdgesFromAbstractNode:(id)arg0 inConstraints:(id *)arg1;
  31. method- (id)_edgeIdentifiersWithLabel:(id)arg0 domain:(unsigned short)arg1 properties:(id)arg2;
  32. method- (id)_graphDictionary;
  33. method- (id)_graphJSONDictionary;
  34. method- (id)_instantiateGraphWithStoreAtURL:(id)arg0 error:(id *)arg1;
  35. method- (void)_loadWithGraphDictionary:(id)arg0;
  36. method- (BOOL)_matchNode:(id)arg0 usingAbstractNode:(id)arg1 fromEdge:(id)arg2 atIteration:(unsigned long long)arg3 withDefinitions:(id)arg4 constraints:(id)arg5 unusedConstraints:(id)arg6 andSubGraph:(id)arg7 matchingNodeQueue:(id)arg8;
  37. method- (id)_nodeIdentifiersWithLabel:(id)arg0 domain:(unsigned short)arg1 properties:(id)arg2;
  38. method- (BOOL)_shouldFail;
  39. method- (id)abstractEdges;
  40. method- (id)addEdgeFromBase:(id)arg0 sourceNode:(id)arg1 targetNode:(id)arg2;
  41. method- (id)addEdgeWithLabel:(id)arg0 sourceNode:(id)arg1 targetNode:(id)arg2;
  42. method- (id)addEdgeWithLabel:(id)arg0 sourceNode:(id)arg1 targetNode:(id)arg2 domain:(unsigned short)arg3 weight:(float)arg4 properties:(id)arg5;
  43. method- (id)addNodeFromBase:(id)arg0;
  44. method- (id)addNodeWithLabel:(id)arg0;
  45. method- (id)addNodeWithLabel:(id)arg0 domain:(unsigned short)arg1 weight:(float)arg2 properties:(id)arg3;
  46. method- (id)addUniqueEdgeWithLabel:(id)arg0 sourceNode:(id)arg1 targetNode:(id)arg2 domain:(unsigned short)arg3 weight:(float)arg4 properties:(id)arg5;
  47. method- (void)addUniqueNode:(id)arg0 didInsert:(BOOL *)arg1;
  48. method- (id)addUniqueNodeWithLabel:(id)arg0 domain:(unsigned short)arg1 weight:(float)arg2 properties:(id)arg3 didCreate:(BOOL *)arg4;
  49. method- (id)addUniquelyIdentifiedNodeWithLabel:(id)arg0 domain:(unsigned short)arg1 weight:(float)arg2 properties:(id)arg3 didCreate:(BOOL *)arg4;
  50. method- (id)adjacencyWithEndNodeIdentifiers:(id)arg0 edgeFilter:(id)arg1 edgeType:(unsigned long long)arg2;
  51. method- (id)adjacencyWithSources:(id)arg0 relation:(id)arg1;
  52. method- (id)adjacencyWithStartNodeIdentifiers:(id)arg0 edgeFilter:(id)arg1 edgeType:(unsigned long long)arg2;
  53. method- (id)allEdges;
  54. method- (id)allNodes;
  55. method- (id)anyEdgeMatchingFilter:(id)arg0;
  56. method- (id)anyNodeForLabel:(id)arg0;
  57. method- (id)anyNodeForLabel:(id)arg0 domain:(unsigned short)arg1;
  58. method- (id)anyNodeForLabel:(id)arg0 domain:(unsigned short)arg1 properties:(id)arg2;
  59. method- (id)anyNodeMatchingFilter:(id)arg0;
  60. method- (void)breadthFirstSearchFromNode:(id)arg0 directed:(BOOL)arg1 usingBlock:(id /* block */)arg2;
  61. method- (void)closePersistentStore;
  62. method- (BOOL)compareWithPersistedState;
  63. method- (BOOL)conformsToGraphSchema:(id)arg0;
  64. method- (BOOL)copyPersistentStoreToURL:(id)arg0 error:(id *)arg1;
  65. method- (unsigned long long)databaseStatus;
  66. method- (id)databaseURL;
  67. method- (void)dealloc;
  68. method- (void)depthFirstSearchFromNode:(id)arg0 directed:(BOOL)arg1 usingBlock:(id /* block */)arg2;
  69. method- (id)description;
  70. method- (id)edgeForIdentifier:(unsigned long long)arg0;
  71. method- (id)edgeFromFetchedRowWithIdentifier:(int)arg0 domain:(short)arg1 label:(id)arg2 weight:(float)arg3 properties:(id)arg4 sourceNodeIdentifier:(int)arg5 targetNodeIdentifier:(int)arg6;
  72. method- (id)edgeIdentifiersMatchingFilter:(id)arg0;
  73. method- (id)edgeIdentifiersMatchingFilter:(id)arg0 intersectingIdentifiers:(id)arg1;
  74. method- (id)edgeIdentifiersOfType:(unsigned long long)arg0 betweenNodesForIdentifiers:(id)arg1 andNodesForIdentifiers:(id)arg2 matchingFilter:(id)arg3;
  75. method- (id)edgeIdentifiersOfType:(unsigned long long)arg0 onNodesForIdentifiers:(id)arg1 matchingFilter:(id)arg2;
  76. method- (id)edgeIdentifiersOfType:(unsigned long long)arg0 sourceNodeIdentifier:(unsigned long long)arg1 targetNodeIdentifier:(unsigned long long)arg2;
  77. method- (id)edgeSchemeWithLabel:(id)arg0 domain:(unsigned short)arg1 sourceNode:(id)arg2 targetNode:(id)arg3;
  78. method- (unsigned long long)edgesCount;
  79. method- (unsigned long long)edgesCountForLabel:(id)arg0;
  80. method- (unsigned long long)edgesCountForLabel:(id)arg0 domain:(unsigned short)arg1;
  81. method- (unsigned long long)edgesCountForLabel:(id)arg0 domain:(unsigned short)arg1 properties:(id)arg2;
  82. method- (id)edgesDomains;
  83. method- (id)edgesForIdentifiers:(id)arg0;
  84. method- (id)edgesForLabel:(id)arg0;
  85. method- (id)edgesForLabel:(id)arg0 domain:(unsigned short)arg1;
  86. method- (id)edgesForLabel:(id)arg0 domain:(unsigned short)arg1 properties:(id)arg2;
  87. method- (id)edgesLabels;
  88. method- (BOOL)edgesStoreWeakReferencesToNodes;
  89. method- (void)enterBatch;
  90. method- (void)enumerateDoublePropertyValuesForKey:(id)arg0 ofEdgesWithIdentifiers:(id)arg1 usingBlock:(id /* block */)arg2;
  91. method- (void)enumerateDoublePropertyValuesForKey:(id)arg0 ofNodesWithIdentifiers:(id)arg1 usingBlock:(id /* block */)arg2;
  92. method- (void)enumerateEdgesInDomain:(unsigned short)arg0 usingBlock:(id /* block */)arg1;
  93. method- (void)enumerateEdgesMatchingFilter:(id)arg0 usingBlock:(id /* block */)arg1;
  94. method- (void)enumerateEdgesWithBlock:(id /* block */)arg0;
  95. method- (void)enumerateEdgesWithIdentifiers:(id)arg0 usingBlock:(id /* block */)arg1;
  96. method- (void)enumerateEdgesWithLabel:(id)arg0 domain:(unsigned short)arg1 properties:(id)arg2 usingBlock:(id /* block */)arg3;
  97. method- (void)enumerateEdgesWithLabel:(id)arg0 domain:(unsigned short)arg1 usingBlock:(id /* block */)arg2;
  98. method- (void)enumerateIntegerPropertyValuesForKey:(id)arg0 ofEdgesWithIdentifiers:(id)arg1 usingBlock:(id /* block */)arg2;
  99. method- (void)enumerateIntegerPropertyValuesForKey:(id)arg0 ofNodesWithIdentifiers:(id)arg1 usingBlock:(id /* block */)arg2;
  100. method- (void)enumerateNodeIdentifiers:(id)arg0 sortedByDoublePropertyForName:(id)arg1 ascending:(BOOL)arg2 usingBlock:(id /* block */)arg3;
  101. method- (void)enumerateNodeIdentifiers:(id)arg0 sortedByIntegerPropertyForName:(id)arg1 ascending:(BOOL)arg2 usingBlock:(id /* block */)arg3;
  102. method- (void)enumerateNodeIdentifiers:(id)arg0 sortedByStringPropertyForName:(id)arg1 ascending:(BOOL)arg2 usingBlock:(id /* block */)arg3;
  103. method- (void)enumerateNodeIdentifiers:(id)arg0 sortedByUnsignedIntegerPropertyForName:(id)arg1 ascending:(BOOL)arg2 usingBlock:(id /* block */)arg3;
  104. method- (void)enumerateNodesInDomain:(unsigned short)arg0 usingBlock:(id /* block */)arg1;
  105. method- (void)enumerateNodesMatchingFilter:(id)arg0 usingBlock:(id /* block */)arg1;
  106. method- (void)enumerateNodesWithBlock:(id /* block */)arg0;
  107. method- (void)enumerateNodesWithIdentifiers:(id)arg0 sortedByFloatPropertyForName:(id)arg1 usingBlock:(id /* block */)arg2;
  108. method- (void)enumerateNodesWithIdentifiers:(id)arg0 sortedByIntegerPropertyForName:(id)arg1 usingBlock:(id /* block */)arg2;
  109. method- (void)enumerateNodesWithIdentifiers:(id)arg0 sortedByStringPropertyForName:(id)arg1 usingBlock:(id /* block */)arg2;
  110. method- (void)enumerateNodesWithIdentifiers:(id)arg0 usingBlock:(id /* block */)arg1;
  111. method- (void)enumerateNodesWithLabel:(id)arg0 domain:(unsigned short)arg1 properties:(id)arg2 usingBlock:(id /* block */)arg3;
  112. method- (void)enumerateNodesWithLabel:(id)arg0 domain:(unsigned short)arg1 usingBlock:(id /* block */)arg2;
  113. method- (void)enumeratePropertyValuesForKey:(id)arg0 ofEdgesWithIdentifiers:(id)arg1 usingBlock:(id /* block */)arg2;
  114. method- (void)enumeratePropertyValuesForKey:(id)arg0 ofNodesWithIdentifiers:(id)arg1 usingBlock:(id /* block */)arg2;
  115. method- (void)enumerateStringPropertyValuesForKey:(id)arg0 ofEdgesWithIdentifiers:(id)arg1 usingBlock:(id /* block */)arg2;
  116. method- (void)enumerateStringPropertyValuesForKey:(id)arg0 ofNodesWithIdentifiers:(id)arg1 usingBlock:(id /* block */)arg2;
  117. method- (void)enumerateUnsignedIntegerPropertyValuesForKey:(id)arg0 ofEdgesWithIdentifiers:(id)arg1 usingBlock:(id /* block */)arg2;
  118. method- (void)enumerateUnsignedIntegerPropertyValuesForKey:(id)arg0 ofNodesWithIdentifiers:(id)arg1 usingBlock:(id /* block */)arg2;
  119. method- (void)enumerateUnsignedLongLongPropertyValuesForKey:(id)arg0 ofEdgesWithIdentifiers:(id)arg1 usingBlock:(id /* block */)arg2;
  120. method- (void)enumerateUnsignedLongLongPropertyValuesForKey:(id)arg0 ofNodesWithIdentifiers:(id)arg1 usingBlock:(id /* block */)arg2;
  121. method- (void)executeGraphChangeRequest:(id)arg0;
  122. method- (BOOL)findAndResolveUniqueEdge:(id)arg0;
  123. method- (BOOL)findAndResolveUniqueNode:(id)arg0;
  124. method- (id)graph;
  125. method- (id)graphNode;
  126. method- (id)graphReference;
  127. method- (BOOL)hasPendingRead;
  128. method- (BOOL)hasPendingWrite;
  129. method- (unsigned long long)hash;
  130. method- (id)identifier;
  131. method- (id)init;
  132. method- (id)initWithDataURL:(id)arg0 error:(id *)arg1;
  133. method- (id)initWithGraphJSONURL:(id)arg0 error:(id *)arg1;
  134. method- (id)initWithGraphMLURL:(id)arg0 error:(id *)arg1;
  135. method- (id)initWithPersistenceOptions:(long long)arg0;
  136. method- (id)initWithPersistentStoreURL:(id)arg0 options:(long long)arg1 error:(id *)arg2;
  137. method- (id)initWithSpecification:(id)arg0;
  138. method- (id)initWithSpecification:(id)arg0 dataURL:(id)arg1 error:(id *)arg2;
  139. method- (id)initWithSpecification:(id)arg0 persistenceStoreURL:(id)arg1 error:(id *)arg2;
  140. method- (id)initWithSpecification:(id)arg0 persistenceStoreURL:(id)arg1 progressReporter:(id)arg2;
  141. method- (void)invalidateMemoryCaches;
  142. method- (BOOL)isEqual:(id)arg0;
  143. method- (BOOL)isReadOnly;
  144. method- (void)labelAndDomainFromLabels:(id)arg0 outLabel:(id *)arg1 outDomain:(unsigned short *)arg2;
  145. method- (void)labelsAndDomainsOfEdgesForIdentifiers:(id)arg0 labels:(id *)arg1 domains:(id *)arg2;
  146. method- (void)labelsAndDomainsOfNodesForIdentifiers:(id)arg0 labels:(id *)arg1 domains:(id *)arg2;
  147. method- (id)labelsForLabel:(id)arg0 domain:(unsigned short)arg1;
  148. method- (void)leaveBatch;
  149. method- (void)legacyRemoveEdges:(id)arg0;
  150. method- (void)legacyRemoveNodes:(id)arg0;
  151. method- (void)loadDomains:(id)arg0;
  152. method- (id)matchWithDefinitions:(id)arg0 constraints:(id)arg1 error:(id *)arg2;
  153. method- (id)matchWithVisualFormat:(id)arg0 elements:(id)arg1 error:(id *)arg2;
  154. method- (id)matchWithVisualString:(id)arg0 error:(id *)arg1;
  155. method- (id)mergeWithGraph:(id)arg0 strictNodes:(BOOL)arg1 strictEdges:(BOOL)arg2;
  156. method- (void)mergeWithGraph:(id)arg0 strictNodes:(BOOL)arg1 strictEdges:(BOOL)arg2 createdNodes:(out id *)arg3 createdEdges:(out id *)arg4;
  157. method- (id)mergeWithGraph:(id)arg0 strictNodes:(BOOL)arg1 strictEdges:(BOOL)arg2 saveToDatabase:(BOOL)arg3;
  158. method- (void)mergeWithGraph:(id)arg0 strictNodes:(BOOL)arg1 strictEdges:(BOOL)arg2 saveToDatabase:(BOOL)arg3 createdNodes:(out id *)arg4 createdEdges:(out id *)arg5;
  159. method- (BOOL)migratePersistentStoreToURL:(id)arg0 error:(id *)arg1;
  160. method- (id)neighborNodeIdentifiersWithStartNodeIdentifiers:(id)arg0 edgeType:(unsigned long long)arg1 edgeFilter:(id)arg2;
  161. method- (BOOL)noFatalError;
  162. method- (Class)nodeClass;
  163. method- (id)nodeForIdentifier:(unsigned long long)arg0;
  164. method- (id)nodeFromFetchedRowWithIdentifier:(int)arg0 domain:(short)arg1 label:(id)arg2 weight:(float)arg3 properties:(id)arg4;
  165. method- (id)nodeIdentifiersMatchingFilter:(id)arg0;
  166. method- (id)nodeIdentifiersMatchingFilter:(id)arg0 intersectingIdentifiers:(id)arg1;
  167. method- (id)nodeIdentifiersOfEdgeIdentifiers:(id)arg0 ofType:(unsigned long long)arg1;
  168. method- (id)nodeIdentifiersRelatedToSourceNodeIdentifiers:(id)arg0 relation:(id)arg1;
  169. method- (id)nodeSchemeWithLabel:(id)arg0 domain:(unsigned short)arg1;
  170. method- (unsigned long long)nodesCount;
  171. method- (unsigned long long)nodesCountForDomain:(unsigned short)arg0;
  172. method- (unsigned long long)nodesCountForLabel:(id)arg0;
  173. method- (unsigned long long)nodesCountForLabel:(id)arg0 domain:(unsigned short)arg1;
  174. method- (unsigned long long)nodesCountForLabel:(id)arg0 domain:(unsigned short)arg1 properties:(id)arg2;
  175. method- (id)nodesDomains;
  176. method- (id)nodesForDomain:(unsigned short)arg0;
  177. method- (id)nodesForDomain:(unsigned short)arg0 properties:(id)arg1;
  178. method- (id)nodesForIdentifiers:(id)arg0;
  179. method- (id)nodesForLabel:(id)arg0;
  180. method- (id)nodesForLabel:(id)arg0 domain:(unsigned short)arg1;
  181. method- (id)nodesForLabel:(id)arg0 domain:(unsigned short)arg1 properties:(id)arg2;
  182. method- (id)nodesLabels;
  183. method- (unsigned long long)numberOfEdgesMatchingFilter:(id)arg0;
  184. method- (unsigned long long)numberOfNodesMatchingFilter:(id)arg0;
  185. method- (id)orphanNodes;
  186. method- (void)persistModelProperties:(id)arg0 forEdgeWithIdentifier:(unsigned long long)arg1 clobberExisting:(BOOL)arg2;
  187. method- (void)persistModelProperties:(id)arg0 forNodeWithIdentifier:(unsigned long long)arg1 clobberExisting:(BOOL)arg2;
  188. method- (void)persistModelProperty:(id)arg0 forKey:(id)arg1 forEdgeWithIdentifier:(unsigned long long)arg2;
  189. method- (void)persistModelProperty:(id)arg0 forKey:(id)arg1 forNodeWithIdentifier:(unsigned long long)arg2;
  190. method- (void)persistWeight:(float)arg0 forEdgeWithIdentifier:(unsigned long long)arg1;
  191. method- (void)persistWeight:(float)arg0 forNodeWithIdentifier:(unsigned long long)arg1;
  192. method- (void)readUsingBlock:(id /* block */)arg0;
  193. method- (void)removeModelPropertiesForEdgeWithIdentifier:(unsigned long long)arg0;
  194. method- (void)removeModelPropertiesForNodeWithIdentifier:(unsigned long long)arg0;
  195. method- (void)removeModelPropertyForKey:(id)arg0 forEdgeWithIdentifier:(unsigned long long)arg1;
  196. method- (void)removeModelPropertyForKey:(id)arg0 forNodeWithIdentifier:(unsigned long long)arg1;
  197. method- (void)rollbackBatch;
  198. method- (BOOL)savePersistentStore;
  199. method- (void)savePersistentStoreWithCompletion:(id /* block */)arg0;
  200. method- (id)schema:(id)arg0;
  201. method- (id)selectBestRootNodeForPath:(id)arg0 withDefinitions:(id)arg1;
  202. method- (void)setHadFatalError;
  203. method- (void)setVersion:(unsigned long long)arg0;
  204. method- (id)shortestPathFromNode:(id)arg0 toNode:(id)arg1 directed:(BOOL)arg2;
  205. method- (id)sourcesByTargetWithEdgeIdentifiers:(id)arg0;
  206. method- (id)specification;
  207. method- (id)targetsBySourceWithEdgeIdentifiers:(id)arg0;
  208. method- (id)transitiveClosureNeighborNodeIdentifiersWithStartNodeIdentifiers:(id)arg0 edgeType:(unsigned long long)arg1 edgeFilter:(id)arg2;
  209. method- (void)unloadDomains:(id)arg0;
  210. method- (void)unloadEdge:(id)arg0;
  211. method- (BOOL)updateGraphWithVisualString:(id)arg0;
  212. method- (BOOL)usesClassADataProtection;
  213. method- (BOOL)usesClassBDataProtection;
  214. method- (BOOL)usesClassCDataProtection;
  215. method- (unsigned long long)version;
  216. method- (void)waitUntilQuiescentUsingBlock:(id /* block */)arg0;
  217. method- (BOOL)writeDataToURL:(id)arg0 error:(id *)arg1;
  218. method- (BOOL)writeGraphJSONToURL:(id)arg0 error:(id *)arg1;
  219. method- (void)writeUsingBlock:(id /* block */)arg0;
  220. property@property(readonly, nonatomic) unsigned long long databaseStatus;
  221. property@property(readonly, nonatomic) KGStoredGraph *graph;
  222. property@property(readonly) MAGraphReference *graphReference;
  223. property@property(readonly, nonatomic) NSUUID *identifier;
  224. property@property(readonly, nonatomic) BOOL isReadOnly;
  225. property@property(readonly) MAGraphSpecification *specification;
  226. property@property(readonly, nonatomic) BOOL usesClassADataProtection;
  227. property@property(readonly, nonatomic) BOOL usesClassBDataProtection;
  228. property@property(readonly, nonatomic) BOOL usesClassCDataProtection;
  229. property@property(nonatomic) unsigned long long version;
@interface MAGraph : NSObject <MAGraphProxy> {
    KGStoredGraph *_graph;
    NSMutableDictionary *_labelByDomain;
    NSMutableDictionary *_domainByLabel;
    struct os_unfair_lock_s _labelMapLock;
    MAGraphSpecification *_specification;
    unsigned long long _databaseStatus;
}

@property (nonatomic, readonly) KGStoredGraph *graph;
@property (nonatomic, readonly) unsigned long long databaseStatus;
@property (readonly) MAGraphSpecification *specification;
@property (nonatomic, readonly) NSUUID *identifier;
@property (nonatomic, readonly) BOOL isReadOnly;
@property (nonatomic, readonly) BOOL usesClassADataProtection;
@property (nonatomic, readonly) BOOL usesClassBDataProtection;
@property (nonatomic, readonly) BOOL usesClassCDataProtection;
@property (nonatomic) unsigned long long version;
@property (readonly) MAGraphReference *graphReference;

+ (void)initialize;
+ (id)graph;
+ (BOOL)copyPersistentStoreFromURL:(id)uRL toURL:(id)toURL error:(id *)error;
+ (id)defaultSpecification;
+ (BOOL)destroyPersistentStoreAtURL:(id)uRL error:(id *)error;
+ (id)graphWithVisualString:(id)visualString error:(id *)error;
+ (BOOL)migratePersistentStoreFromURL:(id)uRL toURL:(id)toURL error:(id *)error;
+ (id)persistentStoreURLWithPath:(id)path andName:(id)andName;
+ (id)graphJSONURLWithPath:(id)path andName:(id)andName;
+ (id)graphMLURLWithPath:(id)path andName:(id)andName;
+ (id)graphWithDefinitions:(id)definitions constraints:(id)constraints error:(id *)error;
+ (id)graphWithMergedGraphs:(id)mergedGraphs strictNodes:(BOOL)strictNodes strictEdges:(BOOL)strictEdges;
+ (id)persistentStoreFileExtension;
+ (BOOL)populateGraph:(id)populateGraph withDefinitions:(id)withDefinitions constraints:(id)constraints error:(id *)error;
+ (id)scanGraphConstraintString:(id)scanGraphConstraintString error:(id *)error;
+ (BOOL)scanGraphElementOptionsString:(id)scanGraphElementOptionsString minimum:(unsigned long long *)minimum maximum:(unsigned long long *)maximum error:(id *)error;
+ (BOOL)scanGraphElementString:(id)scanGraphElementString type:(unsigned long long *)type optionalName:(id *)optionalName label:(id *)label optionalDomains:(id *)optionalDomains optionalProperties:(id *)optionalProperties error:(id *)error;
+ (BOOL)scanMatchString:(id)scanMatchString definitions:(id *)definitions constraints:(id *)constraints forCreation:(BOOL)forCreation error:(id *)error;
+ (id)visualStringWithFormat:(id)format elements:(id)elements;

- (BOOL)noFatalError;
- (id)initWithSpecification:(id)specification;
- (void)setVersion:(unsigned long long)version;
- (void)invalidateMemoryCaches;
- (unsigned long long)version;
- (id)identifier;
- (unsigned long long)hash;
- (id)specification;
- (BOOL)_shouldFail;
- (void).cxx_destruct;
- (id)graph;
- (void)dealloc;
- (BOOL)isEqual:(id)isEqual;
- (id)init;
- (unsigned long long)databaseStatus;
- (BOOL)isReadOnly;
- (id)databaseURL;
- (id)allNodes;
- (id)description;
- (id)addNodeWithLabel:(id)label;
- (id)allEdges;
- (id)edgesForLabel:(id)label;
- (void)enumerateEdgesWithBlock:(id /* block */)block;
- (void)enumerateNodesWithBlock:(id /* block */)block;
- (id)nodesForLabel:(id)label;
- (void)readUsingBlock:(id /* block */)block;
- (unsigned long long)edgesCount;
- (unsigned long long)nodesCount;
- (id)nodeForIdentifier:(unsigned long long)identifier;
- (id)addEdgeWithLabel:(id)label sourceNode:(id)sourceNode targetNode:(id)targetNode domain:(unsigned short)domain weight:(float)weight properties:(id)properties;
- (id)addUniqueNodeWithLabel:(id)label domain:(unsigned short)domain weight:(float)weight properties:(id)properties didCreate:(BOOL *)didCreate;
- (void)closePersistentStore;
- (id)edgeForIdentifier:(unsigned long long)identifier;
- (void)enterBatch;
- (void)executeGraphChangeRequest:(id)executeGraphChangeRequest;
- (id)initWithSpecification:(id)specification persistenceStoreURL:(id)persistenceStoreURL progressReporter:(id)progressReporter;
- (void)leaveBatch;
- (Class)nodeClass;
- (id)nodeIdentifiersMatchingFilter:(id)filter;
- (unsigned long long)nodesCountForLabel:(id)label;
- (void)writeUsingBlock:(id /* block */)block;
- (id)nodesForDomain:(unsigned short)domain;
- (BOOL)copyPersistentStoreToURL:(id)uRL error:(id *)error;
- (id)addNodeWithLabel:(id)label domain:(unsigned short)domain weight:(float)weight properties:(id)properties;
- (id)addUniqueEdgeWithLabel:(id)label sourceNode:(id)sourceNode targetNode:(id)targetNode domain:(unsigned short)domain weight:(float)weight properties:(id)properties;
- (void)addUniqueNode:(id)addUniqueNode didInsert:(BOOL *)didInsert;
- (id)addUniquelyIdentifiedNodeWithLabel:(id)label domain:(unsigned short)domain weight:(float)weight properties:(id)properties didCreate:(BOOL *)didCreate;
- (id)adjacencyWithSources:(id)sources relation:(id)relation;
- (id)anyNodeForLabel:(id)label domain:(unsigned short)domain;
- (id)anyNodeForLabel:(id)label domain:(unsigned short)domain properties:(id)properties;
- (id)anyNodeMatchingFilter:(id)filter;
- (id)edgeIdentifiersMatchingFilter:(id)filter;
- (id)edgeIdentifiersOfType:(unsigned long long)type betweenNodesForIdentifiers:(id)identifiers andNodesForIdentifiers:(id)identifiers matchingFilter:(id)matchingFilter;
- (id)edgeSchemeWithLabel:(id)label domain:(unsigned short)domain sourceNode:(id)sourceNode targetNode:(id)targetNode;
- (unsigned long long)edgesCountForLabel:(id)label domain:(unsigned short)domain;
- (id)edgesDomains;
- (id)edgesForIdentifiers:(id)identifiers;
- (id)edgesForLabel:(id)label domain:(unsigned short)domain;
- (id)edgesLabels;
- (void)enumerateEdgesWithLabel:(id)label domain:(unsigned short)domain properties:(id)properties usingBlock:(id /* block */)usingBlock;
- (void)enumerateEdgesWithLabel:(id)label domain:(unsigned short)domain usingBlock:(id /* block */)usingBlock;
- (void)enumerateNodesInDomain:(unsigned short)domain usingBlock:(id /* block */)usingBlock;
- (void)enumerateNodesMatchingFilter:(id)filter usingBlock:(id /* block */)usingBlock;
- (void)enumerateNodesWithLabel:(id)label domain:(unsigned short)domain properties:(id)properties usingBlock:(id /* block */)usingBlock;
- (void)enumerateNodesWithLabel:(id)label domain:(unsigned short)domain usingBlock:(id /* block */)usingBlock;
- (BOOL)findAndResolveUniqueEdge:(id)resolveUniqueEdge;
- (BOOL)findAndResolveUniqueNode:(id)resolveUniqueNode;
- (id)graphReference;
- (id)initWithPersistentStoreURL:(id)persistentStoreURL options:(long long)options error:(id *)error;
- (void)legacyRemoveEdges:(id)legacyRemoveEdges;
- (id)matchWithVisualFormat:(id)visualFormat elements:(id)elements error:(id *)error;
- (id)nodeIdentifiersMatchingFilter:(id)filter intersectingIdentifiers:(id)intersectingIdentifiers;
- (id)nodeSchemeWithLabel:(id)label domain:(unsigned short)domain;
- (unsigned long long)nodesCountForDomain:(unsigned short)domain;
- (unsigned long long)nodesCountForLabel:(id)label domain:(unsigned short)domain;
- (id)nodesDomains;
- (id)nodesForLabel:(id)label domain:(unsigned short)domain;
- (id)nodesForLabel:(id)label domain:(unsigned short)domain properties:(id)properties;
- (id)nodesLabels;
- (unsigned long long)numberOfNodesMatchingFilter:(id)filter;
- (void)persistModelProperties:(id)persistModelProperties forEdgeWithIdentifier:(unsigned long long)identifier clobberExisting:(BOOL)clobberExisting;
- (void)persistModelProperties:(id)persistModelProperties forNodeWithIdentifier:(unsigned long long)identifier clobberExisting:(BOOL)clobberExisting;
- (void)persistModelProperty:(id)persistModelProperty forKey:(id)forKey forEdgeWithIdentifier:(unsigned long long)identifier;
- (void)persistModelProperty:(id)persistModelProperty forKey:(id)forKey forNodeWithIdentifier:(unsigned long long)identifier;
- (void)removeModelPropertyForKey:(id)key forNodeWithIdentifier:(unsigned long long)identifier;
- (void)rollbackBatch;
- (BOOL)savePersistentStore;
- (BOOL)writeDataToURL:(id)uRL error:(id *)error;
- (BOOL)hasPendingWrite;
- (BOOL)edgesStoreWeakReferencesToNodes;
- (id)schema:(id)schema;
- (id)_addEdgeWithLabel:(id)label sourceNode:(id)sourceNode targetNode:(id)targetNode domain:(unsigned short)domain weight:(float)weight properties:(id)properties;
- (id)_addNodeWithLabel:(id)label domain:(unsigned short)domain weight:(float)weight properties:(id)properties;
- (id)_anyEdgeWithLabel:(id)label sourceNode:(id)sourceNode targetNode:(id)targetNode domain:(unsigned short)domain weight:(float)weight properties:(id)properties;
- (id)_constraintAbstractEdgesFromAbstractNode:(id)abstractNode inConstraints:(id *)inConstraints;
- (id)_edgeIdentifiersWithLabel:(id)label domain:(unsigned short)domain properties:(id)properties;
- (id)_graphDictionary;
- (id)_graphJSONDictionary;
- (id)_instantiateGraphWithStoreAtURL:(id)uRL error:(id *)error;
- (void)_loadWithGraphDictionary:(id)graphDictionary;
- (BOOL)_matchNode:(id)_matchNode usingAbstractNode:(id)usingAbstractNode fromEdge:(id)fromEdge atIteration:(unsigned long long)atIteration withDefinitions:(id)withDefinitions constraints:(id)constraints unusedConstraints:(id)unusedConstraints andSubGraph:(id)andSubGraph matchingNodeQueue:(id)matchingNodeQueue;
- (id)_nodeIdentifiersWithLabel:(id)label domain:(unsigned short)domain properties:(id)properties;
- (id)abstractEdges;
- (id)addEdgeFromBase:(id)base sourceNode:(id)sourceNode targetNode:(id)targetNode;
- (id)addEdgeWithLabel:(id)label sourceNode:(id)sourceNode targetNode:(id)targetNode;
- (id)addNodeFromBase:(id)base;
- (id)adjacencyWithEndNodeIdentifiers:(id)endNodeIdentifiers edgeFilter:(id)edgeFilter edgeType:(unsigned long long)edgeType;
- (id)adjacencyWithStartNodeIdentifiers:(id)startNodeIdentifiers edgeFilter:(id)edgeFilter edgeType:(unsigned long long)edgeType;
- (id)anyEdgeMatchingFilter:(id)filter;
- (id)anyNodeForLabel:(id)label;
- (void)breadthFirstSearchFromNode:(id)node directed:(BOOL)directed usingBlock:(id /* block */)usingBlock;
- (BOOL)compareWithPersistedState;
- (BOOL)conformsToGraphSchema:(id)graphSchema;
- (void)depthFirstSearchFromNode:(id)node directed:(BOOL)directed usingBlock:(id /* block */)usingBlock;
- (id)edgeFromFetchedRowWithIdentifier:(int)identifier domain:(short)domain label:(id)label weight:(float)weight properties:(id)properties sourceNodeIdentifier:(int)sourceNodeIdentifier targetNodeIdentifier:(int)targetNodeIdentifier;
- (id)edgeIdentifiersMatchingFilter:(id)filter intersectingIdentifiers:(id)intersectingIdentifiers;
- (id)edgeIdentifiersOfType:(unsigned long long)type onNodesForIdentifiers:(id)identifiers matchingFilter:(id)matchingFilter;
- (id)edgeIdentifiersOfType:(unsigned long long)type sourceNodeIdentifier:(unsigned long long)sourceNodeIdentifier targetNodeIdentifier:(unsigned long long)targetNodeIdentifier;
- (unsigned long long)edgesCountForLabel:(id)label;
- (unsigned long long)edgesCountForLabel:(id)label domain:(unsigned short)domain properties:(id)properties;
- (id)edgesForLabel:(id)label domain:(unsigned short)domain properties:(id)properties;
- (void)enumerateDoublePropertyValuesForKey:(id)key ofEdgesWithIdentifiers:(id)identifiers usingBlock:(id /* block */)usingBlock;
- (void)enumerateDoublePropertyValuesForKey:(id)key ofNodesWithIdentifiers:(id)identifiers usingBlock:(id /* block */)usingBlock;
- (void)enumerateEdgesInDomain:(unsigned short)domain usingBlock:(id /* block */)usingBlock;
- (void)enumerateEdgesMatchingFilter:(id)filter usingBlock:(id /* block */)usingBlock;
- (void)enumerateEdgesWithIdentifiers:(id)identifiers usingBlock:(id /* block */)usingBlock;
- (void)enumerateIntegerPropertyValuesForKey:(id)key ofEdgesWithIdentifiers:(id)identifiers usingBlock:(id /* block */)usingBlock;
- (void)enumerateIntegerPropertyValuesForKey:(id)key ofNodesWithIdentifiers:(id)identifiers usingBlock:(id /* block */)usingBlock;
- (void)enumerateNodeIdentifiers:(id)enumerateNodeIdentifiers sortedByDoublePropertyForName:(id)name ascending:(BOOL)ascending usingBlock:(id /* block */)usingBlock;
- (void)enumerateNodeIdentifiers:(id)enumerateNodeIdentifiers sortedByIntegerPropertyForName:(id)name ascending:(BOOL)ascending usingBlock:(id /* block */)usingBlock;
- (void)enumerateNodeIdentifiers:(id)enumerateNodeIdentifiers sortedByStringPropertyForName:(id)name ascending:(BOOL)ascending usingBlock:(id /* block */)usingBlock;
- (void)enumerateNodeIdentifiers:(id)enumerateNodeIdentifiers sortedByUnsignedIntegerPropertyForName:(id)name ascending:(BOOL)ascending usingBlock:(id /* block */)usingBlock;
- (void)enumerateNodesWithIdentifiers:(id)identifiers sortedByFloatPropertyForName:(id)name usingBlock:(id /* block */)usingBlock;
- (void)enumerateNodesWithIdentifiers:(id)identifiers sortedByIntegerPropertyForName:(id)name usingBlock:(id /* block */)usingBlock;
- (void)enumerateNodesWithIdentifiers:(id)identifiers sortedByStringPropertyForName:(id)name usingBlock:(id /* block */)usingBlock;
- (void)enumerateNodesWithIdentifiers:(id)identifiers usingBlock:(id /* block */)usingBlock;
- (void)enumeratePropertyValuesForKey:(id)key ofEdgesWithIdentifiers:(id)identifiers usingBlock:(id /* block */)usingBlock;
- (void)enumeratePropertyValuesForKey:(id)key ofNodesWithIdentifiers:(id)identifiers usingBlock:(id /* block */)usingBlock;
- (void)enumerateStringPropertyValuesForKey:(id)key ofEdgesWithIdentifiers:(id)identifiers usingBlock:(id /* block */)usingBlock;
- (void)enumerateStringPropertyValuesForKey:(id)key ofNodesWithIdentifiers:(id)identifiers usingBlock:(id /* block */)usingBlock;
- (void)enumerateUnsignedIntegerPropertyValuesForKey:(id)key ofEdgesWithIdentifiers:(id)identifiers usingBlock:(id /* block */)usingBlock;
- (void)enumerateUnsignedIntegerPropertyValuesForKey:(id)key ofNodesWithIdentifiers:(id)identifiers usingBlock:(id /* block */)usingBlock;
- (void)enumerateUnsignedLongLongPropertyValuesForKey:(id)key ofEdgesWithIdentifiers:(id)identifiers usingBlock:(id /* block */)usingBlock;
- (void)enumerateUnsignedLongLongPropertyValuesForKey:(id)key ofNodesWithIdentifiers:(id)identifiers usingBlock:(id /* block */)usingBlock;
- (id)graphNode;
- (BOOL)hasPendingRead;
- (id)initWithDataURL:(id)dataURL error:(id *)error;
- (id)initWithGraphJSONURL:(id)uRL error:(id *)error;
- (id)initWithGraphMLURL:(id)graphMLURL error:(id *)error;
- (id)initWithPersistenceOptions:(long long)persistenceOptions;
- (id)initWithSpecification:(id)specification dataURL:(id)dataURL error:(id *)error;
- (id)initWithSpecification:(id)specification persistenceStoreURL:(id)persistenceStoreURL error:(id *)error;
- (void)labelAndDomainFromLabels:(id)labels outLabel:(id *)outLabel outDomain:(unsigned short *)outDomain;
- (void)labelsAndDomainsOfEdgesForIdentifiers:(id)identifiers labels:(id *)labels domains:(id *)domains;
- (void)labelsAndDomainsOfNodesForIdentifiers:(id)identifiers labels:(id *)labels domains:(id *)domains;
- (id)labelsForLabel:(id)label domain:(unsigned short)domain;
- (void)legacyRemoveNodes:(id)legacyRemoveNodes;
- (void)loadDomains:(id)loadDomains;
- (id)matchWithDefinitions:(id)definitions constraints:(id)constraints error:(id *)error;
- (id)matchWithVisualString:(id)visualString error:(id *)error;
- (id)mergeWithGraph:(id)graph strictNodes:(BOOL)strictNodes strictEdges:(BOOL)strictEdges;
- (void)mergeWithGraph:(id)graph strictNodes:(BOOL)strictNodes strictEdges:(BOOL)strictEdges createdNodes:(out id *)createdNodes createdEdges:(out id *)createdEdges;
- (id)mergeWithGraph:(id)graph strictNodes:(BOOL)strictNodes strictEdges:(BOOL)strictEdges saveToDatabase:(BOOL)database;
- (void)mergeWithGraph:(id)graph strictNodes:(BOOL)strictNodes strictEdges:(BOOL)strictEdges saveToDatabase:(BOOL)database createdNodes:(out id *)createdNodes createdEdges:(out id *)createdEdges;
- (BOOL)migratePersistentStoreToURL:(id)uRL error:(id *)error;
- (id)neighborNodeIdentifiersWithStartNodeIdentifiers:(id)startNodeIdentifiers edgeType:(unsigned long long)edgeType edgeFilter:(id)edgeFilter;
- (id)nodeFromFetchedRowWithIdentifier:(int)identifier domain:(short)domain label:(id)label weight:(float)weight properties:(id)properties;
- (id)nodeIdentifiersOfEdgeIdentifiers:(id)edgeIdentifiers ofType:(unsigned long long)ofType;
- (id)nodeIdentifiersRelatedToSourceNodeIdentifiers:(id)sourceNodeIdentifiers relation:(id)relation;
- (unsigned long long)nodesCountForLabel:(id)label domain:(unsigned short)domain properties:(id)properties;
- (id)nodesForDomain:(unsigned short)domain properties:(id)properties;
- (id)nodesForIdentifiers:(id)identifiers;
- (unsigned long long)numberOfEdgesMatchingFilter:(id)filter;
- (id)orphanNodes;
- (void)persistWeight:(float)persistWeight forEdgeWithIdentifier:(unsigned long long)identifier;
- (void)persistWeight:(float)persistWeight forNodeWithIdentifier:(unsigned long long)identifier;
- (void)removeModelPropertiesForEdgeWithIdentifier:(unsigned long long)identifier;
- (void)removeModelPropertiesForNodeWithIdentifier:(unsigned long long)identifier;
- (void)removeModelPropertyForKey:(id)key forEdgeWithIdentifier:(unsigned long long)identifier;
- (void)savePersistentStoreWithCompletion:(id /* block */)completion;
- (id)selectBestRootNodeForPath:(id)path withDefinitions:(id)withDefinitions;
- (void)setHadFatalError;
- (id)shortestPathFromNode:(id)node toNode:(id)toNode directed:(BOOL)directed;
- (id)sourcesByTargetWithEdgeIdentifiers:(id)edgeIdentifiers;
- (id)targetsBySourceWithEdgeIdentifiers:(id)edgeIdentifiers;
- (id)transitiveClosureNeighborNodeIdentifiersWithStartNodeIdentifiers:(id)startNodeIdentifiers edgeType:(unsigned long long)edgeType edgeFilter:(id)edgeFilter;
- (void)unloadDomains:(id)unloadDomains;
- (void)unloadEdge:(id)unloadEdge;
- (BOOL)updateGraphWithVisualString:(id)visualString;
- (BOOL)usesClassADataProtection;
- (BOOL)usesClassBDataProtection;
- (BOOL)usesClassCDataProtection;
- (void)waitUntilQuiescentUsingBlock:(id /* block */)block;
- (BOOL)writeGraphJSONToURL:(id)uRL error:(id *)error;

@end