# geoff **Repository Path**: mirrors_technige/geoff ## Basic Information - **Project Name**: geoff - **Description**: Geoff reader/loader library - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-18 - **Last Updated**: 2025-12-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [![Build Status](https://travis-ci.org/nigelsmall/geoff.png)](https://travis-ci.org/nigelsmall/geoff) # Geoff [http://nigelsmall.com/geoff](http://nigelsmall.com/geoff) ##Usage The code below gives a quick example of usage. ```java // Set up a GeoffReader from any Reader object GeoffReader geoffReader = new GeoffReader(reader); // And a NeoLoader for a GraphDatabaseService NeoLoader neoLoader = new NeoLoader(database); // Iterate through the available subgraphs while (geoffReader.hasMore()) { // Read the subgraph Subgraph subgraph = geoffReader.readSubgraph(); try (Transaction tx = database.beginTx()) { // And load it into the database, returning the named nodes Map nodes = neoLoader.load(subgraph); // Maybe do something with the returned nodes here // ... tx.success(); } } ```