public class ChunkSampleStream extends FilterObjectStream<Parse,ChunkSample>
Constructor and Description |
---|
ChunkSampleStream(ObjectStream<Parse> in) |
Modifier and Type | Method and Description |
---|---|
static Parse[] |
getInitialChunks(Parse p) |
ChunkSample |
read()
Returns the next object.
|
close, reset
public ChunkSampleStream(ObjectStream<Parse> in)
public ChunkSample read() throws IOException
ObjectStream
IOException
- if there is an error during readingCopyright © 2015 The Apache Software Foundation. All rights reserved.