Package org.neo4j.graphalgo.core.loading
Class CypherFactory
- java.lang.Object
-
- org.neo4j.graphalgo.api.GraphStoreFactory<GraphCreateFromCypherConfig>
-
- org.neo4j.graphalgo.core.loading.CypherFactory
-
- All Implemented Interfaces:
Assessable
public class CypherFactory extends GraphStoreFactory<GraphCreateFromCypherConfig>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.neo4j.graphalgo.api.GraphStoreFactory
GraphStoreFactory.ImportResult, GraphStoreFactory.RelationshipImportResult, GraphStoreFactory.Supplier
-
-
Field Summary
-
Fields inherited from class org.neo4j.graphalgo.api.GraphStoreFactory
dimensions, graphCreateConfig, loadingContext, progressLogger, TASK_LOADING
-
-
Constructor Summary
Constructors Constructor Description CypherFactory(GraphCreateFromCypherConfig graphCreateConfig, GraphLoaderContext loadingContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphStoreFactory.ImportResult
build()
protected ProgressLogger
initProgressLogger()
MemoryEstimation
memoryEstimation()
Returns an estimation about the memory consumption of that algorithm.MemoryEstimation
memoryEstimation(GraphDimensions dimensions)
-
Methods inherited from class org.neo4j.graphalgo.api.GraphStoreFactory
createGraphStore, dimensions
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.neo4j.graphalgo.core.utils.mem.Assessable
memoryEstimation
-
-
-
-
Constructor Detail
-
CypherFactory
public CypherFactory(GraphCreateFromCypherConfig graphCreateConfig, GraphLoaderContext loadingContext)
-
-
Method Detail
-
memoryEstimation
public final MemoryEstimation memoryEstimation()
Description copied from interface:Assessable
Returns an estimation about the memory consumption of that algorithm. The memory estimation can be used to compute the actual consumption depending onGraphDimensions
and concurrency.- Returns:
- memory estimation
- See Also:
MemoryEstimations
,MemoryEstimation.estimate(GraphDimensions, int)
-
memoryEstimation
public MemoryEstimation memoryEstimation(GraphDimensions dimensions)
- Specified by:
memoryEstimation
in classGraphStoreFactory<GraphCreateFromCypherConfig>
-
build
public GraphStoreFactory.ImportResult build()
- Specified by:
build
in classGraphStoreFactory<GraphCreateFromCypherConfig>
-
initProgressLogger
protected ProgressLogger initProgressLogger()
- Specified by:
initProgressLogger
in classGraphStoreFactory<GraphCreateFromCypherConfig>
-
-