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
- Utility functions. These are public because they may be useful for crates that implement Datastore.
Macros
- Similar to
serde_json::json!
, this allows you to create JSON literals. It’s calledijson
to not conflict withserde_json::json!
.
Structs
- Gets all edges.
- Gets all vertices.
- Counts the number of items returned from a query.
- The IndraDB database.
- An edge.
- An edge with properties.
- Represents an edge property.
- Gets edges with or without a given property.
- Gets edges with a property equal to a given value.
- 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.
- Includes the results of a query in output.
- Wraps
serde_json::Value
in anArc
to make it more cheaply cloneable, as well as implements extra traits useful for datastore storage and querying. - An in-memory datastore.
- A property.
- Returns the properties associated with a vertex or edge.
- Gets the vertices associated with edges, or edges associated with vertices.
- Gets vertices or edges with or without a property.
- Gets vertices or edges with a property equal to a given value.
- Gets a range of vertices.
- Gets a specific set of edges.
- Gets a specific set of vertices.
- A vertex.
- A vertex with properties.
- Represents a vertex property.
- Gets vertices with or without a given property.
- Gets vertices with a property equal to a given value.
Enums
- An item to insert, as part of a bulk insert request.
- Specifies what kind of items should be piped from one type of query to another.
- An error triggered by the datastore.
- A query to get a set of values from the database.
- Value(s) returned from a query.
- A validation error
Traits
- Specifies a datastore, which provides datastore transaction implementations to the database.
- Extension trait containing common functions for all query structs.
- Specifies a datastore transaction, which contains nearly all of the datastore implementation-specific logic.
Type Definitions
- A dynamic iterator over results, which are commonly employed as transaction return types.
- A result that might be an
Error
. - A result that might be a
ValidationError
.