Class EclipseStoreFetchableFluentQuery<T,S extends T>
java.lang.Object
software.xdev.spring.data.eclipse.store.repository.query.by.example.EclipseStoreFetchableFluentQuery<T,S>
- All Implemented Interfaces:
org.springframework.data.repository.query.FluentQuery<S>,org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<S>
public class EclipseStoreFetchableFluentQuery<T,S extends T>
extends Object
implements org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<S>
Needed to support
QueryByExampleExecutor.-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionEclipseStoreFetchableFluentQuery(WorkingCopier<T> copier, org.springframework.data.domain.Example<S> example, Class<T> domainClass, EclipseStoreStorage storage, org.springframework.data.domain.Sort sort) -
Method Summary
Modifier and TypeMethodDescriptionall()<R> org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<R>longcount()booleanexists()oneValue()org.springframework.data.domain.Page<S>page(org.springframework.data.domain.Pageable pageable) org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<S>project(Collection<String> properties) org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<S>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
-
EclipseStoreFetchableFluentQuery
public EclipseStoreFetchableFluentQuery(WorkingCopier<T> copier, org.springframework.data.domain.Example<S> example, Class<T> domainClass, EclipseStoreStorage storage, org.springframework.data.domain.Sort sort)
-
-
Method Details
-
sortBy
public org.springframework.data.repository.query.FluentQuery.FetchableFluentQuery<S> 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<S> 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<S> 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>
-