Uses of Interface
org.apache.druid.frame.allocation.MemoryAllocator
-
Packages that use MemoryAllocator Package Description org.apache.druid.frame.allocation org.apache.druid.frame.processor org.apache.druid.frame.write.columnar -
-
Uses of MemoryAllocator in org.apache.druid.frame.allocation
Classes in org.apache.druid.frame.allocation that implement MemoryAllocator Modifier and Type Class Description classArenaMemoryAllocatorAllocator that uses a reusableWritableMemoryarena.classHeapMemoryAllocatorAllocator that usesByteBuffer.allocate(int)to create chunks in the JVM heap.Methods in org.apache.druid.frame.allocation that return MemoryAllocator Modifier and Type Method Description MemoryAllocatorArenaMemoryAllocatorFactory. newAllocator()MemoryAllocatorMemoryAllocatorFactory. newAllocator()Returns a new allocator with capacityMemoryAllocatorFactory.allocatorCapacity().MemoryAllocatorSingleMemoryAllocatorFactory. newAllocator()Methods in org.apache.druid.frame.allocation with parameters of type MemoryAllocator Modifier and Type Method Description static 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 Constructor Description SingleMemoryAllocatorFactory(MemoryAllocator allocator) -
Uses of MemoryAllocator in org.apache.druid.frame.processor
Methods in org.apache.druid.frame.processor that return MemoryAllocator Modifier and Type Method Description MemoryAllocatorOutputChannel. getFrameMemoryAllocator()Returns the memory allocator for the writable channel.MemoryAllocatorPartitionedOutputChannel. getFrameMemoryAllocator()Returns the memory allocator for the writable channel.Methods in org.apache.druid.frame.processor with parameters of type MemoryAllocator Modifier and Type Method Description static 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 MemoryAllocator Constructor Description DoubleArrayFrameColumnWriter(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)
-