public class ExecutionResultSerializer extends Object
? means invoke at most once, and * means invoke zero or more times.| Constructor and Description |
|---|
ExecutionResultSerializer(OutputStream output,
URI baseUri,
org.neo4j.kernel.impl.util.StringLogger log) |
| 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 |
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 once, and is the first method to get called.
|
void |
transactionStatus(long expiryDate) |
public ExecutionResultSerializer(OutputStream output, URI baseUri, org.neo4j.kernel.impl.util.StringLogger log)
public void transactionCommitUri(URI commitUri)
public void statementResult(org.neo4j.graphdb.Result result,
boolean includeStats,
ResultDataContent... resultDataContents)
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.public void transactionStatus(long expiryDate)
public void finish()
Copyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.