Uses of Interface
org.apache.druid.frame.allocation.MemoryAllocator
Packages that use MemoryAllocator
Package
Description
-
Uses of MemoryAllocator in org.apache.druid.frame.allocation
Classes in org.apache.druid.frame.allocation that implement MemoryAllocatorModifier and TypeClassDescriptionclassAllocator that uses a reusableWritableMemoryarena.classAllocator that usesByteBuffer.allocate(int)to create chunks in the JVM heap.Methods in org.apache.druid.frame.allocation that return MemoryAllocatorModifier and TypeMethodDescriptionArenaMemoryAllocatorFactory.newAllocator()MemoryAllocatorFactory.newAllocator()Returns a new allocator with capacityMemoryAllocatorFactory.allocatorCapacity().SingleMemoryAllocatorFactory.newAllocator()Methods in org.apache.druid.frame.allocation with parameters of type MemoryAllocatorModifier and TypeMethodDescriptionstatic AppendableMemoryAppendableMemory.create(MemoryAllocator allocator) Creates an appendable memory instance with a default initial allocation size.static AppendableMemoryAppendableMemory.create(MemoryAllocator allocator, int initialAllocationSize) Creates an appendable memory instance using a particular initial allocation size.Constructors in org.apache.druid.frame.allocation with parameters of type MemoryAllocator -
Uses of MemoryAllocator in org.apache.druid.frame.processor
Methods in org.apache.druid.frame.processor that return MemoryAllocatorModifier and TypeMethodDescriptionOutputChannel.getFrameMemoryAllocator()Returns the memory allocator for the writable channel.PartitionedOutputChannel.getFrameMemoryAllocator()Returns the memory allocator for the writable channel.Methods in org.apache.druid.frame.processor with parameters of type MemoryAllocatorModifier and TypeMethodDescriptionstatic OutputChannelOutputChannel.immediatelyReadablePair(WritableFrameChannel writableChannel, MemoryAllocator frameMemoryAllocator, ReadableFrameChannel readableChannel, int partitionNumber) Creates an output channel pair, where the readable channel is usable before writing is complete.static OutputChannelOutputChannel.pair(WritableFrameChannel writableChannel, MemoryAllocator frameMemoryAllocator, Supplier<ReadableFrameChannel> readableChannelSupplier, int partitionNumber) Creates an output channel pair, where the readable channel is not usable until writing is complete.static PartitionedOutputChannelPartitionedOutputChannel.pair(WritableFrameChannel writableChannel, MemoryAllocator frameMemoryAllocator, Supplier<PartitionedReadableFrameChannel> readableChannelSupplier) Creates a partitioned output channel pair. -
Uses of MemoryAllocator in org.apache.druid.frame.write.columnar
Constructors in org.apache.druid.frame.write.columnar with parameters of type MemoryAllocatorModifierConstructorDescriptionDoubleArrayFrameColumnWriter(ColumnValueSelector selector, MemoryAllocator allocator) DoubleFrameMaker(MemoryAllocator allocator, boolean hasNulls) FloatArrayFrameColumnWriter(ColumnValueSelector selector, MemoryAllocator allocator) FloatFrameMaker(MemoryAllocator allocator, boolean hasNulls) LongArrayFrameColumnWriter(ColumnValueSelector selector, MemoryAllocator allocator) LongFrameMaker(MemoryAllocator allocator, boolean hasNulls) NumericArrayFrameColumnWriter(ColumnValueSelector selector, MemoryAllocator allocator, byte typeCode)