Package | Description |
---|---|
com.gigaspaces.datasource |
Provides GigaSpaces DataSource implementation.
|
com.gigaspaces.datasource.concurrentaccess | |
com.gigaspaces.internal.datasource | |
com.j_spaces.sadapter.datasource | |
org.openspaces.persistency.patterns |
Set of patterns that can be used to wrap different external data sources.
|
Modifier and Type | Method and Description |
---|---|
void |
BulkDataPersister.executeBulk(List<BulkItem> bulk)
Deprecated.
Execute given bulk of operations.
Each BulkItem contains one of the following
operation -WRITE - given object should be inserted to the data store, UPDATE - given object should be updated in the data store, REMOVE - given object should be deleted from the data store If the implementation uses transactions, all the bulk operations must be executed in one transaction. |
void |
ManagedDataSource.init(Properties prop)
Deprecated.
Initialize and configure the data source using given properties.
Called when space is started. The properties are loaded from a file that can be defined in the space schema or as a property named: space-config.ExternalDataSource.properties-file partitionId and number of partitions are also in the Properties - can be read with STATIC_PARTITION_NUMBER and NUMBER_OF_PARTITIONS |
DataIterator<T> |
ManagedDataSource.initialLoad()
Deprecated.
Creates and returns an iterator over all the entries that should be loaded into
space. |
DataIterator<T> |
SQLDataProvider.iterator(SQLQuery<T> query)
Deprecated.
Create an iterator over all objects that match the given
SQLQuery . |
DataIterator<T> |
DataProvider.iterator(T template)
Deprecated.
Create an iterator over all objects that match the given template.
Note: null value can be passed - in case of a null template or at initial space load. |
T |
DataProvider.read(T template)
Deprecated.
Read one object that matches the given template.
|
void |
DataPersister.remove(T object)
Deprecated.
Remove the given object from the data store
|
void |
ManagedDataSource.shutdown()
Deprecated.
Close the data source and clean any used resources.
Called before space shutdown. |
void |
DataPersister.update(T object)
Deprecated.
Update the given object in the data store
|
void |
DataPersister.write(T object)
Deprecated.
Write given new object to the data store
|
void |
DataPersister.writeBatch(List<T> objects)
Deprecated.
for batch operations use
BulkDataPersister |
Modifier and Type | Method and Description |
---|---|
DataIterator<T> |
SharedDataIteratorSource.getIterator()
Gets a new shared data iterator over the source data iterator
|
DataIterator<T> |
ISourceDataIteratorProvider.getSourceIterator() |
void |
SharedIteratorSQLDataProviderDecorator.init(Properties prop) |
DataIterator<T> |
SharedIteratorSQLDataProviderDecorator.initialLoad() |
DataIterator<T> |
SharedIteratorSQLDataProviderDecorator.iterator(SQLQuery<T> query) |
void |
SharedIteratorSQLDataProviderDecorator.shutdown() |
void |
SharedIteratorSpaceDataSourceDecorator.shutdown() |
Modifier and Type | Method and Description |
---|---|
void |
EDSAdapterSpaceDataSource.initialize(Properties dataProperties) |
Modifier and Type | Method and Description |
---|---|
void |
BatchDataWriter.add(BulkDataItem entry) |
void |
BatchDataWriter.executeBatch() |
void |
DataStorage.executeBulk(List<BulkItem> bulk) |
void |
DataStorage.init(Properties configuration) |
DataIterator<T> |
DataStorage.initialLoad() |
DataIterator<T> |
DataStorage.iterator(SQLQuery<T> query) |
DataIterator<T> |
DataStorage.iterator(T template) |
T |
DataStorage.read(T template) |
void |
DataStorage.remove(T object) |
void |
DataStorage.shutdown() |
void |
DataStorage.update(T object) |
void |
DataStorage.write(T object) |
void |
DataStorage.writeBatch(List<T> objects) |
Modifier and Type | Method and Description |
---|---|
void |
BulkDataPersisterExceptionHandler.executeBulk(List<BulkItem> bulkItems)
Deprecated.
|
void |
BulkDataPersisterSplitter.executeBulk(List<BulkItem> bulkItems)
Deprecated.
|
void |
AbstractManagedDataSourceSplitter.init(Properties properties)
Deprecated.
Iterates through all the given data sources and calls
ManagedDataSource.init(java.util.Properties)
on them. |
void |
AbstractManagedDataSourceDelegator.init(Properties properties)
Deprecated.
|
DataIterator |
AbstractManagedDataSourceSplitter.initialLoad()
Deprecated.
Iterates through all the given data sources and assembles their respective
DataIterator s from ManagedDataSource.initialLoad() . |
DataIterator |
AbstractManagedDataSourceDelegator.initialLoad()
Deprecated.
|
DataIterator |
DataProviderSplitter.iterator(Object o)
Deprecated.
|
DataIterator |
SQLDataProviderExceptionHandler.iterator(SQLQuery sqlQuery)
Deprecated.
|
DataIterator |
SQLDataProviderSplitter.iterator(SQLQuery sqlQuery)
Deprecated.
|
void |
ExceptionHandler.onException(Exception e,
Object event)
Deprecated.
Logic to handle the exceptions.
|
Object |
DataProviderSplitter.read(Object o)
Deprecated.
|
void |
AbstractManagedDataSourceSplitter.shutdown()
Deprecated.
|
void |
AbstractManagedDataSourceDelegator.shutdown()
Deprecated.
|
Copyright © GigaSpaces.