[][src]Crate indradb

IndraDB - a graph datastore.

IndraDB is broken up into a library and an application. This is the library, which you would use if you want to create new datastore implementations, or plug into the low-level details of IndraDB. For most use cases, you can use the application, which exposes an API and scripting layer.

Modules

util

Utility functions.

Structs

Edge

An edge.

EdgeKey

Represents a uniquely identifiable key to an edge.

EdgeProperty

Represents an edge property.

EdgePropertyQuery

Gets property values associated with edges.

Error

The Error type.

MemoryDatastore

An in-memory-only datastore.

MemoryTransaction

A transaction for manipulating in-memory-only datastores.

PipeEdgeQuery

Gets the edges associated with vertices.

PipeVertexQuery

Gets the vertices associated with edges.

RangeVertexQuery

Gets a range of vertices.

SpecificEdgeQuery

Gets a specific set of edges.

SpecificVertexQuery

Gets a specific set of vertices.

Type

An edge or vertex type.

ValidationError

The Error type.

Vertex

A vertex.

VertexProperty

Represents a vertex property.

VertexPropertyQuery

Gets property values associated with vertices.

Enums

BulkInsertItem
EdgeDirection

Specifies what kind of items should be piped from one type of query to another.

EdgeQuery

A query for edges.

ErrorKind

The kind of an error.

ValidationErrorKind

The kind of an error.

VertexQuery

A query for vertices.

Traits

Datastore

Specifies a datastore implementation.

EdgeQueryExt

Extension trait that specifies methods exposed by all edge queries.

ResultExt

Additional methods for Result, for easy interaction with this crate.

Transaction

Specifies a transaction implementation, which are returned by datastores. All datastore manipulations are done through transactions. Despite the name, different datastore implementations carry different guarantees. Depending on the implementation, it may not be possible to rollback the changes on error. See the documentation of individual implementations for details. Transactions are automatically committed on drop. Transactions should be designed to not fail on commit; i.e. errors should occur when a method is actually called instead.

ValidationResultExt

Additional methods for Result, for easy interaction with this crate.

VertexQueryExt

Extension trait that specifies methods exposed by all vertex queries.

Type Definitions

Result

Convenient wrapper around std::Result.

ValidationResult

Convenient wrapper around std::Result.