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