| Package | Description |
|---|---|
| org.apache.flink.runtime.io.disk | |
| org.apache.flink.runtime.io.disk.iomanager | |
| org.apache.flink.runtime.operators.hash | |
| org.apache.flink.runtime.operators.sort |
| Constructor and Description |
|---|
ChannelReaderInputViewIterator(IOManager ioAccess,
Channel.ID channel,
LinkedBlockingQueue<MemorySegment> returnQueue,
List<MemorySegment> segments,
List<MemorySegment> freeMemTarget,
TypeSerializer<E> accessors,
int numBlocks) |
ChannelReaderInputViewIterator(IOManager ioAccess,
Channel.ID channel,
List<MemorySegment> segments,
List<MemorySegment> freeMemTarget,
TypeSerializer<E> accessors,
int numBlocks) |
| Modifier and Type | Field and Description |
|---|---|
protected Channel.ID |
ChannelAccess.id
The ID of the underlying channel.
|
| Modifier and Type | Method and Description |
|---|---|
Channel.ID |
IOManager.createChannel()
Creates a new
Channel.ID in one of the temp directories. |
Channel.ID |
ChannelAccess.getChannelID()
Gets the channel ID of this channel.
|
Channel.ID |
Channel.Enumerator.next() |
| Modifier and Type | Method and Description |
|---|---|
BlockChannelReader |
IOManager.createBlockChannelReader(Channel.ID channelID)
Creates a block channel reader that reads blocks from the given channel.
|
BlockChannelReader |
IOManager.createBlockChannelReader(Channel.ID channelID,
int numRequestsToCombine)
Creates a block channel reader that reads blocks from the given channel.
|
BlockChannelReader |
IOManager.createBlockChannelReader(Channel.ID channelID,
LinkedBlockingQueue<MemorySegment> returnQueue)
Creates a block channel reader that reads blocks from the given channel.
|
BlockChannelReader |
IOManager.createBlockChannelReader(Channel.ID channelID,
LinkedBlockingQueue<MemorySegment> returnQueue,
int numRequestsToCombine)
Creates a block channel reader that reads blocks from the given channel.
|
BlockChannelWriter |
IOManager.createBlockChannelWriter(Channel.ID channelID)
Creates a block channel writer that writes to the given channel.
|
BlockChannelWriter |
IOManager.createBlockChannelWriter(Channel.ID channelID,
int numRequestsToCombine)
Creates a block channel writer that writes to the given channel.
|
BlockChannelWriter |
IOManager.createBlockChannelWriter(Channel.ID channelID,
LinkedBlockingQueue<MemorySegment> returnQueue)
Creates a block channel writer that writes to the given channel.
|
BlockChannelWriter |
IOManager.createBlockChannelWriter(Channel.ID channelID,
LinkedBlockingQueue<MemorySegment> returnQueue,
int numRequestsToCombine)
Creates a block channel writer that writes to the given channel.
|
BulkBlockChannelReader |
IOManager.createBulkBlockChannelReader(Channel.ID channelID,
List<MemorySegment> targetSegments,
int numBlocks)
Creates a block channel reader that reads all blocks from the given channel directly in one bulk.
|
| Constructor and Description |
|---|
BlockChannelAccess(Channel.ID channelID,
RequestQueue<R> requestQueue,
C returnQueue,
boolean writeEnabled)
Creates a new channel access to the path indicated by the given ID.
|
BlockChannelReader(Channel.ID channelID,
RequestQueue<org.apache.flink.runtime.io.disk.iomanager.ReadRequest> requestQueue,
LinkedBlockingQueue<MemorySegment> returnSegments,
int numRequestsToBundle)
Creates a new block channel reader for the given channel.
|
BlockChannelWriter(Channel.ID channelID,
RequestQueue<org.apache.flink.runtime.io.disk.iomanager.WriteRequest> requestQueue,
LinkedBlockingQueue<MemorySegment> returnSegments,
int numRequestsToBundle)
Creates a new block channel writer for the given channel.
|
BulkBlockChannelReader(Channel.ID channelID,
RequestQueue<org.apache.flink.runtime.io.disk.iomanager.ReadRequest> requestQueue,
List<MemorySegment> sourceSegments,
int numBlocks) |
ChannelAccess(Channel.ID channelID,
RequestQueue<R> requestQueue,
boolean writeEnabled)
Creates a new channel to the path indicated by the given ID.
|
| Modifier and Type | Method and Description |
|---|---|
int |
HashPartition.spillPartition(List<MemorySegment> target,
IOManager ioAccess,
Channel.ID targetChannel,
LinkedBlockingQueue<MemorySegment> bufferReturnQueue)
Spills this partition to disk and sets it up such that it continues spilling records that are added to
it.
|
| Modifier and Type | Method and Description |
|---|---|
Channel.ID |
UnilateralSortMerger.ChannelWithBlockCount.getChannel() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
UnilateralSortMerger.SpillingThread.registerChannelToBeRemovedAtShudown(Channel.ID channel)
Adds a channel to the list of channels that are to be removed at shutdown.
|
protected void |
UnilateralSortMerger.SpillingThread.unregisterChannelToBeRemovedAtShudown(Channel.ID channel)
Removes a channel from the list of channels that are to be removed at shutdown.
|
| Constructor and Description |
|---|
UnilateralSortMerger.ChannelWithBlockCount(Channel.ID channel,
int blockCount) |
Copyright © 2014 The Apache Software Foundation. All rights reserved.