Package io.trino.operator.join
Class ArrayPositionLinks
java.lang.Object
io.trino.operator.join.ArrayPositionLinks
- All Implemented Interfaces:
PositionLinks
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface io.trino.operator.join.PositionLinks
PositionLinks.Factory -
Method Summary
Modifier and TypeMethodDescriptionbuilder(int size) static longgetEstimatedRetainedSizeInBytes(int positionCount) longintIterate over position links.intInitialize iteration over position links.
-
Method Details
-
builder
-
start
Description copied from interface:PositionLinksInitialize iteration over position links. Returns first potentially eligible join position starting from (and including) position argument.When there are no more position -1 is returned
- Specified by:
startin interfacePositionLinks
-
next
Description copied from interface:PositionLinksIterate over position links. When there are no more position -1 is returned.- Specified by:
nextin interfacePositionLinks
-
getSizeInBytes
public long getSizeInBytes()- Specified by:
getSizeInBytesin interfacePositionLinks
-
getEstimatedRetainedSizeInBytes
public static long getEstimatedRetainedSizeInBytes(int positionCount)
-