Class FluentQueryByExample<T>

java.lang.Object
com.redis.om.spring.search.stream.FluentQueryByExample<T>
All Implemented Interfaces:
org.springframework.data.repository.query.FluentQuery<T>, org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<T>

public class FluentQueryByExample<T> extends Object implements org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<T>
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.springframework.data.repository.query.FluentQuery

    org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<T extends Object>, org.springframework.data.repository.query.FluentQuery.ReactiveFluentQuery<T extends Object>
  • Constructor Summary

    Constructors
    Constructor
    Description
    FluentQueryByExample(org.springframework.data.domain.Example<T> example, Class<T> probeType, EntityStream entityStream, SearchOperations<String> searchOps)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    all()
     
    <R> org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<R>
    as(Class<R> resultType)
     
    long
     
    boolean
     
     
     
    org.springframework.data.domain.Page<T>
    page(org.springframework.data.domain.Pageable pageable)
     
    org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<T>
    project(Collection<String> properties)
     
    org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<T>
    sortBy(org.springframework.data.domain.Sort sort)
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery

    first, limit, one, project, scroll
  • Constructor Details

  • Method Details

    • sortBy

      public org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<T> sortBy(org.springframework.data.domain.Sort sort)
      Specified by:
      sortBy in interface org.springframework.data.repository.query.FluentQuery<T>
      Specified by:
      sortBy in interface org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<T>
    • as

      public <R> org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<R> as(Class<R> resultType)
      Specified by:
      as in interface org.springframework.data.repository.query.FluentQuery<T>
      Specified by:
      as in interface org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<T>
    • project

      public org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<T> project(Collection<String> properties)
      Specified by:
      project in interface org.springframework.data.repository.query.FluentQuery<T>
      Specified by:
      project in interface org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<T>
    • oneValue

      public T oneValue()
      Specified by:
      oneValue in interface org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<T>
    • firstValue

      public T firstValue()
      Specified by:
      firstValue in interface org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<T>
    • all

      public List<T> all()
      Specified by:
      all in interface org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<T>
    • page

      public org.springframework.data.domain.Page<T> page(org.springframework.data.domain.Pageable pageable)
      Specified by:
      page in interface org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<T>
    • stream

      public Stream<T> stream()
      Specified by:
      stream in interface org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<T>
    • count

      public long count()
      Specified by:
      count in interface org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<T>
    • exists

      public boolean exists()
      Specified by:
      exists in interface org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<T>