Interface CustomerRepository
- All Superinterfaces:
CrudRepository<Customer, DynamoDbCompositeId<String,String>>, DynamoDbRepository<Customer, DynamoDbCompositeId<String, String>>, ListCrudRepository<Customer, DynamoDbCompositeId<String, String>>, Repository<Customer, DynamoDbCompositeId<String, String>>
@Repository
public interface CustomerRepository
extends DynamoDbRepository<Customer, DynamoDbCompositeId<String,String>>
- Since:
- 1.0.0
- Author:
- Matej Nedic
-
Method Summary
Modifier and TypeMethodDescriptionfindByEmail(String email) findByEmailWithPartiQl(String email) findExplicitByEmail(String email) findNamedByEmail(String email) Methods inherited from interface CrudRepository
existsById, findById, saveMethods inherited from interface DynamoDbRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, updateMethods inherited from interface ListCrudRepository
findAll, findAllById, saveAll
-
Method Details
-
findByEmail
-
findExplicitByEmail
@AllowScan @Query(filterExpression="#email = :email", names=@ExpressionName(name="#email",value="email")) List<Customer> findExplicitByEmail(@Param("email") String email) -
findNamedByEmail
@AllowScan @Query(names=@ExpressionName(name="#email",value="email")) List<Customer> findNamedByEmail(@Param("email") String email) -
findByEmailWithPartiQl
-