Interface NosqlRepository<T,ID extends Serializable> 
- All Superinterfaces:
- org.springframework.data.repository.CrudRepository<T,,- ID> - org.springframework.data.repository.PagingAndSortingRepository<T,,- ID> - org.springframework.data.repository.Repository<T,- ID> 
- All Known Implementing Classes:
- SimpleNosqlRepository
@NoRepositoryBean
public interface NosqlRepository<T,ID extends Serializable> 
extends org.springframework.data.repository.PagingAndSortingRepository<T,ID>, org.springframework.data.repository.CrudRepository<T,ID>  
- 
Method SummaryModifier and TypeMethodDescriptionlongcount()voidvoidvoidvoiddeleteById(ID id) booleanexistsById(ID id) findAll()org.springframework.data.domain.Page<T>findAll(org.springframework.data.domain.Pageable pageable) findAll(org.springframework.data.domain.Sort sort) findAllById(Iterable<ID> ids) Returns the configured read request consistency value.Returns the configured request durability value.intReturns the configured request timeout value, in milliseconds, or 0 if it has not been set.<S extends T>
 Ssave(S entity) voidsetConsistency(String consistency) Sets the read request consistency value.voidsetDurability(String durability) Sets the request durability value.voidsetTimeout(int milliseconds) Sets the request timeout value, in milliseconds.Methods inherited from interface org.springframework.data.repository.CrudRepositorydeleteAllById
- 
Method Details- 
findAll- Specified by:
- findAllin interface- org.springframework.data.repository.CrudRepository<T,- ID extends Serializable> 
 
- 
save- Specified by:
- savein interface- org.springframework.data.repository.CrudRepository<T,- ID extends Serializable> 
 
- 
saveAll- Specified by:
- saveAllin interface- org.springframework.data.repository.CrudRepository<T,- ID extends Serializable> 
 
- 
findById- Specified by:
- findByIdin interface- org.springframework.data.repository.CrudRepository<T,- ID extends Serializable> 
 
- 
existsById- Specified by:
- existsByIdin interface- org.springframework.data.repository.CrudRepository<T,- ID extends Serializable> 
 
- 
findAllById- Specified by:
- findAllByIdin interface- org.springframework.data.repository.CrudRepository<T,- ID extends Serializable> 
 
- 
countlong count()- Specified by:
- countin interface- org.springframework.data.repository.CrudRepository<T,- ID extends Serializable> 
 
- 
deleteById- Specified by:
- deleteByIdin interface- org.springframework.data.repository.CrudRepository<T,- ID extends Serializable> 
 
- 
delete- Specified by:
- deletein interface- org.springframework.data.repository.CrudRepository<T,- ID extends Serializable> 
 
- 
deleteAll- Specified by:
- deleteAllin interface- org.springframework.data.repository.CrudRepository<T,- ID extends Serializable> 
 
- 
deleteAllvoid deleteAll()- Specified by:
- deleteAllin interface- org.springframework.data.repository.CrudRepository<T,- ID extends Serializable> 
 
- 
findAll- Specified by:
- findAllin interface- org.springframework.data.repository.PagingAndSortingRepository<T,- ID extends Serializable> 
 
- 
findAll- Specified by:
- findAllin interface- org.springframework.data.repository.PagingAndSortingRepository<T,- ID extends Serializable> 
 
- 
getTimeoutint getTimeout()Returns the configured request timeout value, in milliseconds, or 0 if it has not been set.
- 
setTimeoutvoid setTimeout(int milliseconds) Sets the request timeout value, in milliseconds. This overrides any default value set in NoSQLHandleConfig. The value must be positive. This set takes precedence over the one set when usingNosqlTable.timeout().
- 
getConsistencyString getConsistency()Returns the configured read request consistency value.
- 
setConsistencySets the read request consistency value. The value must be one ofConsistencyvalues. This set takes precedence over the one set when usingNosqlTable.consistency().
- 
getDurabilityString getDurability()Returns the configured request durability value.
- 
setDurabilitySets the request durability value. The value must be one of the defined Durability values:Durability.COMMIT_NO_SYNC,Durability.COMMIT_WRITE_NO_SYNCorDurability.COMMIT_SYNC.This set takes precedence over the one set when using NosqlTable.durability().If null or invalid value is provided durability will be set to Durability.COMMIT_NO_SYNCNote: This applies to On-Prem installations only. 
 
-