T - SpaceDataSource instead.@Deprecated public interface DataProvider<T> extends ManagedDataSource<T>
SQLDataProvider.
Note: If SQLDataProvider is implemented, the space will use it for all the read operations
instead of the DataProvider.
Implement this interface only if you don't intend to use SQLQuery at all.SQLDataProviderNUMBER_OF_PARTITIONS, STATIC_PARTITION_NUMBER| Modifier and Type | Method and Description |
|---|---|
DataIterator<T> |
iterator(T template)
Deprecated.
Create an iterator over all objects that match the given template.
|
T |
read(T template)
Deprecated.
Read one object that matches the given template.
|
init, initialLoad, shutdownT read(T template) throws DataSourceException
template - DataSourceExceptionDataIterator<T> iterator(T template) throws DataSourceException
SQLDataProvider interface is also implemented - the space will use SQLDataProvider.iterator instead.template - DataIterator or null if no data was found that match the given templateDataSourceExceptionCopyright © GigaSpaces.