|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RowPublisher
An object on which a push-style data reader can publish records to a
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.
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||