public class GraphBackup extends GraphToolBase
| Modifier and Type | Field and Description |
|---|---|
static String |
BASE64_PREFIX |
| Constructor and Description |
|---|
GraphBackup() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
protected void |
run(String[] args) |
void |
save(Graph graph,
OutputStream out,
Authorizations authorizations) |
void |
save(Iterable<Vertex> vertices,
Iterable<Edge> edges,
OutputStream out) |
void |
saveEdge(Edge edge,
OutputStream out) |
void |
saveEdges(Iterable<Edge> edges,
OutputStream out) |
void |
saveVertex(Vertex vertex,
OutputStream out) |
void |
saveVertices(Iterable<Vertex> vertices,
OutputStream out) |
getAuthorizations, getGraphpublic static final String BASE64_PREFIX
protected void run(String[] args) throws Exception
run in class GraphToolBaseExceptionpublic void save(Graph graph, OutputStream out, Authorizations authorizations) throws IOException
IOExceptionpublic void save(Iterable<Vertex> vertices, Iterable<Edge> edges, OutputStream out) throws IOException
IOExceptionpublic void saveVertices(Iterable<Vertex> vertices, OutputStream out) throws IOException
IOExceptionpublic void saveVertex(Vertex vertex, OutputStream out) throws IOException
IOExceptionpublic void saveEdges(Iterable<Edge> edges, OutputStream out) throws IOException
IOExceptionpublic void saveEdge(Edge edge, OutputStream out) throws IOException
IOExceptionCopyright © 2014–2018. All rights reserved.