Class NodeVisitor

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, org.neo4j.internal.batchimport.input.InputEntityVisitor
    Direct Known Subclasses:
    CsvNodeVisitor, GraphStoreNodeVisitor

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

        NULL
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected NodeVisitor​(NodeSchema nodeSchema, boolean reverseIdMapping)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void endOfEntity()  
      protected abstract void exportElement()  
      protected void forEachProperty​(PropertyConsumer propertyConsumer)  
      long id()  
      boolean id​(long id)  
      java.util.List<java.lang.String> labels()  
      boolean labels​(java.lang.String[] labels)  
      boolean property​(java.lang.String key, java.lang.Object value)  
      • Methods inherited from class org.neo4j.internal.batchimport.input.InputEntityVisitor.Adapter

        close, 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

      • NodeVisitor

        protected NodeVisitor​(NodeSchema nodeSchema,
                              boolean reverseIdMapping)
    • Method Detail

      • id

        public long id()
      • labels

        public java.util.List<java.lang.String> labels()
      • id

        public boolean id​(long id)
        Specified by:
        id in interface org.neo4j.internal.batchimport.input.InputEntityVisitor
        Overrides:
        id in class org.neo4j.internal.batchimport.input.InputEntityVisitor.Adapter
      • labels

        public boolean labels​(java.lang.String[] labels)
        Specified by:
        labels in interface org.neo4j.internal.batchimport.input.InputEntityVisitor
        Overrides:
        labels in class org.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 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)