public class StreamingBatchOperationResults extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
HEAD_BUFFER |
static int |
IS_ERROR |
| Constructor and Description |
|---|
StreamingBatchOperationResults(org.codehaus.jackson.JsonGenerator g,
javax.servlet.ServletOutputStream output) |
| Modifier and Type | Method and Description |
|---|---|
void |
addOperationResult(int status,
Integer id,
String location) |
void |
close() |
Map<Integer,String> |
getLocations() |
javax.servlet.ServletOutputStream |
getServletOutputStream() |
void |
startOperation(String from,
Integer id) |
void |
writeError(int status,
String message) |
public static final int HEAD_BUFFER
public static final int IS_ERROR
public StreamingBatchOperationResults(org.codehaus.jackson.JsonGenerator g,
javax.servlet.ServletOutputStream output)
throws IOException
IOExceptionpublic void startOperation(String from, Integer id) throws IOException
IOExceptionpublic void addOperationResult(int status,
Integer id,
String location)
throws IOException
IOExceptionpublic javax.servlet.ServletOutputStream getServletOutputStream()
public void close()
throws IOException
IOExceptionpublic void writeError(int status,
String message)
throws IOException
IOExceptionCopyright © 2002–2018 The Neo4j Graph Database Project. All rights reserved.