我使用塞春數據可分頁不帶彈簧的數據塞工作
compile 'com.aerospike:spring-data-aerospike:1.0.2.RELEASE'
compile 'com.aerospike:aerospike-client:3.3.4'
compile 'com.aerospike:aerospike-helper-java:1.2'
當我試圖用分頁我得到的所有記錄,而不只是一個頁面與特定的記錄集工作
Page<Account> findByGender(String gender, Pageable pageable);
此方法下接口
public interface AccountRepo extends AerospikeRepository<Account, UUID>
列出並且通過使性別訪問它和可分頁
Pageable pageable = new PageRequest(page, pageSize);
如果有缺陷或缺少功能,您應該在[aerospike/spring-data-aerospike]上打開一個新的[issue](https://github.com/aerospike/spring-data-aerospike/issues)( https://github.com/aerospike/spring-data-aerospike)GitHub上的repo。 –
我試過了,但是Jira鏈接在他們的github頁面被破壞,他們提到了stackoverflow,所以我在這裏也發佈了它 – Anunay
請點擊此鏈接:https://github.com/aerospike/spring-data-aerospike/issues/new這應該工作。 GitHub有自己的問題系統,它不使用JIRA。 –