| Package | Description |
|---|---|
| org.apache.flink.runtime.operators.sort |
| Modifier and Type | Class and Description |
|---|---|
protected class |
CombiningUnilateralSortMerger.CombiningSpillingThread |
protected static class |
UnilateralSortMerger.ReadingThread<E>
The thread that consumes the input data and puts it into a buffer that will be sorted.
|
protected static class |
UnilateralSortMerger.SortingThread<E>
The thread that sorts filled buffers.
|
protected class |
UnilateralSortMerger.SpillingThread
The thread that handles the spilling of intermediate results and sets up the merging.
|
| Modifier and Type | Method and Description |
|---|---|
protected UnilateralSortMerger.ThreadBase<E> |
UnilateralSortMerger.getReadingThread(ExceptionHandler<IOException> exceptionHandler,
org.apache.flink.util.MutableObjectIterator<E> reader,
UnilateralSortMerger.CircularQueues<E> queues,
LargeRecordHandler<E> largeRecordHandler,
AbstractInvokable parentTask,
org.apache.flink.api.common.typeutils.TypeSerializer<E> serializer,
long startSpillingBytes)
Creates the reading thread.
|
protected UnilateralSortMerger.ThreadBase<E> |
UnilateralSortMerger.getSortingThread(ExceptionHandler<IOException> exceptionHandler,
UnilateralSortMerger.CircularQueues<E> queues,
AbstractInvokable parentTask) |
protected UnilateralSortMerger.ThreadBase<E> |
CombiningUnilateralSortMerger.getSpillingThread(ExceptionHandler<IOException> exceptionHandler,
UnilateralSortMerger.CircularQueues<E> queues,
AbstractInvokable parentTask,
MemoryManager memoryManager,
IOManager ioManager,
org.apache.flink.api.common.typeutils.TypeSerializerFactory<E> serializerFactory,
org.apache.flink.api.common.typeutils.TypeComparator<E> comparator,
List<org.apache.flink.core.memory.MemorySegment> sortReadMemory,
List<org.apache.flink.core.memory.MemorySegment> writeMemory,
int maxFileHandles) |
protected UnilateralSortMerger.ThreadBase<E> |
UnilateralSortMerger.getSpillingThread(ExceptionHandler<IOException> exceptionHandler,
UnilateralSortMerger.CircularQueues<E> queues,
AbstractInvokable parentTask,
MemoryManager memoryManager,
IOManager ioManager,
org.apache.flink.api.common.typeutils.TypeSerializerFactory<E> serializerFactory,
org.apache.flink.api.common.typeutils.TypeComparator<E> comparator,
List<org.apache.flink.core.memory.MemorySegment> sortReadMemory,
List<org.apache.flink.core.memory.MemorySegment> writeMemory,
int maxFileHandles) |
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.