| Package | Description |
|---|---|
| org.apache.druid.frame.allocation | |
| org.apache.druid.frame.processor | |
| org.apache.druid.frame.write | |
| org.apache.druid.frame.write.columnar |
| Modifier and Type | Class and Description |
|---|---|
class |
ArenaMemoryAllocator
Allocator that uses a reusable
WritableMemory arena. |
class |
HeapMemoryAllocator
Allocator that uses
ByteBuffer.allocate(int) to create chunks in the JVM heap. |
| Modifier and Type | Method and Description |
|---|---|
static AppendableMemory |
AppendableMemory.create(MemoryAllocator allocator)
Creates an appendable memory instance with a default initial allocation size.
|
static AppendableMemory |
AppendableMemory.create(MemoryAllocator allocator,
int initialAllocationSize)
Creates an appendable memory instance using a particular initial allocation size.
|
| Modifier and Type | Method and Description |
|---|---|
MemoryAllocator |
OutputChannel.getFrameMemoryAllocator()
Returns the memory allocator for the writable channel.
|
| Modifier and Type | Method and Description |
|---|---|
static OutputChannel |
OutputChannel.pair(WritableFrameChannel writableChannel,
MemoryAllocator frameMemoryAllocator,
Supplier<ReadableFrameChannel> readableChannelSupplier,
int partitionNumber)
Creates an output channel pair.
|
| Constructor and Description |
|---|
SuperSorter(List<ReadableFrameChannel> inputChannels,
FrameReader frameReader,
ClusterBy clusterBy,
com.google.common.util.concurrent.ListenableFuture<ClusterByPartitions> outputPartitionsFuture,
FrameProcessorExecutor exec,
File temporaryDirectory,
OutputChannelFactory outputChannelFactory,
Supplier<MemoryAllocator> innerFrameAllocatorMaker,
int maxActiveProcessors,
int maxChannelsPerProcessor,
long rowLimit,
String cancellationId,
SuperSorterProgressTracker superSorterProgressTracker)
Initializes a SuperSorter.
|
| Modifier and Type | Method and Description |
|---|---|
static FrameWriterFactory |
FrameWriters.makeFrameWriterFactory(FrameType frameType,
MemoryAllocator allocator,
RowSignature signature,
List<SortColumn> sortColumns)
Creates a
FrameWriterFactory that produces frames of the given FrameType. |
| Constructor and Description |
|---|
RowBasedFrameWriterFactory(MemoryAllocator allocator,
RowSignature signature,
List<SortColumn> sortColumns) |
| Constructor and Description |
|---|
ColumnarFrameWriterFactory(MemoryAllocator allocator,
RowSignature signature,
List<SortColumn> sortColumns)
Create a ColumnarFrameWriterFactory.
|
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.