public class ExecutionResultSerializer extends Object
Where ? means invoke at most once, and * means invoke zero or more times.
| Constructor and Description |
|---|
ExecutionResultSerializer(OutputStream output,
URI baseUri,
org.neo4j.logging.LogProvider logProvider) |
| Modifier and Type | Method and Description |
|---|---|
void |
errors(Iterable<? extends Neo4jError> errors)
Will get called once if any errors occurred, after
statementResult(org.neo4j.graphdb.Result, boolean, ResultDataContent...) statementResults}
has been called This method is not allowed to throw exceptions. |
void |
finish()
This method must be called exactly once, and no method must be called after calling this method.
|
void |
notifications(Iterable<org.neo4j.graphdb.Notification> notifications) |
void |
statementResult(org.neo4j.graphdb.Result result,
boolean includeStats,
ResultDataContent... resultDataContents)
Will get called at most once per statement.
|
void |
transactionCommitUri(URI commitUri)
Will always get called at most once, and is the first method to get called.
|
void |
transactionStatus(long expiryDate) |
public ExecutionResultSerializer(OutputStream output, URI baseUri, org.neo4j.logging.LogProvider logProvider)
public void transactionCommitUri(URI commitUri)
public void statementResult(org.neo4j.graphdb.Result result,
boolean includeStats,
ResultDataContent... resultDataContents)
throws IOException
IOExceptionpublic void notifications(Iterable<org.neo4j.graphdb.Notification> notifications) throws IOException
IOExceptionpublic void errors(Iterable<? extends Neo4jError> errors)
statementResult(org.neo4j.graphdb.Result, boolean, ResultDataContent...) statementResults}
has been called This method is not allowed to throw exceptions. If there are network errors or similar, the
handler should take appropriate action, but never fail this method.errors - the errors to writepublic void transactionStatus(long expiryDate)
public void finish()
Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.