bento_meta.util.cypher.entities
bento_meta.util.cypher.entities
Representations of cypher nodes, relationships, properties, paths
Module Contents
Classes
A property graph Entity. Base class. |
|
A property graph Node. |
|
A property graph Relationship or edge. |
|
Variable length property graph Relationship or edge. |
|
Completely anonymous node (). |
|
Completely anonymous relationship -[]-, i.e. -- |
|
A property graph Property. |
|
A property graph Triple; i.e., (n)-[r]->(m). |
|
A directionless property graph Triple; i.e., (n)-[r]-(m). |
|
A property graph Path. |
Functions
|
|
|
Return copy of ent with As alias set. |
|
Return entity without properties. |
|
Return entity without variable name. |
|
Return entity without label or type. |
|
Return entity with only the variable, no label or properties |
|
|
|
|
|
- class bento_meta.util.cypher.entities.Entity[source]
Bases:
object
A property graph Entity. Base class.
- class bento_meta.util.cypher.entities.N(label=None, props=None, As=None)[source]
Bases:
Entity
A property graph Node.
- count
- class bento_meta.util.cypher.entities.R(Type=None, props=None, As=None, _dir='_right')[source]
Bases:
Entity
A property graph Relationship or edge.
- count
- class bento_meta.util.cypher.entities.VarLenR(min_len: int = -1, max_len: int = -1, Type=None, props=None, As=None, _dir='_right')[source]
Bases:
R
Variable length property graph Relationship or edge.
- class bento_meta.util.cypher.entities.R0[source]
Bases:
R
Completely anonymous relationship -[]-, i.e. –
- class bento_meta.util.cypher.entities.P(handle, value=None, As=None)[source]
Bases:
Entity
A property graph Property.
- count
- parameterize = False
- class bento_meta.util.cypher.entities.T(n, r, m)[source]
Bases:
Entity
A property graph Triple; i.e., (n)-[r]->(m).
- count
- class bento_meta.util.cypher.entities.NoDirT(*args)[source]
Bases:
T
A directionless property graph Triple; i.e., (n)-[r]-(m).
- class bento_meta.util.cypher.entities.G(*args)[source]
Bases:
Entity
A property graph Path. Defined as an ordered set of partially overlapping triples.
- count