Class CsvRelationshipVisitor

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, org.neo4j.internal.batchimport.input.InputEntityVisitor

    public class CsvRelationshipVisitor
    extends RelationshipVisitor
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.neo4j.internal.batchimport.input.InputEntityVisitor

        org.neo4j.internal.batchimport.input.InputEntityVisitor.Adapter, org.neo4j.internal.batchimport.input.InputEntityVisitor.Delegate
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String END_ID_COLUMN_NAME  
      static java.lang.String START_ID_COLUMN_NAME  
      • Fields inherited from interface org.neo4j.internal.batchimport.input.InputEntityVisitor

        NULL
    • Constructor Summary

      Constructors 
      Constructor Description
      CsvRelationshipVisitor​(java.nio.file.Path fileLocation, RelationshipSchema relationshipSchema, java.util.Set<java.lang.String> headerFiles, int visitorId)  
    • Field Detail

      • START_ID_COLUMN_NAME

        public static final java.lang.String START_ID_COLUMN_NAME
        See Also:
        Constant Field Values
      • END_ID_COLUMN_NAME

        public static final java.lang.String END_ID_COLUMN_NAME
        See Also:
        Constant Field Values
    • Constructor Detail

      • CsvRelationshipVisitor

        public CsvRelationshipVisitor​(java.nio.file.Path fileLocation,
                                      RelationshipSchema relationshipSchema,
                                      java.util.Set<java.lang.String> headerFiles,
                                      int visitorId)
    • Method Detail

      • exportElement

        protected void exportElement()
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Overrides:
        close in class org.neo4j.internal.batchimport.input.InputEntityVisitor.Adapter
      • property

        public boolean property​(java.lang.String key,
                                java.lang.Object value)
        Specified by:
        property in interface org.neo4j.internal.batchimport.input.InputEntityVisitor
        Overrides:
        property in class org.neo4j.internal.batchimport.input.InputEntityVisitor.Adapter
      • endOfEntity

        public void endOfEntity()
        Specified by:
        endOfEntity in interface org.neo4j.internal.batchimport.input.InputEntityVisitor
        Overrides:
        endOfEntity in class org.neo4j.internal.batchimport.input.InputEntityVisitor.Adapter
      • forEachProperty

        protected void forEachProperty​(PropertyConsumer propertyConsumer)