org.neo4j.server.rest.batch
Class StreamingBatchOperationResults
java.lang.Object
org.neo4j.server.rest.batch.StreamingBatchOperationResults
public class StreamingBatchOperationResults
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HEAD_BUFFER
public static final int HEAD_BUFFER
- See Also:
- Constant Field Values
IS_ERROR
public static final int IS_ERROR
- See Also:
- Constant Field Values
StreamingBatchOperationResults
public StreamingBatchOperationResults(org.codehaus.jackson.JsonGenerator g,
javax.servlet.ServletOutputStream output)
throws IOException
- Throws:
IOException
startOperation
public void startOperation(String from,
Integer id)
throws IOException
- Throws:
IOException
addOperationResult
public void addOperationResult(int status,
Integer id,
String location)
throws IOException
- Throws:
IOException
getServletOutputStream
public javax.servlet.ServletOutputStream getServletOutputStream()
getLocations
public Map<Integer,String> getLocations()
close
public void close()
throws IOException
- Throws:
IOException
writeError
public void writeError(int status,
String message)
throws IOException
- Throws:
IOException
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.