Class CsvNodeVisitor

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

    public class CsvNodeVisitor
    extends NodeVisitor
    • 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 ID_COLUMN_NAME  
      • Fields inherited from interface org.neo4j.internal.batchimport.input.InputEntityVisitor

        NULL
    • Constructor Summary

      Constructors 
      Constructor Description
      CsvNodeVisitor​(java.nio.file.Path fileLocation, NodeSchema nodeSchema)  
      CsvNodeVisitor​(java.nio.file.Path fileLocation, NodeSchema nodeSchema, java.util.Set<java.lang.String> headerFiles, int visitorId)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void endOfEntity()  
      protected void exportElement()  
      protected void forEachProperty​(PropertyConsumer propertyConsumer)  
      boolean property​(java.lang.String key, java.lang.Object value)  
      • Methods inherited from class org.neo4j.internal.batchimport.input.InputEntityVisitor.Adapter

        endId, endId, id, labelField, property, propertyId, startId, startId, type, type
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CsvNodeVisitor

        public CsvNodeVisitor​(java.nio.file.Path fileLocation,
                              NodeSchema nodeSchema,
                              java.util.Set<java.lang.String> headerFiles,
                              int visitorId)
      • CsvNodeVisitor

        @TestOnly
        public CsvNodeVisitor​(java.nio.file.Path fileLocation,
                              NodeSchema nodeSchema)
    • 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)