java.lang.Object
org.neo4j.driver.internal.cursor.RxResultCursorImpl
- All Implemented Interfaces:
RxResultCursor,org.neo4j.driver.internal.FailableCursor,org.reactivestreams.Subscription
-
Constructor Summary
ConstructorsConstructorDescriptionRxResultCursorImpl(Throwable runError, RunResponseHandler runHandler, PullResponseHandler pullHandler) RxResultCursorImpl(RunResponseHandler runHandler, PullResponseHandler pullHandler) -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()Discarding all unconsumed records and returning failure if there is any pull errors.voidinstallRecordConsumer(BiConsumer<Record, Throwable> recordConsumer) booleanisDone()keys()Pulling all unconsumed records into memory and returning failure if there is any pull errors.voidrequest(long n)
-
Constructor Details
-
RxResultCursorImpl
-
RxResultCursorImpl
public RxResultCursorImpl(Throwable runError, RunResponseHandler runHandler, PullResponseHandler pullHandler)
-
-
Method Details
-
keys
- Specified by:
keysin interfaceRxResultCursor
-
installRecordConsumer
- Specified by:
installRecordConsumerin interfaceRxResultCursor
-
request
public void request(long n) - Specified by:
requestin interfaceorg.reactivestreams.Subscription
-
cancel
public void cancel()- Specified by:
cancelin interfaceorg.reactivestreams.Subscription
-
discardAllFailureAsync
Description copied from interface:org.neo4j.driver.internal.FailableCursorDiscarding all unconsumed records and returning failure if there is any pull errors.- Specified by:
discardAllFailureAsyncin interfaceorg.neo4j.driver.internal.FailableCursor
-
pullAllFailureAsync
Description copied from interface:org.neo4j.driver.internal.FailableCursorPulling all unconsumed records into memory and returning failure if there is any pull errors.- Specified by:
pullAllFailureAsyncin interfaceorg.neo4j.driver.internal.FailableCursor
-
summaryAsync
- Specified by:
summaryAsyncin interfaceRxResultCursor
-
isDone
public boolean isDone()- Specified by:
isDonein interfaceRxResultCursor
-
getRunError
- Specified by:
getRunErrorin interfaceRxResultCursor
-
summaryStage
-