9. Query Result Set Delimiters

AMPS provides a pair of delimiters, group_begin and group_end, that indicate when a query result set begins and ends.

group_begin message

The group_begin message marks the beginning of a set of records returned by a SOW query. For more information, see the State of the World and SOW Queries chapters in the AMPS User Guide

Header Fields

Field Description
Command Type of message. Always group_begin, as encoded by the protocol.
QueryId The QueryId of the query that produced this message.

Header fields provided in group_begin

group_end message

The group_end message marks the end of a set of records returned by a SOW query. For more information, see the State of the World and SOW Queries chapters in the AMPS User Guide

Header Fields

Field Description
Command Type of message. Always group_end, as encoded by the protocol.
QueryId The QueryId of the query that produced this message.

Header fields provided in group_end