Developing Apama Applications > Dashboard Function Reference > Tabular Functions > Buffer Table Rows
Buffer Table Rows
Appends all rows of the input table to a buffer table that contains rows from previous updates. Returns the buffer table.
Usage notes
This function is useful for buffering a table argument to another function in cases where the updates to the table may arrive rapidly (for example, from an event-driven data source), in order to ensure that the other function receives all rows.
Arguments
The function has the following arguments:
*Table: Table whose rows are to be appended to the buffer table.
*Number Of Rows: Numeric value that specifies the number of rows in the returned buffer table. If necessary, older rows are removed to maintain this value.
Note: If the result of this function is used as the input to another function, all rows are removed from the buffer table after the other function is updated, regardless of value of Number of Rows.
This function returns a table.
Copyright © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.