Class DefaultInMemorySorterFactory<T>
java.lang.Object
org.apache.flink.runtime.operators.sort.DefaultInMemorySorterFactory<T>
- All Implemented Interfaces:
InMemorySorterFactory<T>
Default factory for
InMemorySorter.-
Constructor Summary
ConstructorsConstructorDescriptionDefaultInMemorySorterFactory(org.apache.flink.api.common.typeutils.TypeSerializer<T> typeSerializer, org.apache.flink.api.common.typeutils.TypeComparator<T> typeComparator, int thresholdForInPlaceSorting) -
Method Summary
Modifier and TypeMethodDescriptionCreate anInMemorySorterinstance with the given memory segments.
-
Constructor Details
-
DefaultInMemorySorterFactory
-
-
Method Details
-
create
Description copied from interface:InMemorySorterFactoryCreate anInMemorySorterinstance with the given memory segments.- Specified by:
createin interfaceInMemorySorterFactory<T>- Parameters:
sortSegments- to initialize the InMemorySorter with- Returns:
- new InMemorySorter instance
-