\Everyman\Neo4j\GeoffImporter

Import a GEOFF file into a batch

Summary

Methods
Properties
Constants
__construct()
load()
No public properties found
No constants found
loadLine()
$client
N/A
No private methods found
No private properties found
N/A

Properties

$client

$client : 

Type

Methods

__construct()

__construct(\Everyman\Neo4j\Client $client)

Build the importer

Parameters

\Everyman\Neo4j\Client $client

load()

load(\Everyman\Neo4j\Geoff\stream $handle, \Everyman\Neo4j\Batch $batch) : \Everyman\Neo4j\Batch

Load a GEOFF string from a stream If a batch is provided, append imported data to it, else, create and return a new batch

Parameters

\Everyman\Neo4j\Geoff\stream $handle
\Everyman\Neo4j\Batch $batch

Returns

\Everyman\Neo4j\Batch

loadLine()

loadLine(string $line, \Everyman\Neo4j\Batch $batch, integer $lineNum, array $nodes, array $rels)

Load a single line into the batch

Parameters

string $line
\Everyman\Neo4j\Batch $batch
integer $lineNum
array $nodes
array $rels