Package org.neo4j.gds.core.loading
Class CypherFactory
- java.lang.Object
-
- org.neo4j.gds.api.GraphStoreFactory<CSRGraphStore,CONFIG>
-
- org.neo4j.gds.api.CSRGraphStoreFactory<GraphProjectFromCypherConfig>
-
- org.neo4j.gds.core.loading.CypherFactory
-
public class CypherFactory extends CSRGraphStoreFactory<GraphProjectFromCypherConfig>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.neo4j.gds.api.GraphStoreFactory
GraphStoreFactory.ImportResult<STORE extends GraphStore>, GraphStoreFactory.Supplier
-
-
Field Summary
-
Fields inherited from class org.neo4j.gds.api.GraphStoreFactory
capabilities, dimensions, graphProjectConfig, loadingContext, progressTracker
-
-
Constructor Summary
Constructors Constructor Description CypherFactory(GraphProjectFromCypherConfig graphProjectConfig, GraphLoaderContext loadingContext)CypherFactory(GraphProjectFromCypherConfig graphProjectConfig, GraphLoaderContext loadingContext, org.neo4j.gds.core.GraphDimensions graphDimensions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CSRGraphStorebuild()protected org.neo4j.gds.api.schema.GraphSchemacomputeGraphSchema(IdMapAndProperties idMapAndProperties, RelationshipsAndProperties relationshipsAndProperties)org.neo4j.gds.core.utils.mem.MemoryEstimationestimateMemoryUsageAfterLoading()org.neo4j.gds.core.utils.mem.MemoryEstimationestimateMemoryUsageDuringLoading()org.neo4j.gds.core.GraphDimensionsestimationDimensions()protected ProgressTrackerinitProgressTracker()-
Methods inherited from class org.neo4j.gds.api.CSRGraphStoreFactory
createGraphStore, logLoadingSummary
-
Methods inherited from class org.neo4j.gds.api.GraphStoreFactory
dimensions, graphProjectConfig
-
-
-
-
Constructor Detail
-
CypherFactory
public CypherFactory(GraphProjectFromCypherConfig graphProjectConfig, GraphLoaderContext loadingContext)
-
CypherFactory
public CypherFactory(GraphProjectFromCypherConfig graphProjectConfig, GraphLoaderContext loadingContext, org.neo4j.gds.core.GraphDimensions graphDimensions)
-
-
Method Detail
-
estimateMemoryUsageDuringLoading
public final org.neo4j.gds.core.utils.mem.MemoryEstimation estimateMemoryUsageDuringLoading()
- Specified by:
estimateMemoryUsageDuringLoadingin classGraphStoreFactory<CSRGraphStore,GraphProjectFromCypherConfig>
-
estimateMemoryUsageAfterLoading
public org.neo4j.gds.core.utils.mem.MemoryEstimation estimateMemoryUsageAfterLoading()
- Specified by:
estimateMemoryUsageAfterLoadingin classGraphStoreFactory<CSRGraphStore,GraphProjectFromCypherConfig>
-
estimationDimensions
public org.neo4j.gds.core.GraphDimensions estimationDimensions()
- Overrides:
estimationDimensionsin classGraphStoreFactory<CSRGraphStore,GraphProjectFromCypherConfig>
-
computeGraphSchema
protected org.neo4j.gds.api.schema.GraphSchema computeGraphSchema(IdMapAndProperties idMapAndProperties, RelationshipsAndProperties relationshipsAndProperties)
- Specified by:
computeGraphSchemain classCSRGraphStoreFactory<GraphProjectFromCypherConfig>
-
build
public CSRGraphStore build()
- Specified by:
buildin classGraphStoreFactory<CSRGraphStore,GraphProjectFromCypherConfig>
-
initProgressTracker
protected ProgressTracker initProgressTracker()
- Specified by:
initProgressTrackerin classGraphStoreFactory<CSRGraphStore,GraphProjectFromCypherConfig>
-
-