Package io.trino.operator.join
Class OuterLookupSource
java.lang.Object
io.trino.operator.join.OuterLookupSource
- All Implemented Interfaces:
LookupSource,Closeable,AutoCloseable
-
Method Summary
Modifier and TypeMethodDescriptionvoidappendTo(long position, PageBuilder pageBuilder, int outputChannelOffset) voidclose()static TrackingLookupSourceSuppliercreateOuterLookupSourceSupplier(Supplier<LookupSource> lookupSourceSupplier) longlonggetJoinPosition(int position, Page hashChannelsPage, Page allChannelsPage) longgetJoinPosition(int position, Page hashChannelsPage, Page allChannelsPage, long rawHash) longlonggetNextJoinPosition(long currentJoinPosition, int probePosition, Page allProbeChannelsPage) booleanisEmpty()booleanisJoinPositionEligible(long currentJoinPosition, int probePosition, Page allProbeChannelsPage) longjoinPositionWithinPartition(long joinPosition) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.operator.join.LookupSource
getJoinPosition, getJoinPosition
-
Method Details
-
createOuterLookupSourceSupplier
public static TrackingLookupSourceSupplier createOuterLookupSourceSupplier(Supplier<LookupSource> lookupSourceSupplier) -
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceLookupSource
-
getJoinPositionCount
public long getJoinPositionCount()- Specified by:
getJoinPositionCountin interfaceLookupSource
-
getInMemorySizeInBytes
public long getInMemorySizeInBytes()- Specified by:
getInMemorySizeInBytesin interfaceLookupSource
-
joinPositionWithinPartition
public long joinPositionWithinPartition(long joinPosition) - Specified by:
joinPositionWithinPartitionin interfaceLookupSource
-
getJoinPosition
public long getJoinPosition(int position, Page hashChannelsPage, Page allChannelsPage, long rawHash) - Specified by:
getJoinPositionin interfaceLookupSource
-
getJoinPosition
- Specified by:
getJoinPositionin interfaceLookupSource
-
getNextJoinPosition
public long getNextJoinPosition(long currentJoinPosition, int probePosition, Page allProbeChannelsPage) - Specified by:
getNextJoinPositionin interfaceLookupSource
-
isJoinPositionEligible
public boolean isJoinPositionEligible(long currentJoinPosition, int probePosition, Page allProbeChannelsPage) - Specified by:
isJoinPositionEligiblein interfaceLookupSource
-
appendTo
- Specified by:
appendToin interfaceLookupSource
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceLookupSource
-