Package org.apache.graphar.info.saver
Class BaseGraphInfoSaver
- java.lang.Object
-
- org.apache.graphar.info.saver.BaseGraphInfoSaver
-
- All Implemented Interfaces:
GraphInfoSaver
- Direct Known Subclasses:
LocalFileSystemYamlGraphSaver
public abstract class BaseGraphInfoSaver extends Object implements GraphInfoSaver
-
-
Constructor Summary
Constructors Constructor Description BaseGraphInfoSaver()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
save(URI edgeInfoUri, EdgeInfo edgeInfo)
void
save(URI graphInfoUri, GraphInfo graphInfo)
void
save(URI vertexInfoUri, VertexInfo vertexInfo)
abstract Writer
writeYaml(URI uri)
-
-
-
Method Detail
-
writeYaml
public abstract Writer writeYaml(URI uri) throws IOException
- Throws:
IOException
-
save
public void save(URI graphInfoUri, GraphInfo graphInfo) throws IOException
- Specified by:
save
in interfaceGraphInfoSaver
- Throws:
IOException
-
save
public void save(URI vertexInfoUri, VertexInfo vertexInfo) throws IOException
- Specified by:
save
in interfaceGraphInfoSaver
- Throws:
IOException
-
save
public void save(URI edgeInfoUri, EdgeInfo edgeInfo) throws IOException
- Specified by:
save
in interfaceGraphInfoSaver
- Throws:
IOException
-
-