Graph class abstract

Constructors

Graph()

Properties

database → Database
no setter
eventManager → GraphEventManager
Gets the event manager.
no setter
hashCode → int
The hash code for this object.
no setterinherited
labelAnalyzer → LabelAnalyzer
Gets the label analyzer.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearAll() → Future<void>
Clears all data in the database.
clearEdges() → Future<void>
Clears all edges and their related data.
clearVertices() → Future<void>
Clears all vertices and their related data.
close() → Future<void>
createPropertyIndex(String propertyKey, {IndexEntityType entityType = IndexEntityType.vertices, String? indexName}) → Future<void>
Creates a property index.
dropPropertyIndex(String indexName) → Future<void>
Drops a property index.
getStatistics() → Future<GraphStatistics>
hasPropertyIndex(String propertyKey, {IndexEntityType entityType = IndexEntityType.vertices}) → Future<bool>
Checks if an index exists for the specified property.
listPropertyIndexes() → Future<List<PropertyIndexInfo>>
Gets a list of all created property indexes.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onEdgeLabelEvent(GraphEventCallback<EdgeLabelEvent> callback) → void
Registers an edge label event listener.
onLabelEvent(GraphEventCallback<LabelEvent> callback) → void
Registers a label event listener (convenience method).
onVertexLabelEvent(GraphEventCallback<VertexLabelEvent> callback) → void
Registers a vertex label event listener.
toString() → String
A string representation of this object.
inherited
transaction<T>(Future<T> action(Transaction txn)) → Future<T>
traversal() → TraversalSource

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromDatabase(Database database) → Graph
open(String path) → Future<Graph>
openInMemory() → Future<Graph>