Package | Description |
---|---|
com.gigaspaces.datasource |
Provides GigaSpaces DataSource implementation.
|
org.openspaces.persistency | |
org.openspaces.persistency.hibernate |
An implementation of GigaSpaces external data source using Hibernate.
|
org.openspaces.persistency.hibernate.iterator |
A set of implementations of DataIterator using Hibernate.
|
org.openspaces.persistency.patterns |
Set of patterns that can be used to wrap different external data sources.
|
org.openspaces.persistency.support |
Support classes for persistency.
|
Modifier and Type | Method and Description |
---|---|
DataIterator<Object> |
SpaceDataSource.getDataIterator(DataSourceQuery query)
This method is invoked whenever the space needs to read data which matches the provided
DataSourceQuery from the space data source. |
DataIterator<Object> |
SpaceDataSource.getDataIteratorByIds(com.gigaspaces.datasource.DataSourceIdsQuery idsQuery)
This method is invoked whenever the space needs to read several entries from the data source according to their ids.
|
DataIterator<Object> |
SpaceDataSource.initialDataLoad()
This method is invoked after
SpaceDataSource.initialMetadataLoad() and is used for pre fetching data from the data source on space initialization. |
DataIterator<T> |
ManagedDataSource.initialLoad()
Deprecated.
Creates and returns an iterator over all the entries that should be loaded into space. |
DataIterator<SpaceTypeDescriptor> |
SpaceDataSource.initialMetadataLoad()
This method is invoked on space initialization (before
SpaceDataSource.initialDataLoad() is invoked) and is used for introducing data types kept in the data source to the 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.
|
Modifier and Type | Method and Description |
---|---|
DataIterator<SpaceTypeDescriptor> |
ClusterInfoAwareSpaceDataSource.initialMetadataLoad() |
Modifier and Type | Method and Description |
---|---|
protected DataIterator |
AbstractHibernateExternalDataSource.createInitialLoadIterator(DataIterator[] iterators)
Deprecated.
A helper method that creates the initial load iterator using the
ConcurrentMultiDataIterator
with the provided AbstractHibernateExternalDataSource.setInitialLoadThreadPoolSize(int) thread pool size. |
protected DataIterator |
AbstractHibernateSpaceDataSource.createInitialLoadIterator(DataIterator[] iterators)
A helper method that creates the initial load iterator using the
ConcurrentMultiDataIterator
with the provided #setInitialLoadThreadPoolSize(int) thread pool size. |
DataIterator<Object> |
CriteriaHibernateSpaceDataSource.getDataIterator(DataSourceQuery query) |
DataIterator<Object> |
DefaultHibernateSpaceDataSource.getDataIterator(DataSourceQuery query)
Returns a
DefaultListQueryDataIterator for the
given sql query. |
DataIterator |
StatelessHibernateSpaceDataSource.getDataIterator(DataSourceQuery query)
Returns a
StatelessListQueryDataIterator for the given
query. |
DataIterator<Object> |
DefaultHibernateSpaceDataSource.initialDataLoad()
Performs the initial load operation.
|
DataIterator |
StatelessHibernateSpaceDataSource.initialDataLoad()
Performs the initial load operation.
|
DataIterator |
DefaultHibernateExternalDataSource.initialLoad()
Deprecated.
Performs the initial load operation.
|
DataIterator |
StatelessHibernateExternalDataSource.initialLoad()
Deprecated.
Performs the initial load operation.
|
DataIterator<SpaceTypeDescriptor> |
AbstractHibernateSpaceDataSource.initialMetadataLoad() |
DataIterator |
CriteriaHibernateExternalDataSource.iterator(Object template)
Deprecated.
|
DataIterator |
DefaultHibernateExternalDataSource.iterator(SQLQuery sqlQuery)
Deprecated.
Returns a
DefaultListQueryDataIterator for the
given sql query. |
DataIterator |
StatelessHibernateExternalDataSource.iterator(SQLQuery sqlQuery)
Deprecated.
Returns a
StatelessListQueryDataIterator for the given
query. |
Modifier and Type | Method and Description |
---|---|
protected DataIterator |
AbstractHibernateExternalDataSource.createInitialLoadIterator(DataIterator[] iterators)
Deprecated.
A helper method that creates the initial load iterator using the
ConcurrentMultiDataIterator
with the provided AbstractHibernateExternalDataSource.setInitialLoadThreadPoolSize(int) thread pool size. |
protected DataIterator |
AbstractHibernateSpaceDataSource.createInitialLoadIterator(DataIterator[] iterators)
A helper method that creates the initial load iterator using the
ConcurrentMultiDataIterator
with the provided #setInitialLoadThreadPoolSize(int) thread pool size. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractChunkDataIterator
A base class that accepts a batch size and will create several iterators on the given
entity by chunking it into batch size chuncks, each iterator will iterate only on the given
chunk.
|
class |
AbstractScrollableDataIterator
A base class for scrollable result set (
ScrollableResults created based on either an
entity name or a SQLQuery . |
class |
DefaultChunkListDataIterator
A default batch iterator that is based on
DefaultListQueryDataIterator
for each chunk. |
class |
DefaultChunkScrollableDataIterator
A default batch iterator that is based on
DefaultScrollableDataIterator
for each chunk. |
class |
DefaultCriteriaByExampleDataIterator
A simple iterator that iterates over template object using Hibernate Criteria
by example.
|
class |
DefaultListQueryDataIterator
A simple iterator that iterates over a
SQLQuery by creating
an Hiberante query using Hibernate Session and listing it. |
class |
DefaultScrollableDataIterator
A default scrollable result iterator based on Hibernate
Session . |
class |
HibernateProxyRemoverIterator
A wrapper iterator that removes Hibernate proxies from the actual object
returned.
|
class |
StatelessChunkListDataIterator
A default batch iterator that is based on
StatelessListQueryDataIterator
for each chunk. |
class |
StatelessChunkScrollableDataIterator
A stateless batch iterator that is based on
StatelessScrollableDataIterator
for each chunk. |
class |
StatelessListQueryDataIterator
A simple iterator that iterates over a
SQLQuery by creating
an Hiberante query using Hibernate StatelessSession and listing it. |
class |
StatelessScrollableDataIterator
A stateless scrollable result based on Hibernate
StatelessSession . |
Modifier and Type | Method and Description |
---|---|
protected abstract DataIterator |
AbstractChunkDataIterator.createIteratorByEntityName(String entityName,
org.hibernate.SessionFactory sessionFactory,
int fetchSize,
boolean performOrderById,
int from,
int size) |
protected DataIterator |
DefaultChunkListDataIterator.createIteratorByEntityName(String entityName,
org.hibernate.SessionFactory sessionFactory,
int fetchSize,
boolean performOrderById,
int from,
int size) |
protected DataIterator |
DefaultChunkScrollableDataIterator.createIteratorByEntityName(String entityName,
org.hibernate.SessionFactory sessionFactory,
int fetchSize,
boolean performOrderById,
int from,
int size) |
protected DataIterator |
StatelessChunkListDataIterator.createIteratorByEntityName(String entityName,
org.hibernate.SessionFactory sessionFactory,
int fetchSize,
boolean performOrderById,
int from,
int size) |
protected DataIterator |
StatelessChunkScrollableDataIterator.createIteratorByEntityName(String entityName,
org.hibernate.SessionFactory sessionFactory,
int fetchSize,
boolean performOrderById,
int from,
int size) |
protected abstract DataIterator |
AbstractChunkDataIterator.createIteratorByHibernateQuery(String hQuery,
org.hibernate.SessionFactory sessionFactory,
int fetchSize,
int from,
int size) |
protected DataIterator |
DefaultChunkListDataIterator.createIteratorByHibernateQuery(String hQuery,
org.hibernate.SessionFactory sessionFactory,
int fetchSize,
int from,
int size) |
protected DataIterator |
DefaultChunkScrollableDataIterator.createIteratorByHibernateQuery(String hQuery,
org.hibernate.SessionFactory sessionFactory,
int fetchSize,
int from,
int size) |
protected DataIterator |
StatelessChunkListDataIterator.createIteratorByHibernateQuery(String hQuery,
org.hibernate.SessionFactory sessionFactory,
int fetchSize,
int from,
int size) |
protected DataIterator |
StatelessChunkScrollableDataIterator.createIteratorByHibernateQuery(String hQuery,
org.hibernate.SessionFactory sessionFactory,
int fetchSize,
int from,
int size) |
protected abstract DataIterator |
AbstractChunkDataIterator.createIteratorBySQLQuery(SQLQuery sqlQuery,
org.hibernate.SessionFactory sessionFactory,
int fetchSize,
boolean performOrderById,
int from,
int size) |
protected DataIterator |
DefaultChunkListDataIterator.createIteratorBySQLQuery(SQLQuery sqlQuery,
org.hibernate.SessionFactory sessionFactory,
int fetchSize,
boolean performOrderById,
int from,
int size) |
protected DataIterator |
DefaultChunkScrollableDataIterator.createIteratorBySQLQuery(SQLQuery sqlQuery,
org.hibernate.SessionFactory sessionFactory,
int fetchSize,
boolean performOrderById,
int from,
int size) |
protected DataIterator |
StatelessChunkListDataIterator.createIteratorBySQLQuery(SQLQuery sqlQuery,
org.hibernate.SessionFactory sessionFactory,
int fetchSize,
boolean performOrderById,
int from,
int size) |
protected DataIterator |
StatelessChunkScrollableDataIterator.createIteratorBySQLQuery(SQLQuery sqlQuery,
org.hibernate.SessionFactory sessionFactory,
int fetchSize,
boolean performOrderById,
int from,
int size) |
DataIterator[] |
AbstractChunkDataIterator.iterators() |
DataIterator[] |
HibernateProxyRemoverIterator.iterators() |
Constructor and Description |
---|
HibernateProxyRemoverIterator(DataIterator iterator) |
Modifier and Type | Method and Description |
---|---|
DataIterator<Object> |
SpaceDataSourceExceptionHandler.getDataIterator(DataSourceQuery query) |
DataIterator<Object> |
SpaceDataSourceSplitter.getDataIterator(DataSourceQuery query)
Delegates the query to the corresponding data source
|
DataIterator<Object> |
SpaceDataSourceExceptionHandler.getDataIteratorByIds(com.gigaspaces.datasource.DataSourceIdsQuery idsQuery) |
DataIterator<Object> |
SpaceDataSourceSplitter.getDataIteratorByIds(com.gigaspaces.datasource.DataSourceIdsQuery idsQuery)
Delegates the query to the corresponding data source
|
DataIterator<Object> |
SpaceDataSourceExceptionHandler.initialDataLoad() |
DataIterator<Object> |
SpaceDataSourceSplitter.initialDataLoad()
Iterates through all the given data sources and assembles their respective
DataIterator s
from SpaceDataSource.initialDataLoad() . |
DataIterator |
AbstractManagedDataSourceDelegator.initialLoad()
Deprecated.
|
DataIterator |
AbstractManagedDataSourceSplitter.initialLoad()
Deprecated.
Iterates through all the given data sources and assembles their respective
DataIterator s
from ManagedDataSource.initialLoad() . |
DataIterator<SpaceTypeDescriptor> |
SpaceDataSourceExceptionHandler.initialMetadataLoad() |
DataIterator<SpaceTypeDescriptor> |
SpaceDataSourceSplitter.initialMetadataLoad()
Iterates through all the given data sources and assembles their respective
DataIterator s
from SpaceDataSource.initialMetadataLoad() . |
DataIterator |
DataProviderSplitter.iterator(Object o)
Deprecated.
|
DataIterator |
SQLDataProviderExceptionHandler.iterator(SQLQuery sqlQuery)
Deprecated.
|
DataIterator |
SQLDataProviderSplitter.iterator(SQLQuery sqlQuery)
Deprecated.
|
Modifier and Type | Interface and Description |
---|---|
interface |
MultiDataIterator
A marker interface on top of the data source
DataIterator
which handles multiple data iterators. |
Modifier and Type | Class and Description |
---|---|
class |
ConcurrentMultiDataIterator
A simple implementation wrapping several iterators and exposing them as concurrent iterator using a
fixed size thread pool.
|
class |
SerialMultiDataIterator
A simple implementation wrapping several iterators and exposing them as a single (serial) iterator.
|
Modifier and Type | Method and Description |
---|---|
DataIterator[] |
ConcurrentMultiDataIterator.iterators() |
DataIterator[] |
MultiDataIterator.iterators()
Returns the underlying iterators.
|
DataIterator[] |
SerialMultiDataIterator.iterators() |
Constructor and Description |
---|
ConcurrentMultiDataIterator(DataIterator[] iterators,
int threadPoolSize) |
SerialMultiDataIterator(DataIterator... iterators) |
Copyright © GigaSpaces.