Class AbstractResourceIterable<T>

java.lang.Object
apoc.util.collection.AbstractResourceIterable<T>
All Implemented Interfaces:
AutoCloseable, Iterable<T>, org.neo4j.graphdb.Resource, org.neo4j.graphdb.ResourceIterable<T>

public abstract class AbstractResourceIterable<T> extends Object implements org.neo4j.graphdb.ResourceIterable<T>
  • Field Summary

    Fields inherited from interface org.neo4j.graphdb.Resource

    EMPTY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final void
     
    final org.neo4j.graphdb.ResourceIterator<T>
     
    protected abstract org.neo4j.graphdb.ResourceIterator<T>
     
    protected void
    Callback method that allows subclasses to perform their own specific closing logic

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator

    Methods inherited from interface org.neo4j.graphdb.ResourceIterable

    stream
  • Constructor Details

    • AbstractResourceIterable

      public AbstractResourceIterable()
  • Method Details

    • newIterator

      protected abstract org.neo4j.graphdb.ResourceIterator<T> newIterator()
    • iterator

      public final org.neo4j.graphdb.ResourceIterator<T> iterator()
      Specified by:
      iterator in interface Iterable<T>
      Specified by:
      iterator in interface org.neo4j.graphdb.ResourceIterable<T>
    • close

      public final void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface org.neo4j.graphdb.Resource
    • onClosed

      protected void onClosed()
      Callback method that allows subclasses to perform their own specific closing logic