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
-
Constructor Summary
ConstructorsConstructorDescriptionFluentQueryByExample(org.springframework.data.domain.Example<T> example, Class<T> probeType, EntityStream entityStream, SearchOperations<String> searchOps) -
Method Summary
Modifier and TypeMethodDescriptionall()<R> org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<R>longcount()booleanexists()oneValue()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) stream()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery
first, limit, one, project, scroll
-
Constructor Details
-
FluentQueryByExample
public FluentQueryByExample(org.springframework.data.domain.Example<T> example, Class<T> probeType, EntityStream entityStream, SearchOperations<String> searchOps)
-
-
Method Details
-
sortBy
public org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<T> sortBy(org.springframework.data.domain.Sort sort) -
as
public <R> org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<R> as(Class<R> resultType) -
project
public org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<T> project(Collection<String> properties) -
oneValue
- Specified by:
oneValuein interfaceorg.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<T>
-
firstValue
- Specified by:
firstValuein interfaceorg.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<T>
-
all
- Specified by:
allin interfaceorg.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<T>
-
page
public org.springframework.data.domain.Page<T> page(org.springframework.data.domain.Pageable pageable) - Specified by:
pagein interfaceorg.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<T>
-
stream
- Specified by:
streamin interfaceorg.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<T>
-
count
public long count()- Specified by:
countin interfaceorg.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<T>
-
exists
public boolean exists()- Specified by:
existsin interfaceorg.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<T>
-