public abstract class PriorityQueueCopierTemplate extends Object implements PriorityQueueCopier
TEMPLATE_DEFINITION| Constructor and Description |
|---|
PriorityQueueCopierTemplate() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
compare(int leftIndex,
int rightIndex) |
abstract void |
doCopy(int inIndex,
int outIndex) |
abstract int |
doEval(int leftIndex,
int rightIndex) |
abstract void |
doSetup(VectorAccessible incoming,
VectorAccessible outgoing) |
int |
next(int targetRecordCount) |
void |
setup(BufferAllocator allocator,
VectorAccessible hyperBatch,
List<BatchGroup> batchGroups,
VectorAccessible outgoing) |
void |
swap(int sv0,
int sv1) |
public void setup(BufferAllocator allocator, VectorAccessible hyperBatch, List<BatchGroup> batchGroups, VectorAccessible outgoing) throws SchemaChangeException
setup in interface PriorityQueueCopierSchemaChangeExceptionpublic int next(int targetRecordCount)
next in interface PriorityQueueCopierpublic void close()
throws IOException
close in interface AutoCloseableclose in interface PriorityQueueCopierIOExceptionpublic void swap(int sv0,
int sv1)
public int compare(int leftIndex,
int rightIndex)
throws SchemaChangeException
SchemaChangeExceptionpublic abstract void doSetup(@Named(value="incoming")
VectorAccessible incoming,
@Named(value="outgoing")
VectorAccessible outgoing)
throws SchemaChangeException
SchemaChangeExceptionpublic abstract int doEval(@Named(value="leftIndex")
int leftIndex,
@Named(value="rightIndex")
int rightIndex)
throws SchemaChangeException
SchemaChangeExceptionpublic abstract void doCopy(@Named(value="inIndex")
int inIndex,
@Named(value="outIndex")
int outIndex)
throws SchemaChangeException
SchemaChangeExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.