Crate indradb

Source
Expand description

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. These are public because they may be useful for crates that implement Datastore.

Macros§

ijson
Similar to serde_json::json!, this allows you to create JSON literals. It’s called ijson to not conflict with serde_json::json!.

Structs§

AllEdgeQuery
Gets all edges.
AllVertexQuery
Gets all vertices.
CountQuery
Counts the number of items returned from a query.
Database
The IndraDB database.
Edge
An edge.
EdgeProperties
An edge with properties.
EdgeProperty
Represents an edge property.
EdgeWithPropertyPresenceQuery
Gets edges with or without a given property.
EdgeWithPropertyValueQuery
Gets edges with a property equal to a given value.
Identifier
A string that must be less than 256 characters long, and can only contain letters, numbers, dashes and underscores. This is used for vertex and edge types, as well as property names.
IncludeQuery
Includes the results of a query in output.
Json
Wraps serde_json::Value in an Arc to make it more cheaply cloneable, as well as implements extra traits useful for datastore storage and querying.
MemoryDatastore
An in-memory datastore.
NamedProperty
A property.
PipePropertyQuery
Returns the properties associated with a vertex or edge.
PipeQuery
Gets the vertices associated with edges, or edges associated with vertices.
PipeWithPropertyPresenceQuery
Gets vertices or edges with or without a property.
PipeWithPropertyValueQuery
Gets vertices or edges with a property equal to a given value.
RangeVertexQuery
Gets a range of vertices.
SpecificEdgeQuery
Gets a specific set of edges.
SpecificVertexQuery
Gets a specific set of vertices.
Vertex
A vertex.
VertexProperties
A vertex with properties.
VertexProperty
Represents a vertex property.
VertexWithPropertyPresenceQuery
Gets vertices with or without a given property.
VertexWithPropertyValueQuery
Gets vertices with a property equal to a given value.

Enums§

BulkInsertItem
An item to insert, as part of a bulk insert request.
EdgeDirection
Specifies what kind of items should be piped from one type of query to another.
Error
An error triggered by the datastore.
Query
A query to get a set of values from the database.
QueryOutputValue
Value(s) returned from a query.
ValidationError
A validation error

Traits§

CountQueryExt
Datastore
Specifies a datastore, which provides datastore transaction implementations to the database.
QueryExt
Extension trait containing common functions for all query structs.
Transaction
Specifies a datastore transaction, which contains nearly all of the datastore implementation-specific logic.

Type Aliases§

DynIter
A dynamic iterator over results, which are commonly employed as transaction return types.
Result
A result that might be an Error.
ValidationResult
A result that might be a ValidationError.