public class MultiChannelGroupByHash extends Object implements GroupByHash
| Constructor and Description |
|---|
MultiChannelGroupByHash(List<? extends Type> hashTypes,
int[] hashChannels,
Optional<Integer> inputHashChannel,
int expectedSize,
boolean processDictionary,
JoinCompiler joinCompiler,
UpdateMemory updateMemory) |
| Modifier and Type | Method and Description |
|---|---|
Work<?> |
addPage(Page page) |
void |
appendValuesTo(int groupId,
PageBuilder pageBuilder,
int outputChannelOffset) |
boolean |
contains(int position,
Page page,
int[] hashChannels) |
boolean |
contains(int position,
Page page,
int[] hashChannels,
long rawHash) |
int |
getCapacity() |
long |
getEstimatedSize() |
double |
getExpectedHashCollisions() |
int |
getGroupCount() |
Work<GroupByIdBlock> |
getGroupIds(Page page) |
long |
getHashCollisions() |
long |
getRawHash(int groupId) |
List<Type> |
getTypes() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateGroupByHash, createGroupByHashpublic MultiChannelGroupByHash(List<? extends Type> hashTypes, int[] hashChannels, Optional<Integer> inputHashChannel, int expectedSize, boolean processDictionary, JoinCompiler joinCompiler, UpdateMemory updateMemory)
public long getRawHash(int groupId)
getRawHash in interface GroupByHashpublic long getEstimatedSize()
getEstimatedSize in interface GroupByHashpublic long getHashCollisions()
getHashCollisions in interface GroupByHashpublic double getExpectedHashCollisions()
getExpectedHashCollisions in interface GroupByHashpublic List<Type> getTypes()
getTypes in interface GroupByHashpublic int getGroupCount()
getGroupCount in interface GroupByHashpublic void appendValuesTo(int groupId,
PageBuilder pageBuilder,
int outputChannelOffset)
appendValuesTo in interface GroupByHashpublic Work<?> addPage(Page page)
addPage in interface GroupByHashpublic Work<GroupByIdBlock> getGroupIds(Page page)
getGroupIds in interface GroupByHashpublic boolean contains(int position,
Page page,
int[] hashChannels)
contains in interface GroupByHashpublic boolean contains(int position,
Page page,
int[] hashChannels,
long rawHash)
contains in interface GroupByHashpublic int getCapacity()
getCapacity in interface GroupByHashCopyright © 2012–2019. All rights reserved.