4. The method of claim 1 , wherein the data result model further includes a final status block after the table block, and wherein the method further comprises: determining based on the final status block whether the table block received by the receiving device is complete.
1. A method for transferring data, the method comprising: sending, from a receiving device, a data query to request data from a sending device; receiving, from the sending device, a data result model in response to the data query, the data result model including a table block; analyzing the data result model to regenerate the data for storage at the receiving device, wherein the analyzing of the data result model comprises: reading at least one column definition and at least one data row from the table block, the data row including a row flag, a null location list, and a row payload field including non-null data to be transferred to the receiving device; determining the number of columns in the table block from the column definition; analyzing the row flag to determine whether the data row includes null values and, when the row flag indicates a presence of the null values, further analyzing the null location list to determine location information for the non-null data and the null values; and creating at least one mapped data row by sequentially inserting the non-null data from the row payload field at non-null locations and inserting the null values at null locations determined in the analyzing of the row flag, the number of columns in the table block being equal to the combined number of the null values and the non-null data in the at least one mapped data row; and processing the at least one mapped data row to provide the regenerated data for storage at the receiving device.