Class AbstractRemoteChunkProvider<T extends AbstractArrowResultChunk>

  • Type Parameters:
    T - The specific type of AbstractArrowResultChunk this provider manages
    All Implemented Interfaces:
    ChunkProvider
    Direct Known Subclasses:
    RemoteChunkProvider, RemoteChunkProviderV2

    public abstract class AbstractRemoteChunkProvider<T extends AbstractArrowResultChunk>
    extends Object
    implements ChunkProvider
    Abstract base implementation of both ChunkProvider and ChunkDownloadManager interfaces.

    The provider maintains a concurrent map of chunks and implements a sliding window approach or memory management, releasing consumed chunks and downloading new ones as needed. It ensures that the number of chunks in memory never exceeds the configured parallel download limit.