Class ErrorCachingQuerySubscriber

  • All Implemented Interfaces:
    org.neo4j.kernel.impl.query.QuerySubscriber
    Direct Known Subclasses:
    ErrorCachingQuerySubscriber.DoNothingSubscriber

    public abstract class ErrorCachingQuerySubscriber
    extends java.lang.Object
    implements org.neo4j.kernel.impl.query.QuerySubscriber
    • Field Summary

      • Fields inherited from interface org.neo4j.kernel.impl.query.QuerySubscriber

        DO_NOTHING_SUBSCRIBER
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<java.lang.RuntimeException> error()  
      void onError​(java.lang.Throwable throwable)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.neo4j.kernel.impl.query.QuerySubscriber

        onField, onRecord, onRecordCompleted, onResult, onResultCompleted
    • Constructor Detail

      • ErrorCachingQuerySubscriber

        public ErrorCachingQuerySubscriber()
    • Method Detail

      • error

        public java.util.Optional<java.lang.RuntimeException> error()
      • onError

        public void onError​(java.lang.Throwable throwable)
        Specified by:
        onError in interface org.neo4j.kernel.impl.query.QuerySubscriber