Class RelationshipVisitor
- java.lang.Object
-
- org.neo4j.internal.batchimport.input.InputEntityVisitor.Adapter
-
- org.neo4j.graphalgo.core.utils.export.file.RelationshipVisitor
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,org.neo4j.internal.batchimport.input.InputEntityVisitor
- Direct Known Subclasses:
CsvRelationshipVisitor
public abstract class RelationshipVisitor extends org.neo4j.internal.batchimport.input.InputEntityVisitor.Adapter
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RelationshipVisitor(RelationshipSchema relationshipSchema)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
endId(long id)
long
endNode()
void
endOfEntity()
protected abstract void
exportElement()
protected void
forEachProperty(PropertyConsumer propertyConsumer)
boolean
property(java.lang.String key, java.lang.Object value)
java.lang.String
relationshipType()
boolean
startId(long id)
long
startNode()
boolean
type(java.lang.String type)
-
-
-
Constructor Detail
-
RelationshipVisitor
protected RelationshipVisitor(RelationshipSchema relationshipSchema)
-
-
Method Detail
-
startNode
public long startNode()
-
endNode
public long endNode()
-
relationshipType
public java.lang.String relationshipType()
-
startId
public boolean startId(long id)
- Specified by:
startId
in interfaceorg.neo4j.internal.batchimport.input.InputEntityVisitor
- Overrides:
startId
in classorg.neo4j.internal.batchimport.input.InputEntityVisitor.Adapter
-
endId
public boolean endId(long id)
- Specified by:
endId
in interfaceorg.neo4j.internal.batchimport.input.InputEntityVisitor
- Overrides:
endId
in classorg.neo4j.internal.batchimport.input.InputEntityVisitor.Adapter
-
type
public boolean type(java.lang.String type)
- Specified by:
type
in interfaceorg.neo4j.internal.batchimport.input.InputEntityVisitor
- Overrides:
type
in classorg.neo4j.internal.batchimport.input.InputEntityVisitor.Adapter
-
exportElement
protected abstract 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)
-
-