Package org.neo4j.gds.core.utils.io.file
Class GraphStoreNodeVisitor
- java.lang.Object
-
- org.neo4j.internal.batchimport.input.InputEntityVisitor.Adapter
-
- org.neo4j.gds.core.utils.io.file.NodeVisitor
-
- org.neo4j.gds.core.utils.io.file.GraphStoreNodeVisitor
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.AutoCloseable
,org.neo4j.internal.batchimport.input.InputEntityVisitor
public class GraphStoreNodeVisitor extends NodeVisitor
-
-
Constructor Summary
Constructors Constructor Description GraphStoreNodeVisitor(org.neo4j.gds.api.schema.NodeSchema nodeSchema, NodesBuilder nodesBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endOfEntity()
protected void
exportElement()
void
flush()
protected void
forEachProperty(PropertyConsumer propertyConsumer)
protected void
forEachPropertyWithType(PropertyWithTypeConsumer propertyWithTypeConsumer)
boolean
property(java.lang.String key, java.lang.Object value)
-
Methods inherited from class org.neo4j.gds.core.utils.io.file.NodeVisitor
elementIdentifier, getPropertySchema, id, id, id, id, labels, labels
-
-
-
-
Constructor Detail
-
GraphStoreNodeVisitor
public GraphStoreNodeVisitor(org.neo4j.gds.api.schema.NodeSchema nodeSchema, NodesBuilder nodesBuilder)
-
-
Method Detail
-
exportElement
protected void exportElement()
-
property
public boolean property(java.lang.String key, java.lang.Object value)
- Specified by:
property
in interfaceorg.neo4j.internal.batchimport.input.InputEntityVisitor
- Overrides:
property
in classorg.neo4j.internal.batchimport.input.InputEntityVisitor.Adapter
-
endOfEntity
public void endOfEntity()
- Specified by:
endOfEntity
in interfaceorg.neo4j.internal.batchimport.input.InputEntityVisitor
- Overrides:
endOfEntity
in classorg.neo4j.internal.batchimport.input.InputEntityVisitor.Adapter
-
forEachProperty
protected void forEachProperty(PropertyConsumer propertyConsumer)
-
forEachPropertyWithType
protected void forEachPropertyWithType(PropertyWithTypeConsumer propertyWithTypeConsumer)
-
flush
public void flush() throws java.io.IOException
- Specified by:
flush
in interfacejava.io.Flushable
- Throws:
java.io.IOException
-
-