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 calledijson
to not conflict withserde_json::json!
.
Structs§
- AllEdge
Query - Gets all edges.
- AllVertex
Query - Gets all vertices.
- Count
Query - Counts the number of items returned from a query.
- Database
- The IndraDB database.
- Edge
- An edge.
- Edge
Properties - An edge with properties.
- Edge
Property - Represents an edge property.
- Edge
With Property Presence Query - Gets edges with or without a given property.
- Edge
With Property Value Query - 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.
- Include
Query - Includes the results of a query in output.
- Json
- Wraps
serde_json::Value
in anArc
to make it more cheaply cloneable, as well as implements extra traits useful for datastore storage and querying. - Memory
Datastore - An in-memory datastore.
- Named
Property - A property.
- Pipe
Property Query - Returns the properties associated with a vertex or edge.
- Pipe
Query - Gets the vertices associated with edges, or edges associated with vertices.
- Pipe
With Property Presence Query - Gets vertices or edges with or without a property.
- Pipe
With Property Value Query - Gets vertices or edges with a property equal to a given value.
- Range
Vertex Query - Gets a range of vertices.
- Specific
Edge Query - Gets a specific set of edges.
- Specific
Vertex Query - Gets a specific set of vertices.
- Vertex
- A vertex.
- Vertex
Properties - A vertex with properties.
- Vertex
Property - Represents a vertex property.
- Vertex
With Property Presence Query - Gets vertices with or without a given property.
- Vertex
With Property Value Query - Gets vertices with a property equal to a given value.
Enums§
- Bulk
Insert Item - An item to insert, as part of a bulk insert request.
- Edge
Direction - 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.
- Query
Output Value - Value(s) returned from a query.
- Validation
Error - A validation error
Traits§
- Count
Query Ext - Datastore
- Specifies a datastore, which provides datastore transaction implementations to the database.
- Query
Ext - 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
. - Validation
Result - A result that might be a
ValidationError
.