Class ReOpenableHashPartition<BT,PT>
java.lang.Object
org.apache.flink.runtime.memory.AbstractPagedInputView
org.apache.flink.runtime.operators.hash.HashPartition<BT,PT>
org.apache.flink.runtime.operators.hash.ReOpenableHashPartition<BT,PT>
- All Implemented Interfaces:
DataInput,org.apache.flink.core.memory.DataInputView,org.apache.flink.core.memory.SeekableDataInputView
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.flink.runtime.operators.hash.HashPartition
HashPartition.BuildSideBuffer -
Field Summary
FieldsFields inherited from class org.apache.flink.runtime.operators.hash.HashPartition
furtherPartitioning, nextOverflowBucket, numOverflowSegments, overflowSegments, partitionBuffers, probeSideBuffer, probeSideChannel, probeSideRecordCounter, recursionLevelFields inherited from class org.apache.flink.runtime.memory.AbstractPagedInputView
headerLength -
Method Summary
Modifier and TypeMethodDescriptionvoidclearAllMemory(List<org.apache.flink.core.memory.MemorySegment> target) intfinalizeProbePhase(List<org.apache.flink.core.memory.MemorySegment> freeMemory, List<HashPartition<BT, PT>> spilledPartitions, boolean keepUnprobedSpilledPartitions) Methods inherited from class org.apache.flink.runtime.operators.hash.HashPartition
finalizeBuildPhase, getBuildSideBlockCount, getBuildSideChannel, getBuildSideRecordCount, getLimitForSegment, getNumOccupiedMemorySegments, getPartitionNumber, getProbeSideBlockCount, getProbeSideChannel, getProbeSideRecordCount, getRecursionLevel, insertIntoBuildBuffer, insertIntoProbeBuffer, isInMemory, nextSegment, prepareProbePhase, setFurtherPatitioning, setReadPosition, spillPartitionMethods inherited from class org.apache.flink.runtime.memory.AbstractPagedInputView
advance, clear, doAdvance, getCurrentPositionInSegment, getCurrentSegment, getCurrentSegmentLimit, getHeaderLength, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, seekInput, skipBytes, skipBytesToReadMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.io.DataInput
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytesMethods inherited from interface org.apache.flink.core.memory.DataInputView
read, read, skipBytesToRead
-
Field Details
-
initialPartitionBuffersCount
protected int initialPartitionBuffersCount
-
-
Method Details
-
finalizeProbePhase
public int finalizeProbePhase(List<org.apache.flink.core.memory.MemorySegment> freeMemory, List<HashPartition<BT, PT>> spilledPartitions, boolean keepUnprobedSpilledPartitions) throws IOException- Overrides:
finalizeProbePhasein classHashPartition<BT,PT> keepUnprobedSpilledPartitions- If true then partitions that were spilled but received no further probe requests will be retained; used for build-side outer joins.- Returns:
- The number of write-behind buffers reclaimable after this method call.
- Throws:
IOException
-
clearAllMemory
- Overrides:
clearAllMemoryin classHashPartition<BT,PT>
-