Interface ArangoDBRepository<T,K>

Type Parameters:
T - the entity type
K - the entity ID type
All Superinterfaces:
jakarta.data.repository.BasicRepository<T,K>, jakarta.data.repository.CrudRepository<T,K>, jakarta.data.repository.DataRepository<T,K>, org.eclipse.jnosql.mapping.NoSQLRepository<T,K>

public interface ArangoDBRepository<T,K> extends org.eclipse.jnosql.mapping.NoSQLRepository<T,K>
A repository interface for ArangoDB, extending the generic NoSQLRepository. This repository supports executing custom AQL queries via the AQL annotation. Example usage:

 @Repository
 public interface PersonRepository extends ArangoDBRepository<Person, String> {

     @AQL("FOR p IN Person RETURN p")
     List<Person> findAll();

     @AQL("FOR p IN Person FILTER p.name == @name RETURN p")
     List<Person> findByName(@Param("name") String name);
 }
 
See Also:
  • Method Summary

    Methods inherited from interface jakarta.data.repository.BasicRepository

    delete, deleteAll, deleteById, findAll, findAll, findById, save, saveAll

    Methods inherited from interface jakarta.data.repository.CrudRepository

    insert, insertAll, update, updateAll

    Methods inherited from interface org.eclipse.jnosql.mapping.NoSQLRepository

    countBy, deleteAll, deleteByIdIn, existsById, findByIdIn