graflo.architecture.graph_types.enums¶
Graph runtime enumerations.
EdgeCastingType
¶
Bases: BaseEnum
Types of edge casting supported.
PAIR: Edges are cast as pairs of vertices PRODUCT: Edges are cast as combinations of vertex sets
Source code in graflo/architecture/graph_types/enums.py
EdgeDirection
¶
Bases: BaseEnum
Which orientations a read follows, relative to the anchor vertex.
OUT: anchor is the edge source (the historical, and still default, behaviour) IN: anchor is the edge target ANY: either orientation — the correct reading of a logically undirected edge
Not every backend can answer every value. Reverse reachability is free or
cheap on most targets but is fixed at DDL time on TigerGraph; see
:mod:graflo.db.edge_direction_support.
Source code in graflo/architecture/graph_types/enums.py
EdgeMapping
¶
Bases: BaseEnum
Defines how edges are mapped between vertices.
ALL: Maps all vertices to all vertices ONE_N: Maps one vertex to many vertices
Source code in graflo/architecture/graph_types/enums.py
EdgeType
¶
Bases: BaseEnum
Defines how edges are handled in the graph database.
INDIRECT: Uses pre-existing DB structures and may be used after data ingestion DIRECT: Generated during ingestion from resource pipelines
Source code in graflo/architecture/graph_types/enums.py
EncodingType
¶
IndexType
¶
Bases: BaseEnum
Types of database indexes supported.
PERSISTENT: Standard persistent index HASH: Hash-based index for fast lookups SKIPLIST: Sorted index using skip list data structure FULLTEXT: Index optimized for text search