Skip to content
This repository has been archived by the owner on Apr 16, 2022. It is now read-only.

Spring Data Gremlin 2.0.0

Compare
Choose a tag to compare
@Incarnation-p-lee Incarnation-p-lee released this 15 Jun 02:41
· 73 commits to master since this release

Feature List

  • Spring Data CRUDRepository basic CRUD functionality
    • save
    • findAll
    • findById
    • deleteAll
    • deleteById
  • Spring Data @Id annotation, works on both String and Integer.
  • Default annotaion
    • @Vertex maps an Object to a Vertex
    • @VertexSet maps a set of Vertex
    • @Edge maps an Object to an Edge
    • @EdgeSet maps to a set of Edge
    • @EdgeFrom maps to the head Vertex of an Edge
    • @EdgeTo maps to the tail Vertex of an Edge
    • @Graph maps to an Object to a Graph
  • Supports graph database operations
    • <T> T findVertexById(Object id, Class<T> domainClass);
    • <T> T findEdgeById(Object id, Class<T> domainClass);
    • <T> boolean isEmptyGraph(T object)
    • long vertexCount()
    • long edgeCount()
  • Supports Spring Data custom query, AND/OR/AFTER/BEFORE/EXISTS.
  • Supports any class type in domain class including collection and nested type.
  • Supports Spring Data REST.