GigaSpaces XAP 9.7.2 API

Uses of Interface
com.gigaspaces.datasource.DataIterator

Packages that use DataIterator
com.gigaspaces.datasource Provides GigaSpaces DataSource implementation. 
org.openspaces.persistency.cassandra   
org.openspaces.persistency.cassandra.datasource   
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. 
 

Uses of DataIterator in com.gigaspaces.datasource
 

Methods in com.gigaspaces.datasource that return DataIterator
 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.
 

Uses of DataIterator in org.openspaces.persistency.cassandra
 

Methods in org.openspaces.persistency.cassandra that return DataIterator
 DataIterator<Object> CassandraSpaceDataSource.getDataIterator(DataSourceQuery query)
           
 DataIterator<Object> CassandraSpaceDataSource.getDataIteratorByIds(com.gigaspaces.datasource.DataSourceIdsQuery idsQuery)
           
 DataIterator<Object> CassandraSpaceDataSource.initialDataLoad()
           
 DataIterator<SpaceTypeDescriptor> CassandraSpaceDataSource.initialMetadataLoad()
           
 

Uses of DataIterator in org.openspaces.persistency.cassandra.datasource
 

Classes in org.openspaces.persistency.cassandra.datasource that implement DataIterator
 class CassandraTokenRangeAwareDataIterator
           
 class CassandraTokenRangeAwareInitialLoadDataIterator
           
 class CassandraTokenRangeJDBCDataIterator
          Note: the underlying cassandra jdbc implementation brings the entire batch when calling execute, so SQLException exceptions will actually only be thrown during prepare statement and execute statment Moreover, the iteration over the results is currently only logical because the entire result set already lies in memory after execute statement returns.
 class SingleEntryDataIterator
          A DataIterator for single entry or empty result sets.
 

Uses of DataIterator in org.openspaces.persistency.hibernate
 

Methods in org.openspaces.persistency.hibernate that return DataIterator
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 StatelessHibernateSpaceDataSource.getDataIterator(DataSourceQuery query)
          Returns a StatelessListQueryDataIterator for the given query.
 DataIterator<Object> DefaultHibernateSpaceDataSource.getDataIterator(DataSourceQuery query)
          Returns a DefaultListQueryDataIterator for the given sql query.
 DataIterator StatelessHibernateSpaceDataSource.initialDataLoad()
          Performs the initial load operation.
 DataIterator<Object> DefaultHibernateSpaceDataSource.initialDataLoad()
          Performs the initial load operation.
 DataIterator StatelessHibernateExternalDataSource.initialLoad()
          Deprecated. Performs the initial load operation.
 DataIterator DefaultHibernateExternalDataSource.initialLoad()
          Deprecated. Performs the initial load operation.
 DataIterator CriteriaHibernateExternalDataSource.iterator(Object template)
          Deprecated.  
 DataIterator StatelessHibernateExternalDataSource.iterator(SQLQuery sqlQuery)
          Deprecated. Returns a StatelessListQueryDataIterator for the given query.
 DataIterator DefaultHibernateExternalDataSource.iterator(SQLQuery sqlQuery)
          Deprecated. Returns a DefaultListQueryDataIterator for the given sql query.
 

Methods in org.openspaces.persistency.hibernate with parameters of type DataIterator
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.
 

Uses of DataIterator in org.openspaces.persistency.hibernate.iterator
 

Classes in org.openspaces.persistency.hibernate.iterator that implement DataIterator
 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.
 

Methods in org.openspaces.persistency.hibernate.iterator that return DataIterator
protected abstract  DataIterator AbstractChunkDataIterator.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 DefaultChunkScrollableDataIterator.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  DataIterator DefaultChunkListDataIterator.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 StatelessChunkListDataIterator.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 StatelessChunkScrollableDataIterator.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 abstract  DataIterator AbstractChunkDataIterator.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 DefaultChunkScrollableDataIterator.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)
           
protected  DataIterator DefaultChunkListDataIterator.createIteratorBySQLQuery(SQLQuery sqlQuery, org.hibernate.SessionFactory sessionFactory, int fetchSize, boolean performOrderById, int from, int size)
           
 DataIterator[] AbstractChunkDataIterator.iterators()
           
 DataIterator[] HibernateProxyRemoverIterator.iterators()
           
 

Constructors in org.openspaces.persistency.hibernate.iterator with parameters of type DataIterator
HibernateProxyRemoverIterator(DataIterator iterator)
           
 

Uses of DataIterator in org.openspaces.persistency.patterns
 

Methods in org.openspaces.persistency.patterns that return DataIterator
 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 DataIterators from SpaceDataSource.initialDataLoad().
 DataIterator AbstractManagedDataSourceSplitter.initialLoad()
          Deprecated. Iterates through all the given data sources and assembles their respective DataIterators from ManagedDataSource.initialLoad().
 DataIterator AbstractManagedDataSourceDelegator.initialLoad()
          Deprecated.  
 DataIterator<SpaceTypeDescriptor> SpaceDataSourceExceptionHandler.initialMetadataLoad()
           
 DataIterator<SpaceTypeDescriptor> SpaceDataSourceSplitter.initialMetadataLoad()
          Iterates through all the given data sources and assembles their respective DataIterators from SpaceDataSource.initialMetadataLoad().
 DataIterator DataProviderSplitter.iterator(Object o)
          Deprecated.  
 DataIterator SQLDataProviderExceptionHandler.iterator(SQLQuery sqlQuery)
          Deprecated.  
 DataIterator SQLDataProviderSplitter.iterator(SQLQuery sqlQuery)
          Deprecated.  
 

Uses of DataIterator in org.openspaces.persistency.support
 

Subinterfaces of DataIterator in org.openspaces.persistency.support
 interface MultiDataIterator
          A marker interface on top of the data source DataIterator which handles multiple data iterators.
 

Classes in org.openspaces.persistency.support that implement DataIterator
 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.
 

Methods in org.openspaces.persistency.support that return DataIterator
 DataIterator[] ConcurrentMultiDataIterator.iterators()
           
 DataIterator[] MultiDataIterator.iterators()
          Returns the underlying iterators.
 DataIterator[] SerialMultiDataIterator.iterators()
           
 

Constructors in org.openspaces.persistency.support with parameters of type DataIterator
ConcurrentMultiDataIterator(DataIterator[] iterators, int threadPoolSize)
           
SerialMultiDataIterator(DataIterator... iterators)
           
 


GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.