Objective-CclassKnowledgeGraphKit
MAGraph
@interface MAGraph : NSObject <MAGraphProxy>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
- protocolMAGraphProxy
Members 229
- method
+ (BOOL)copyPersistentStoreFromURL:(id)arg0 toURL:(id)arg1 error:(id *)arg2; - method
+ (id)defaultSpecification; - method
+ (BOOL)destroyPersistentStoreAtURL:(id)arg0 error:(id *)arg1; - method
+ (id)graph; - method
+ (id)graphJSONURLWithPath:(id)arg0 andName:(id)arg1; - method
+ (id)graphMLURLWithPath:(id)arg0 andName:(id)arg1; - method
+ (id)graphWithDefinitions:(id)arg0 constraints:(id)arg1 error:(id *)arg2; - method
+ (id)graphWithMergedGraphs:(id)arg0 strictNodes:(BOOL)arg1 strictEdges:(BOOL)arg2; - method
+ (id)graphWithVisualString:(id)arg0 error:(id *)arg1; - method
+ (void)initialize; - method
+ (BOOL)migratePersistentStoreFromURL:(id)arg0 toURL:(id)arg1 error:(id *)arg2; - method
+ (id)persistentStoreFileExtension; - method
+ (id)persistentStoreURLWithPath:(id)arg0 andName:(id)arg1; - method
+ (BOOL)populateGraph:(id)arg0 withDefinitions:(id)arg1 constraints:(id)arg2 error:(id *)arg3; - method
+ (id)scanGraphConstraintString:(id)arg0 error:(id *)arg1; - method
+ (BOOL)scanGraphElementOptionsString:(id)arg0 minimum:(unsigned long long *)arg1 maximum:(unsigned long long *)arg2 error:(id *)arg3; - 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; - method
+ (BOOL)scanMatchString:(id)arg0 definitions:(id *)arg1 constraints:(id *)arg2 forCreation:(BOOL)arg3 error:(id *)arg4; - method
+ (id)visualStringWithFormat:(id)arg0 elements:(id)arg1; - ivar
unsigned long long _databaseStatus;+0x30 - ivar
NSMutableDictionary *_domainByLabel;+0x18 - ivar
KGStoredGraph *_graph;+0x8 - ivar
NSMutableDictionary *_labelByDomain;+0x10 - ivar
struct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _labelMapLock;+0x20 - ivar
MAGraphSpecification *_specification;+0x28 - method
- (void).cxx_destruct; - method
- (id)_addEdgeWithLabel:(id)arg0 sourceNode:(id)arg1 targetNode:(id)arg2 domain:(unsigned short)arg3 weight:(float)arg4 properties:(id)arg5; - method
- (id)_addNodeWithLabel:(id)arg0 domain:(unsigned short)arg1 weight:(float)arg2 properties:(id)arg3; - method
- (id)_anyEdgeWithLabel:(id)arg0 sourceNode:(id)arg1 targetNode:(id)arg2 domain:(unsigned short)arg3 weight:(float)arg4 properties:(id)arg5; - method
- (id)_constraintAbstractEdgesFromAbstractNode:(id)arg0 inConstraints:(id *)arg1; - method
- (id)_edgeIdentifiersWithLabel:(id)arg0 domain:(unsigned short)arg1 properties:(id)arg2; - method
- (id)_graphDictionary; - method
- (id)_graphJSONDictionary; - method
- (id)_instantiateGraphWithStoreAtURL:(id)arg0 error:(id *)arg1; - method
- (void)_loadWithGraphDictionary:(id)arg0; - 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; - method
- (id)_nodeIdentifiersWithLabel:(id)arg0 domain:(unsigned short)arg1 properties:(id)arg2; - method
- (BOOL)_shouldFail; - method
- (id)abstractEdges; - method
- (id)addEdgeFromBase:(id)arg0 sourceNode:(id)arg1 targetNode:(id)arg2; - method
- (id)addEdgeWithLabel:(id)arg0 sourceNode:(id)arg1 targetNode:(id)arg2; - method
- (id)addEdgeWithLabel:(id)arg0 sourceNode:(id)arg1 targetNode:(id)arg2 domain:(unsigned short)arg3 weight:(float)arg4 properties:(id)arg5; - method
- (id)addNodeFromBase:(id)arg0; - method
- (id)addNodeWithLabel:(id)arg0; - method
- (id)addNodeWithLabel:(id)arg0 domain:(unsigned short)arg1 weight:(float)arg2 properties:(id)arg3; - method
- (id)addUniqueEdgeWithLabel:(id)arg0 sourceNode:(id)arg1 targetNode:(id)arg2 domain:(unsigned short)arg3 weight:(float)arg4 properties:(id)arg5; - method
- (void)addUniqueNode:(id)arg0 didInsert:(BOOL *)arg1; - method
- (id)addUniqueNodeWithLabel:(id)arg0 domain:(unsigned short)arg1 weight:(float)arg2 properties:(id)arg3 didCreate:(BOOL *)arg4; - method
- (id)addUniquelyIdentifiedNodeWithLabel:(id)arg0 domain:(unsigned short)arg1 weight:(float)arg2 properties:(id)arg3 didCreate:(BOOL *)arg4; - method
- (id)adjacencyWithEndNodeIdentifiers:(id)arg0 edgeFilter:(id)arg1 edgeType:(unsigned long long)arg2; - method
- (id)adjacencyWithSources:(id)arg0 relation:(id)arg1; - method
- (id)adjacencyWithStartNodeIdentifiers:(id)arg0 edgeFilter:(id)arg1 edgeType:(unsigned long long)arg2; - method
- (id)allEdges; - method
- (id)allNodes; - method
- (id)anyEdgeMatchingFilter:(id)arg0; - method
- (id)anyNodeForLabel:(id)arg0; - method
- (id)anyNodeForLabel:(id)arg0 domain:(unsigned short)arg1; - method
- (id)anyNodeForLabel:(id)arg0 domain:(unsigned short)arg1 properties:(id)arg2; - method
- (id)anyNodeMatchingFilter:(id)arg0; - method
- (void)breadthFirstSearchFromNode:(id)arg0 directed:(BOOL)arg1 usingBlock:(id /* block */)arg2; - method
- (void)closePersistentStore; - method
- (BOOL)compareWithPersistedState; - method
- (BOOL)conformsToGraphSchema:(id)arg0; - method
- (BOOL)copyPersistentStoreToURL:(id)arg0 error:(id *)arg1; - method
- (unsigned long long)databaseStatus; - method
- (id)databaseURL; - method
- (void)dealloc; - method
- (void)depthFirstSearchFromNode:(id)arg0 directed:(BOOL)arg1 usingBlock:(id /* block */)arg2; - method
- (id)description; - method
- (id)edgeForIdentifier:(unsigned long long)arg0; - method
- (id)edgeFromFetchedRowWithIdentifier:(int)arg0 domain:(short)arg1 label:(id)arg2 weight:(float)arg3 properties:(id)arg4 sourceNodeIdentifier:(int)arg5 targetNodeIdentifier:(int)arg6; - method
- (id)edgeIdentifiersMatchingFilter:(id)arg0; - method
- (id)edgeIdentifiersMatchingFilter:(id)arg0 intersectingIdentifiers:(id)arg1; - method
- (id)edgeIdentifiersOfType:(unsigned long long)arg0 betweenNodesForIdentifiers:(id)arg1 andNodesForIdentifiers:(id)arg2 matchingFilter:(id)arg3; - method
- (id)edgeIdentifiersOfType:(unsigned long long)arg0 onNodesForIdentifiers:(id)arg1 matchingFilter:(id)arg2; - method
- (id)edgeIdentifiersOfType:(unsigned long long)arg0 sourceNodeIdentifier:(unsigned long long)arg1 targetNodeIdentifier:(unsigned long long)arg2; - method
- (id)edgeSchemeWithLabel:(id)arg0 domain:(unsigned short)arg1 sourceNode:(id)arg2 targetNode:(id)arg3; - method
- (unsigned long long)edgesCount; - method
- (unsigned long long)edgesCountForLabel:(id)arg0; - method
- (unsigned long long)edgesCountForLabel:(id)arg0 domain:(unsigned short)arg1; - method
- (unsigned long long)edgesCountForLabel:(id)arg0 domain:(unsigned short)arg1 properties:(id)arg2; - method
- (id)edgesDomains; - method
- (id)edgesForIdentifiers:(id)arg0; - method
- (id)edgesForLabel:(id)arg0; - method
- (id)edgesForLabel:(id)arg0 domain:(unsigned short)arg1; - method
- (id)edgesForLabel:(id)arg0 domain:(unsigned short)arg1 properties:(id)arg2; - method
- (id)edgesLabels; - method
- (BOOL)edgesStoreWeakReferencesToNodes; - method
- (void)enterBatch; - method
- (void)enumerateDoublePropertyValuesForKey:(id)arg0 ofEdgesWithIdentifiers:(id)arg1 usingBlock:(id /* block */)arg2; - method
- (void)enumerateDoublePropertyValuesForKey:(id)arg0 ofNodesWithIdentifiers:(id)arg1 usingBlock:(id /* block */)arg2; - method
- (void)enumerateEdgesInDomain:(unsigned short)arg0 usingBlock:(id /* block */)arg1; - method
- (void)enumerateEdgesMatchingFilter:(id)arg0 usingBlock:(id /* block */)arg1; - method
- (void)enumerateEdgesWithBlock:(id /* block */)arg0; - method
- (void)enumerateEdgesWithIdentifiers:(id)arg0 usingBlock:(id /* block */)arg1; - method
- (void)enumerateEdgesWithLabel:(id)arg0 domain:(unsigned short)arg1 properties:(id)arg2 usingBlock:(id /* block */)arg3; - method
- (void)enumerateEdgesWithLabel:(id)arg0 domain:(unsigned short)arg1 usingBlock:(id /* block */)arg2; - method
- (void)enumerateIntegerPropertyValuesForKey:(id)arg0 ofEdgesWithIdentifiers:(id)arg1 usingBlock:(id /* block */)arg2; - method
- (void)enumerateIntegerPropertyValuesForKey:(id)arg0 ofNodesWithIdentifiers:(id)arg1 usingBlock:(id /* block */)arg2; - method
- (void)enumerateNodeIdentifiers:(id)arg0 sortedByDoublePropertyForName:(id)arg1 ascending:(BOOL)arg2 usingBlock:(id /* block */)arg3; - method
- (void)enumerateNodeIdentifiers:(id)arg0 sortedByIntegerPropertyForName:(id)arg1 ascending:(BOOL)arg2 usingBlock:(id /* block */)arg3; - method
- (void)enumerateNodeIdentifiers:(id)arg0 sortedByStringPropertyForName:(id)arg1 ascending:(BOOL)arg2 usingBlock:(id /* block */)arg3; - method
- (void)enumerateNodeIdentifiers:(id)arg0 sortedByUnsignedIntegerPropertyForName:(id)arg1 ascending:(BOOL)arg2 usingBlock:(id /* block */)arg3; - method
- (void)enumerateNodesInDomain:(unsigned short)arg0 usingBlock:(id /* block */)arg1; - method
- (void)enumerateNodesMatchingFilter:(id)arg0 usingBlock:(id /* block */)arg1; - method
- (void)enumerateNodesWithBlock:(id /* block */)arg0; - method
- (void)enumerateNodesWithIdentifiers:(id)arg0 sortedByFloatPropertyForName:(id)arg1 usingBlock:(id /* block */)arg2; - method
- (void)enumerateNodesWithIdentifiers:(id)arg0 sortedByIntegerPropertyForName:(id)arg1 usingBlock:(id /* block */)arg2; - method
- (void)enumerateNodesWithIdentifiers:(id)arg0 sortedByStringPropertyForName:(id)arg1 usingBlock:(id /* block */)arg2; - method
- (void)enumerateNodesWithIdentifiers:(id)arg0 usingBlock:(id /* block */)arg1; - method
- (void)enumerateNodesWithLabel:(id)arg0 domain:(unsigned short)arg1 properties:(id)arg2 usingBlock:(id /* block */)arg3; - method
- (void)enumerateNodesWithLabel:(id)arg0 domain:(unsigned short)arg1 usingBlock:(id /* block */)arg2; - method
- (void)enumeratePropertyValuesForKey:(id)arg0 ofEdgesWithIdentifiers:(id)arg1 usingBlock:(id /* block */)arg2; - method
- (void)enumeratePropertyValuesForKey:(id)arg0 ofNodesWithIdentifiers:(id)arg1 usingBlock:(id /* block */)arg2; - method
- (void)enumerateStringPropertyValuesForKey:(id)arg0 ofEdgesWithIdentifiers:(id)arg1 usingBlock:(id /* block */)arg2; - method
- (void)enumerateStringPropertyValuesForKey:(id)arg0 ofNodesWithIdentifiers:(id)arg1 usingBlock:(id /* block */)arg2; - method
- (void)enumerateUnsignedIntegerPropertyValuesForKey:(id)arg0 ofEdgesWithIdentifiers:(id)arg1 usingBlock:(id /* block */)arg2; - method
- (void)enumerateUnsignedIntegerPropertyValuesForKey:(id)arg0 ofNodesWithIdentifiers:(id)arg1 usingBlock:(id /* block */)arg2; - method
- (void)enumerateUnsignedLongLongPropertyValuesForKey:(id)arg0 ofEdgesWithIdentifiers:(id)arg1 usingBlock:(id /* block */)arg2; - method
- (void)enumerateUnsignedLongLongPropertyValuesForKey:(id)arg0 ofNodesWithIdentifiers:(id)arg1 usingBlock:(id /* block */)arg2; - method
- (void)executeGraphChangeRequest:(id)arg0; - method
- (BOOL)findAndResolveUniqueEdge:(id)arg0; - method
- (BOOL)findAndResolveUniqueNode:(id)arg0; - method
- (id)graph; - method
- (id)graphNode; - method
- (id)graphReference; - method
- (BOOL)hasPendingRead; - method
- (BOOL)hasPendingWrite; - method
- (unsigned long long)hash; - method
- (id)identifier; - method
- (id)init; - method
- (id)initWithDataURL:(id)arg0 error:(id *)arg1; - method
- (id)initWithGraphJSONURL:(id)arg0 error:(id *)arg1; - method
- (id)initWithGraphMLURL:(id)arg0 error:(id *)arg1; - method
- (id)initWithPersistenceOptions:(long long)arg0; - method
- (id)initWithPersistentStoreURL:(id)arg0 options:(long long)arg1 error:(id *)arg2; - method
- (id)initWithSpecification:(id)arg0; - method
- (id)initWithSpecification:(id)arg0 dataURL:(id)arg1 error:(id *)arg2; - method
- (id)initWithSpecification:(id)arg0 persistenceStoreURL:(id)arg1 error:(id *)arg2; - method
- (id)initWithSpecification:(id)arg0 persistenceStoreURL:(id)arg1 progressReporter:(id)arg2; - method
- (void)invalidateMemoryCaches; - method
- (BOOL)isEqual:(id)arg0; - method
- (BOOL)isReadOnly; - method
- (void)labelAndDomainFromLabels:(id)arg0 outLabel:(id *)arg1 outDomain:(unsigned short *)arg2; - method
- (void)labelsAndDomainsOfEdgesForIdentifiers:(id)arg0 labels:(id *)arg1 domains:(id *)arg2; - method
- (void)labelsAndDomainsOfNodesForIdentifiers:(id)arg0 labels:(id *)arg1 domains:(id *)arg2; - method
- (id)labelsForLabel:(id)arg0 domain:(unsigned short)arg1; - method
- (void)leaveBatch; - method
- (void)legacyRemoveEdges:(id)arg0; - method
- (void)legacyRemoveNodes:(id)arg0; - method
- (void)loadDomains:(id)arg0; - method
- (id)matchWithDefinitions:(id)arg0 constraints:(id)arg1 error:(id *)arg2; - method
- (id)matchWithVisualFormat:(id)arg0 elements:(id)arg1 error:(id *)arg2; - method
- (id)matchWithVisualString:(id)arg0 error:(id *)arg1; - method
- (id)mergeWithGraph:(id)arg0 strictNodes:(BOOL)arg1 strictEdges:(BOOL)arg2; - method
- (void)mergeWithGraph:(id)arg0 strictNodes:(BOOL)arg1 strictEdges:(BOOL)arg2 createdNodes:(out id *)arg3 createdEdges:(out id *)arg4; - method
- (id)mergeWithGraph:(id)arg0 strictNodes:(BOOL)arg1 strictEdges:(BOOL)arg2 saveToDatabase:(BOOL)arg3; - method
- (void)mergeWithGraph:(id)arg0 strictNodes:(BOOL)arg1 strictEdges:(BOOL)arg2 saveToDatabase:(BOOL)arg3 createdNodes:(out id *)arg4 createdEdges:(out id *)arg5; - method
- (BOOL)migratePersistentStoreToURL:(id)arg0 error:(id *)arg1; - method
- (id)neighborNodeIdentifiersWithStartNodeIdentifiers:(id)arg0 edgeType:(unsigned long long)arg1 edgeFilter:(id)arg2; - method
- (BOOL)noFatalError; - method
- (Class)nodeClass; - method
- (id)nodeForIdentifier:(unsigned long long)arg0; - method
- (id)nodeFromFetchedRowWithIdentifier:(int)arg0 domain:(short)arg1 label:(id)arg2 weight:(float)arg3 properties:(id)arg4; - method
- (id)nodeIdentifiersMatchingFilter:(id)arg0; - method
- (id)nodeIdentifiersMatchingFilter:(id)arg0 intersectingIdentifiers:(id)arg1; - method
- (id)nodeIdentifiersOfEdgeIdentifiers:(id)arg0 ofType:(unsigned long long)arg1; - method
- (id)nodeIdentifiersRelatedToSourceNodeIdentifiers:(id)arg0 relation:(id)arg1; - method
- (id)nodeSchemeWithLabel:(id)arg0 domain:(unsigned short)arg1; - method
- (unsigned long long)nodesCount; - method
- (unsigned long long)nodesCountForDomain:(unsigned short)arg0; - method
- (unsigned long long)nodesCountForLabel:(id)arg0; - method
- (unsigned long long)nodesCountForLabel:(id)arg0 domain:(unsigned short)arg1; - method
- (unsigned long long)nodesCountForLabel:(id)arg0 domain:(unsigned short)arg1 properties:(id)arg2; - method
- (id)nodesDomains; - method
- (id)nodesForDomain:(unsigned short)arg0; - method
- (id)nodesForDomain:(unsigned short)arg0 properties:(id)arg1; - method
- (id)nodesForIdentifiers:(id)arg0; - method
- (id)nodesForLabel:(id)arg0; - method
- (id)nodesForLabel:(id)arg0 domain:(unsigned short)arg1; - method
- (id)nodesForLabel:(id)arg0 domain:(unsigned short)arg1 properties:(id)arg2; - method
- (id)nodesLabels; - method
- (unsigned long long)numberOfEdgesMatchingFilter:(id)arg0; - method
- (unsigned long long)numberOfNodesMatchingFilter:(id)arg0; - method
- (id)orphanNodes; - method
- (void)persistModelProperties:(id)arg0 forEdgeWithIdentifier:(unsigned long long)arg1 clobberExisting:(BOOL)arg2; - method
- (void)persistModelProperties:(id)arg0 forNodeWithIdentifier:(unsigned long long)arg1 clobberExisting:(BOOL)arg2; - method
- (void)persistModelProperty:(id)arg0 forKey:(id)arg1 forEdgeWithIdentifier:(unsigned long long)arg2; - method
- (void)persistModelProperty:(id)arg0 forKey:(id)arg1 forNodeWithIdentifier:(unsigned long long)arg2; - method
- (void)persistWeight:(float)arg0 forEdgeWithIdentifier:(unsigned long long)arg1; - method
- (void)persistWeight:(float)arg0 forNodeWithIdentifier:(unsigned long long)arg1; - method
- (void)readUsingBlock:(id /* block */)arg0; - method
- (void)removeModelPropertiesForEdgeWithIdentifier:(unsigned long long)arg0; - method
- (void)removeModelPropertiesForNodeWithIdentifier:(unsigned long long)arg0; - method
- (void)removeModelPropertyForKey:(id)arg0 forEdgeWithIdentifier:(unsigned long long)arg1; - method
- (void)removeModelPropertyForKey:(id)arg0 forNodeWithIdentifier:(unsigned long long)arg1; - method
- (void)rollbackBatch; - method
- (BOOL)savePersistentStore; - method
- (void)savePersistentStoreWithCompletion:(id /* block */)arg0; - method
- (id)schema:(id)arg0; - method
- (id)selectBestRootNodeForPath:(id)arg0 withDefinitions:(id)arg1; - method
- (void)setHadFatalError; - method
- (void)setVersion:(unsigned long long)arg0; - method
- (id)shortestPathFromNode:(id)arg0 toNode:(id)arg1 directed:(BOOL)arg2; - method
- (id)sourcesByTargetWithEdgeIdentifiers:(id)arg0; - method
- (id)specification; - method
- (id)targetsBySourceWithEdgeIdentifiers:(id)arg0; - method
- (id)transitiveClosureNeighborNodeIdentifiersWithStartNodeIdentifiers:(id)arg0 edgeType:(unsigned long long)arg1 edgeFilter:(id)arg2; - method
- (void)unloadDomains:(id)arg0; - method
- (void)unloadEdge:(id)arg0; - method
- (BOOL)updateGraphWithVisualString:(id)arg0; - method
- (BOOL)usesClassADataProtection; - method
- (BOOL)usesClassBDataProtection; - method
- (BOOL)usesClassCDataProtection; - method
- (unsigned long long)version; - method
- (void)waitUntilQuiescentUsingBlock:(id /* block */)arg0; - method
- (BOOL)writeDataToURL:(id)arg0 error:(id *)arg1; - method
- (BOOL)writeGraphJSONToURL:(id)arg0 error:(id *)arg1; - method
- (void)writeUsingBlock:(id /* block */)arg0; - property
@property(readonly, nonatomic) unsigned long long databaseStatus; - property
@property(readonly, nonatomic) KGStoredGraph *graph; - property
@property(readonly) MAGraphReference *graphReference; - property
@property(readonly, nonatomic) NSUUID *identifier; - property
@property(readonly, nonatomic) BOOL isReadOnly; - property
@property(readonly) MAGraphSpecification *specification; - property
@property(readonly, nonatomic) BOOL usesClassADataProtection; - property
@property(readonly, nonatomic) BOOL usesClassBDataProtection; - property
@property(readonly, nonatomic) BOOL usesClassCDataProtection; - property
@property(nonatomic) unsigned long long version;
Header
@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