title: Can I use Slice with findAll method : Spring Data
body: <p>What i want : skip the count query that spring performs with <code>findAll(Pageable)</code>.</p>
  
  <p>I found that there is <a href="http://docs.spring.io/spring-data/commons/docs/current/api/org/springframework/data/domain/Slice.html" rel="noreferrer"><code>Slice</code> datatype</a> for such UIs (next based) where there is no need for total records/pages hence no need for count query.</p>
  
  <p>I can use <code>Slice</code> return type for methods like <code>findByName(Pageable)</code> etc
  but if i use Slice for findAll(Pageable) then it still performs the count query.</p>
  
  <p>Is there a workaround where i am able to use slice for <code>findAll</code> avoiding the count query?</p>
  
  <p>P.S. : i want the features that slice provide like - hasNext, size etc
  and i don't need to use Specification as well.</p>
  
  <p>Any help is appreciated.</p>