Package io.prestosql.operator
Class BigintGroupByHash
- java.lang.Object
-
- io.prestosql.operator.BigintGroupByHash
-
- All Implemented Interfaces:
GroupByHash
public class BigintGroupByHash extends Object implements GroupByHash
-
-
Constructor Summary
Constructors Constructor Description BigintGroupByHash(int hashChannel, boolean outputRawHash, int expectedSize, UpdateMemory updateMemory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Work<?>
addPage(Page page)
void
appendValuesTo(int groupId, PageBuilder pageBuilder, int outputChannelOffset)
boolean
contains(int position, Page page, int[] hashChannels)
int
getCapacity()
long
getEstimatedSize()
double
getExpectedHashCollisions()
int
getGroupCount()
Work<GroupByIdBlock>
getGroupIds(Page page)
long
getHashCollisions()
long
getRawHash(int groupId)
List<Type>
getTypes()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.prestosql.operator.GroupByHash
contains
-
-
-
-
Constructor Detail
-
BigintGroupByHash
public BigintGroupByHash(int hashChannel, boolean outputRawHash, int expectedSize, UpdateMemory updateMemory)
-
-
Method Detail
-
getEstimatedSize
public long getEstimatedSize()
- Specified by:
getEstimatedSize
in interfaceGroupByHash
-
getHashCollisions
public long getHashCollisions()
- Specified by:
getHashCollisions
in interfaceGroupByHash
-
getExpectedHashCollisions
public double getExpectedHashCollisions()
- Specified by:
getExpectedHashCollisions
in interfaceGroupByHash
-
getTypes
public List<Type> getTypes()
- Specified by:
getTypes
in interfaceGroupByHash
-
getGroupCount
public int getGroupCount()
- Specified by:
getGroupCount
in interfaceGroupByHash
-
appendValuesTo
public void appendValuesTo(int groupId, PageBuilder pageBuilder, int outputChannelOffset)
- Specified by:
appendValuesTo
in interfaceGroupByHash
-
addPage
public Work<?> addPage(Page page)
- Specified by:
addPage
in interfaceGroupByHash
-
getGroupIds
public Work<GroupByIdBlock> getGroupIds(Page page)
- Specified by:
getGroupIds
in interfaceGroupByHash
-
contains
public boolean contains(int position, Page page, int[] hashChannels)
- Specified by:
contains
in interfaceGroupByHash
-
getRawHash
public long getRawHash(int groupId)
- Specified by:
getRawHash
in interfaceGroupByHash
-
getCapacity
public int getCapacity()
- Specified by:
getCapacity
in interfaceGroupByHash
-
-