Enum pregel_rs::pregel::ColumnIdentifier
source · pub enum ColumnIdentifier {
Id,
Src,
Dst,
Edge,
Msg,
Pregel,
Custom(&'static str),
}
Expand description
This defines an enumeration type ColumnIdentifier
in Rust. It has several
variants: Id
, Src
, Dst
, Edge
, Msg
, Pregel
, and Custom
which
takes a String
parameter. This enum can be used to represent different
types of columns in a data structure or database table for it to be used
in a Pregel program.
Variants§
Id
The Id
variant represents the column that contains the vertex IDs.
Src
The Src
variant represents the column that contains the source vertex IDs.
Dst
The Dst
variant represents the column that contains the destination vertex IDs.
Edge
The Edge
variant represents the column that contains the edge IDs.
Msg
The Msg
variant represents the column that contains the messages sent to a vertex.
Pregel
The Pregel
variant represents the column that contains the messages sent to a vertex.
Custom(&'static str)
The Custom
variant represents a column that is not one of the predefined columns.