Package org.neo4j.gds.core.utils.io.file
Class GraphStoreRelationshipVisitor
- java.lang.Object
-
- org.neo4j.internal.batchimport.input.InputEntityVisitor.Adapter
-
- org.neo4j.gds.core.utils.io.file.RelationshipVisitor
-
- org.neo4j.gds.core.utils.io.file.GraphStoreRelationshipVisitor
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.AutoCloseable
,org.neo4j.internal.batchimport.input.InputEntityVisitor
public class GraphStoreRelationshipVisitor extends RelationshipVisitor
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
GraphStoreRelationshipVisitor(RelationshipSchema relationshipSchema, java.util.function.Supplier<org.neo4j.gds.core.loading.construction.RelationshipsBuilderBuilder> relationshipBuilderSupplier, java.util.Map<java.lang.String,RelationshipsBuilder> relationshipBuilders)
-
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.RelationshipVisitor
endId, endNode, getPropertySchema, relationshipType, startId, startNode, type
-
-
-
-
Constructor Detail
-
GraphStoreRelationshipVisitor
protected GraphStoreRelationshipVisitor(RelationshipSchema relationshipSchema, java.util.function.Supplier<org.neo4j.gds.core.loading.construction.RelationshipsBuilderBuilder> relationshipBuilderSupplier, java.util.Map<java.lang.String,RelationshipsBuilder> relationshipBuilders)
-
-
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
-
-