Class SimpleDynamoDBCrudRepository<T,​ID>

    • Method Detail

      • findById

        public java.util.Optional<T> findById​(ID id)
        Specified by:
        findById in interface org.springframework.data.repository.CrudRepository<T,​ID>
      • findAllById

        public java.util.List<T> findAllById​(java.lang.Iterable<ID> ids)
        Specified by:
        findAllById in interface org.springframework.data.repository.CrudRepository<T,​ID>
      • save

        public <S extends T> S save​(S entity)
        Specified by:
        save in interface org.springframework.data.repository.CrudRepository<T,​ID>
      • saveAll

        public <S extends T> java.lang.Iterable<S> saveAll​(java.lang.Iterable<S> entities)
                                                    throws BatchWriteException,
                                                           java.lang.IllegalArgumentException
        Specified by:
        saveAll in interface org.springframework.data.repository.CrudRepository<T,​ID>
        Throws:
        BatchWriteException - in case of an error during saving
        java.lang.IllegalArgumentException
      • existsById

        public boolean existsById​(ID id)
        Specified by:
        existsById in interface org.springframework.data.repository.CrudRepository<T,​ID>
      • findAll

        public java.util.List<T> findAll()
        Specified by:
        findAll in interface org.springframework.data.repository.CrudRepository<T,​ID>
      • count

        public long count()
        Specified by:
        count in interface org.springframework.data.repository.CrudRepository<T,​ID>
      • deleteById

        public void deleteById​(ID id)
        Specified by:
        deleteById in interface org.springframework.data.repository.CrudRepository<T,​ID>
      • delete

        public void delete​(T entity)
        Specified by:
        delete in interface org.springframework.data.repository.CrudRepository<T,​ID>
      • deleteAll

        public void deleteAll​(java.lang.Iterable<? extends T> entities)
        Specified by:
        deleteAll in interface org.springframework.data.repository.CrudRepository<T,​ID>
      • deleteAll

        public void deleteAll()
        Specified by:
        deleteAll in interface org.springframework.data.repository.CrudRepository<T,​ID>