Enum

ldbc.core.model.Enum
trait Enum

Trait for using enum with Ldbc. It will be unnecessary if enums can be identified by type parameters.

example:

 enum Status extends Enum:
   case Active, InActive
 object Status extends EnumDataType[Status]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def ordinal: Int

Index number of the enum value, a value that is standard implemented when the enum is generated.

Index number of the enum value, a value that is standard implemented when the enum is generated.

Attributes