public class SpillingBufferOrEvent extends Object
| Constructor and Description |
|---|
SpillingBufferOrEvent(org.apache.flink.runtime.io.network.partition.consumer.BufferOrEvent boe,
BufferSpiller spiller,
SpillReader reader) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.runtime.io.network.partition.consumer.BufferOrEvent |
getBufferOrEvent()
If the buffer wasn't spilled simply returns the instance from the field,
otherwise reads it from the spill reader
|
boolean |
isSpilled() |
public SpillingBufferOrEvent(org.apache.flink.runtime.io.network.partition.consumer.BufferOrEvent boe,
BufferSpiller spiller,
SpillReader reader)
throws IOException
IOExceptionpublic org.apache.flink.runtime.io.network.partition.consumer.BufferOrEvent getBufferOrEvent()
throws IOException
IOExceptionpublic boolean isSpilled()
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.