Package org.eclipse.emf.cdo.spi.server
Class StoreChunkReader
java.lang.Object
org.eclipse.emf.cdo.spi.server.StoreChunkReader
- All Implemented Interfaces:
IStoreChunkReader
Base request object for loading selected positions of a many-valued feature from a store. It carries the accessor,
revision, and feature context and accumulates the simple or ranged chunks that the backend must return.
- Since:
- 2.0
- Author:
- Eike Stepper
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.emf.cdo.server.IStoreChunkReader
IStoreChunkReader.Chunk -
Constructor Summary
ConstructorsConstructorDescriptionStoreChunkReader(IStoreAccessor accessor, CDORevision revision, EStructuralFeature feature) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRangedChunk(int fromIndex, int toIndex) voidaddSimpleChunk(int index) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.emf.cdo.server.IStoreChunkReader
executeRead
-
Constructor Details
-
StoreChunkReader
-
-
Method Details
-
getAccessor
- Specified by:
getAccessorin interfaceIStoreChunkReader
-
getRevision
- Specified by:
getRevisionin interfaceIStoreChunkReader
-
getFeature
- Specified by:
getFeaturein interfaceIStoreChunkReader
-
getChunks
-
addSimpleChunk
public void addSimpleChunk(int index) - Specified by:
addSimpleChunkin interfaceIStoreChunkReader
-
addRangedChunk
public void addRangedChunk(int fromIndex, int toIndex) - Specified by:
addRangedChunkin interfaceIStoreChunkReader- Parameters:
fromIndex- Inclusive value.toIndex- Exclusive value.
-