public class DefaultInMemorySorterFactory<T> extends Object implements InMemorySorterFactory<T>
InMemorySorter.| Constructor and Description |
|---|
DefaultInMemorySorterFactory(org.apache.flink.api.common.typeutils.TypeSerializer<T> typeSerializer,
org.apache.flink.api.common.typeutils.TypeComparator<T> typeComparator,
int thresholdForInPlaceSorting) |
| Modifier and Type | Method and Description |
|---|---|
InMemorySorter<T> |
create(List<org.apache.flink.core.memory.MemorySegment> sortSegments)
Create an
InMemorySorter instance with the given memory segments. |
public InMemorySorter<T> create(List<org.apache.flink.core.memory.MemorySegment> sortSegments)
InMemorySorterFactoryInMemorySorter instance with the given memory segments.create in interface InMemorySorterFactory<T>sortSegments - to initialize the InMemorySorter withCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.