public class HadoopGraphSONUtility extends Object
| Constructor and Description |
|---|
HadoopGraphSONUtility(Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
List<FaunusVertex> |
fromJSON(InputStream in) |
FaunusVertex |
fromJSON(String line) |
org.codehaus.jettison.json.JSONObject |
toJSON(com.tinkerpop.blueprints.Vertex vertex) |
public HadoopGraphSONUtility(Configuration configuration)
public List<FaunusVertex> fromJSON(InputStream in) throws IOException
IOExceptionpublic FaunusVertex fromJSON(String line) throws IOException
IOExceptionpublic org.codehaus.jettison.json.JSONObject toJSON(com.tinkerpop.blueprints.Vertex vertex)
throws IOException
IOExceptionCopyright © 2012–2016. All rights reserved.