GraphSonReaderInputGraph Method (IGraph, String, Int32, IEnumerableString, IEnumerableString) |
Input the JSON stream data into the graph.
More control over how data is streamed is provided by this method.
Namespace:
VelocityGraph.Frontenac.Blueprints.Util.IO.GraphSON
Assembly:
VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax public static void InputGraph(
IGraph inputGraph,
string filename,
int bufferSize,
IEnumerable<string> edgePropertyKeys,
IEnumerable<string> vertexPropertyKeys
)
Public Shared Sub InputGraph (
inputGraph As IGraph,
filename As String,
bufferSize As Integer,
edgePropertyKeys As IEnumerable(Of String),
vertexPropertyKeys As IEnumerable(Of String)
)
public:
static void InputGraph(
IGraph^ inputGraph,
String^ filename,
int bufferSize,
IEnumerable<String^>^ edgePropertyKeys,
IEnumerable<String^>^ vertexPropertyKeys
)
static member InputGraph :
inputGraph : IGraph *
filename : string *
bufferSize : int *
edgePropertyKeys : IEnumerable<string> *
vertexPropertyKeys : IEnumerable<string> -> unit
Parameters
- inputGraph
- Type: VelocityGraph.Frontenac.BlueprintsIGraph
the graph to populate with the JSON data - filename
- Type: SystemString
name of a file of JSON data - bufferSize
- Type: SystemInt32
the amount of elements to hold in memory before committing a transactions (only valid for TransactionalGraphs) - edgePropertyKeys
- Type: System.Collections.GenericIEnumerableString
[Missing <param name="edgePropertyKeys"/> documentation for "M:VelocityGraph.Frontenac.Blueprints.Util.IO.GraphSON.GraphSonReader.InputGraph(VelocityGraph.Frontenac.Blueprints.IGraph,System.String,System.Int32,System.Collections.Generic.IEnumerable{System.String},System.Collections.Generic.IEnumerable{System.String})"]
- vertexPropertyKeys
- Type: System.Collections.GenericIEnumerableString
[Missing <param name="vertexPropertyKeys"/> documentation for "M:VelocityGraph.Frontenac.Blueprints.Util.IO.GraphSON.GraphSonReader.InputGraph(VelocityGraph.Frontenac.Blueprints.IGraph,System.String,System.Int32,System.Collections.Generic.IEnumerable{System.String},System.Collections.Generic.IEnumerable{System.String})"]
See Also