1
spring-boot-data로 검색된 행을 어떻게 페이징 할 수 있습니까? 나는 Datastax에서 문서의 알고 :spring-boot-data가있는 Cassandra의 페이징
https://docs.datastax.com/en/developer/java-driver/3.1/manual/paging/
내 저장소 인터페이스 :
public interface DeviceRepository extends CassandraRepository<Device> {
Device findByFieldDeviceId(String fieldDeviceId);
}
내 서비스 클래스 :
public Device findByFieldDeviceId(final String fieldDeviceId) {
return deviceRepository.findByFieldDeviceId(fieldDeviceId);
}
내 폼은 :
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-cassandra</artifactId>
<version>1.5.8.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-cassandra</artifactId>
<version>1.5.8.RELEASE</version>
</dependency>
결과에서 페이징 상태를 추출하고 설정하는 방법을 알지 못합니다.