@Deprecated public static class BufferSpiller.SpilledBufferOrEventSequence extends Object implements BufferOrEventSequence
BufferSpiller
.Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Deprecated.
Cleans up all the resources held by the sequence.
|
BufferOrEvent |
getNext()
Deprecated.
Gets the next BufferOrEvent from the sequence, or
null , if the
sequence is exhausted. |
void |
open()
Deprecated.
This method needs to be called before the first call to
getNext() . |
long |
size()
Deprecated.
Gets the size of the sequence.
|
public void open()
getNext()
.
Otherwise the results of getNext()
are not predictable.open
in interface BufferOrEventSequence
public BufferOrEvent getNext() throws IOException
BufferOrEventSequence
null
, if the
sequence is exhausted.getNext
in interface BufferOrEventSequence
null
(end of sequence).IOException
public void cleanup() throws IOException
BufferOrEventSequence
cleanup
in interface BufferOrEventSequence
IOException
public long size()
BufferOrEventSequence
size
in interface BufferOrEventSequence
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.