public class PriorityQueueCopierWrapper extends BaseSortWrapper
PriorityQueueCopier instance produced from code generation.
Provides a wrapper around a copier "session" to simplify reading batches
from the copier.| Modifier and Type | Class and Description |
|---|---|
static class |
PriorityQueueCopierWrapper.BatchMerger
We've gathered a set of batches, each of which has been sorted.
|
LEFT_MAPPING, MAIN_MAPPING, RIGHT_MAPPINGcontext| Constructor and Description |
|---|
PriorityQueueCopierWrapper(OperatorContext opContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
BufferAllocator |
getAllocator() |
PriorityQueueCopier |
getCopier(VectorAccessible batch) |
PriorityQueueCopierWrapper.BatchMerger |
startMerge(BatchSchema schema,
List<? extends BatchGroup> batchGroupList,
VectorContainer outputContainer,
int targetRecordCount,
VectorInitializer allocHelper)
Start a merge operation using the specified vector container.
|
generateComparisonsgetInstancepublic PriorityQueueCopierWrapper(OperatorContext opContext)
public PriorityQueueCopier getCopier(VectorAccessible batch)
public PriorityQueueCopierWrapper.BatchMerger startMerge(BatchSchema schema, List<? extends BatchGroup> batchGroupList, VectorContainer outputContainer, int targetRecordCount, VectorInitializer allocHelper)
schema - batchGroupList - outputContainer - targetRecordCount - allocHelper - public BufferAllocator getAllocator()
public void close()
Copyright © 2017 The Apache Software Foundation. All rights reserved.