Database Reference
In-Depth Information
Java APIs
Neo4j exposes a good number of Java APIs that are packaged and categorized based on
their usages. Let's see the different categories that are available and how they are organized
within Neo4j:
Graph database : The APIs within this category contain various classes for deal-
ing with the basic operations of the graph database such as creating database /
nodes / labels, and so on. The following is list of Java packages available with this
category:
Java Package
Description
This contains the core APIs to work with graphs such as node /
property / label creation
org.neo4j.graphdb
This package contains the classes used for modifying or setting the
database configurations
org.neo4j.graphdb.config
This package contains the classes used for handling various events
such as transaction management or database / kernel events
org.neo4j.graphdb.event
org.neo4j.graphdb.factory This contains the factory classes for creating the database
This package contains the integrated API for managing legacy in-
dexes on nodes and relationships
org.neo4j.graphdb.index
This is a new package introduced for creating and managing
schema (indexes and constraints) on graphs
org.neo4j.graphdb.schema
org.neo4j.graphdb.traversal This is a callback-based traversal API for graphs, which provides a
choice between traversing breadth- or depth-first
Query language : This contains the classes for executing Cypher queries from Java
code. It contains two packages: org.neo4j.cypher.export and
org.neo4j.cypher.javacompat .
Search WWH ::




Custom Search