public abstract class StreamingDataConsumer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected long |
num_chunks |
protected long |
num_columns |
protected long |
num_rows |
Constructor and Description |
---|
StreamingDataConsumer() |
Modifier and Type | Method and Description |
---|---|
void |
doneStreamingData()
this method is called at the end of data transfer after all data has been read.
|
long |
getNumChunks() |
long |
getNumColumns() |
long |
getNumRows() |
abstract boolean |
processStreamingDataChunk(java.lang.Object obj)
this method receives a chunk of data as soon as it is read from the file
|
boolean |
startStreamingData(long num_rows,
long num_columns,
long num_chunks)
this method is called at the start of data transfer and receives the
dimensions of the transfer, num_rows and num_columns, and
number of chunks that will be streamed.
|
protected long num_rows
protected long num_columns
protected long num_chunks
public boolean startStreamingData(long num_rows, long num_columns, long num_chunks)
num_chunks
- public abstract boolean processStreamingDataChunk(java.lang.Object obj)
obj
- chunk of data received by hdf librarypublic void doneStreamingData()
public long getNumRows()
public long getNumColumns()
public long getNumChunks()
Copyright © 2010-2014 Pacific Biosciences. All Rights Reserved.