Class 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
    • 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 inherited from interface org.neo4j.internal.batchimport.input.InputEntityVisitor

        NULL
    • 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)  
      • Methods inherited from class org.neo4j.internal.batchimport.input.InputEntityVisitor.Adapter

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 interface org.neo4j.internal.batchimport.input.InputEntityVisitor
        Overrides:
        startId in class org.neo4j.internal.batchimport.input.InputEntityVisitor.Adapter
      • endId

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

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