public interface RowPublisher
RowPublisherDataSet
. The RowPublisher
acts as a buffer
between the publishing and consuming part of a dataset scenario. It will
manage a queue of rows and will block calls if the queue is not being
read/emptied as fast as it is being filled.Modifier and Type | Method and Description |
---|---|
void |
finished()
Invoked to indicate to the consumer that no more rows will be published.
|
boolean |
publish(Object[] values)
Publishes a row, represented by an array of values.
|
boolean |
publish(Object[] values,
Style[] styles)
Publishes a row, represented by an array of values and an array of
styles.
|
boolean |
publish(Row row)
Publishes a row
|
boolean publish(Row row)
row
- the Row
to publish.boolean publish(Object[] values)
values
- the objects to convert to a row.boolean publish(Object[] values, Style[] styles)
values
- the objects to convert to a row.styles
- the styles that correspond to the values.void finished()
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.