Abstract data source implementation that takes care of caching graph names and schemas.
Annotation to use when mapping a case class to a node with more than one label, or a label different to the class name.
Annotation to use when mapping a case class to a node with more than one label, or a label different to the class name.
@ Labels("Person", "Employee") case class Employee(id: Long, name: String, salary: Double)
the labels that the node has.
If a node has no label annotation, then the class name is used as its label.
If a node has no label annotation, then the class name is used as its label.
If a Labels annotation, for example @Labels("Person", "Mammal"), is present,
then the labels from that annotation are used instead.
If a relationship has no type annotation, then the class name in all caps is used as its type.
If a relationship has no type annotation, then the class name in all caps is used as its type.
If a Type annotation, for example @RelationshipType("FRIEND_OF") is present,
then the type from that annotation is used instead.
Annotation to use when mapping a case class to a relationship with a different relationship type to the class name.
Annotation to use when mapping a case class to a relationship with a different relationship type to the class name.
@ RelationshipType("FRIEND_OF") case class Friend(id: Long, src: Long, dst: Long, since: Int)
the relationship type that the relationship has.
Abstract data source implementation that takes care of caching graph names and schemas.
It automatically creates initializes a ScanGraphs an only requires the implementor to provider simpler methods for reading/writing files and tables.