| Package | Description |
|---|---|
| org.apache.druid.frame.processor |
| Modifier and Type | Method and Description |
|---|---|
OutputChannel |
OutputChannel.mapWritableChannel(Function<WritableFrameChannel,WritableFrameChannel> mapFn) |
static OutputChannel |
OutputChannel.nil(int partitionNumber)
Create a nil output channel, representing a processor that writes nothing.
|
OutputChannel |
OutputChannelFactory.openChannel(int partitionNumber)
Create a channel pair tagged with a particular partition number.
|
OutputChannel |
BlockingQueueOutputChannelFactory.openChannel(int partitionNumber) |
OutputChannel |
FileOutputChannelFactory.openChannel(int partitionNumber) |
OutputChannel |
OutputChannelFactory.openNilChannel(int partitionNumber)
Create a non-writable, always-empty channel pair tagged with a particular partition number.
|
OutputChannel |
BlockingQueueOutputChannelFactory.openNilChannel(int partitionNumber) |
OutputChannel |
FileOutputChannelFactory.openNilChannel(int partitionNumber) |
static OutputChannel |
OutputChannel.pair(WritableFrameChannel writableChannel,
MemoryAllocator frameMemoryAllocator,
Supplier<ReadableFrameChannel> readableChannelSupplier,
int partitionNumber)
Creates an output channel pair.
|
OutputChannel |
OutputChannel.readOnly()
Returns a read-only version of this instance.
|
| Modifier and Type | Method and Description |
|---|---|
List<OutputChannel> |
OutputChannels.getAllChannels()
Returns all channels.
|
List<OutputChannel> |
OutputChannels.getChannelsForPartition(int partitionNumber)
Returns channels for which
getPartitionNumber() returns partitionNumber. |
| Modifier and Type | Method and Description |
|---|---|
static OutputChannels |
OutputChannels.wrap(List<OutputChannel> outputChannels)
Creates an instance wrapping all the provided channels.
|
static OutputChannels |
OutputChannels.wrapReadOnly(List<OutputChannel> outputChannels)
Creates an instance wrapping read-only versions (see
readOnly()) of all the
provided channels. |
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.