public class DefaultQueryByExampleExecutor extends Object implements DataStoreAware, RepositoryConfigurationAware, RepositoryMetadataAware, RepositoryFactoryConfigurationAware
| Constructor and Description |
|---|
DefaultQueryByExampleExecutor() |
| Modifier and Type | Method and Description |
|---|---|
long |
count(org.springframework.data.domain.Example example) |
boolean |
exists(org.springframework.data.domain.Example example) |
Iterable |
findAll(org.springframework.data.domain.Example example) |
org.springframework.data.domain.Page |
findAll(org.springframework.data.domain.Example example,
org.springframework.data.domain.Pageable pageable) |
Iterable |
findAll(org.springframework.data.domain.Example example,
org.springframework.data.domain.Sort sort) |
Object |
findOne(org.springframework.data.domain.Example example) |
void |
setDataStore(DataStore dataStore) |
void |
setRepositoryConfiguration(RepositoryConfiguration repositoryConfiguration)
Called when the bound implementation class needs to know about the repository configuration.
|
void |
setRepositoryFactoryConfiguration(RepositoryFactoryConfiguration configuration)
This method is called to inject the repository factory configuration
|
void |
setRepositoryMetadata(RepositoryMetadata repositoryMetadata) |
public Object findOne(org.springframework.data.domain.Example example)
public Iterable findAll(org.springframework.data.domain.Example example)
public Iterable findAll(org.springframework.data.domain.Example example, org.springframework.data.domain.Sort sort)
public org.springframework.data.domain.Page findAll(org.springframework.data.domain.Example example,
org.springframework.data.domain.Pageable pageable)
public long count(org.springframework.data.domain.Example example)
public boolean exists(org.springframework.data.domain.Example example)
public void setDataStore(DataStore dataStore)
setDataStore in interface DataStoreAwarepublic void setRepositoryConfiguration(RepositoryConfiguration repositoryConfiguration)
RepositoryConfigurationAwaresetRepositoryConfiguration in interface RepositoryConfigurationAwarerepositoryConfiguration - the repository configurationpublic void setRepositoryMetadata(RepositoryMetadata repositoryMetadata)
setRepositoryMetadata in interface RepositoryMetadataAwarepublic void setRepositoryFactoryConfiguration(RepositoryFactoryConfiguration configuration)
RepositoryFactoryConfigurationAwaresetRepositoryFactoryConfiguration in interface RepositoryFactoryConfigurationAwareconfiguration - the configurationCopyright © 2014–2016. All rights reserved.