Package org.neo4j.gds.api
Class CSRGraphAdapter
- java.lang.Object
-
- org.neo4j.gds.api.GraphAdapter
-
- org.neo4j.gds.api.CSRGraphAdapter
-
- All Implemented Interfaces:
BatchNodeIterable,CSRGraph,Degrees,Graph,IdMap,NodeIterator,PartialIdMap,NodePropertyContainer,RelationshipIterator,RelationshipPredicate,RelationshipProperties
- Direct Known Subclasses:
NodeFilteredGraph
public abstract class CSRGraphAdapter extends GraphAdapter implements CSRGraph
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.neo4j.gds.api.BatchNodeIterable
BatchNodeIterable.BitSetIdIterator, BatchNodeIterable.IdIterable, BatchNodeIterable.IdIterator
-
Nested classes/interfaces inherited from interface org.neo4j.gds.api.IdMap
IdMap.NodeLabelConsumer
-
-
Field Summary
Fields Modifier and Type Field Description protected CSRGraphcsrGraph-
Fields inherited from class org.neo4j.gds.api.GraphAdapter
graph
-
Fields inherited from interface org.neo4j.gds.api.IdMap
NOT_FOUND, START_NODE_ID
-
-
Constructor Summary
Constructors Constructor Description CSRGraphAdapter(CSRGraph graph)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CSRGraphconcurrentCopy()java.util.Map<org.neo4j.gds.RelationshipType,Relationships.Topology>relationshipTopologies()-
Methods inherited from class org.neo4j.gds.api.GraphAdapter
asNodeFilteredGraph, availableNodeLabels, availableNodeProperties, batchIterables, canRelease, contains, degree, degreeWithoutParallelRelationships, exists, forEachNode, forEachNodeLabel, forEachRelationship, forEachRelationship, graph, hasLabel, hasRelationshipProperty, highestNeoId, isMultiGraph, nodeCount, nodeIterator, nodeIterator, nodeLabels, nodeProperties, nthTarget, relationshipCount, relationshipProperty, relationshipProperty, relationshipTypeFilteredGraph, release, releaseProperties, releaseTopology, rootIdMap, rootNodeCount, schema, streamRelationships, toMappedNodeId, toOriginalNodeId, toRootNodeId, withFilteredLabels
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.neo4j.gds.api.BatchNodeIterable
batchIterables
-
Methods inherited from interface org.neo4j.gds.api.Degrees
degree, degreeWithoutParallelRelationships
-
Methods inherited from interface org.neo4j.gds.api.Graph
asNodeFilteredGraph, canRelease, hasRelationshipProperty, isEmpty, isMultiGraph, nthTarget, relationshipCount, relationshipTypeFilteredGraph, release, releaseProperties, releaseTopology, schema
-
Methods inherited from interface org.neo4j.gds.api.IdMap
availableNodeLabels, contains, forEachNodeLabel, hasLabel, highestNeoId, nodeCount, nodeLabels, rootIdMap, safeToMappedNodeId, toOriginalNodeId, toRootNodeId, withFilteredLabels
-
Methods inherited from interface org.neo4j.gds.api.NodeIterator
forEachNode, nodeIterator, nodeIterator
-
Methods inherited from interface org.neo4j.gds.api.properties.nodes.NodePropertyContainer
availableNodeProperties, nodeProperties
-
Methods inherited from interface org.neo4j.gds.api.PartialIdMap
rootNodeCount, toMappedNodeId
-
Methods inherited from interface org.neo4j.gds.api.RelationshipIterator
forEachRelationship, forEachRelationship, streamRelationships
-
Methods inherited from interface org.neo4j.gds.api.RelationshipPredicate
exists
-
Methods inherited from interface org.neo4j.gds.api.RelationshipProperties
relationshipProperty, relationshipProperty
-
-
-
-
Field Detail
-
csrGraph
protected final CSRGraph csrGraph
-
-
Constructor Detail
-
CSRGraphAdapter
public CSRGraphAdapter(CSRGraph graph)
-
-
Method Detail
-
concurrentCopy
public CSRGraph concurrentCopy()
- Specified by:
concurrentCopyin interfaceCSRGraph- Specified by:
concurrentCopyin interfaceGraph- Specified by:
concurrentCopyin interfaceRelationshipIterator- Returns:
- a copy of this iterator that reuses new cursors internally, so that iterations happen independent from other iterations.
-
relationshipTopologies
public java.util.Map<org.neo4j.gds.RelationshipType,Relationships.Topology> relationshipTopologies()
- Specified by:
relationshipTopologiesin interfaceCSRGraph
-
-