3.4.8.1 Message: PutDataArray

Topic Version1Published10/31/2016
For StandardETP v1.1

Put a data array, referenced by URI.

Message Type ID: 4

Correlation Id Usage: n/a

Multi-part: False

Sent by: customer

Attribute

Description

Data Type

Min

Max

uri

A URI string identifying the array that is sought. This protocol does NOT specify the exact format of the URI; it uses various existing URI conventions.

Specifically, for RESQML V2 data sets, the URI is a serialization of the HDF5 proxy as follows:

eml://array/resqml20/{uuid of hdf5}/{dataset path}

string

1

1

data

The array data.

AnyArray

1

1

dimensions

An array of dimension sizes for the data array. This MUST be the actual size of the included data, whether or not it is a slice of another array.

long

1

*

Avro Source

{

      "type": "record",

      "namespace": "Energistics.Protocol.DataArray",

      "name": "PutDataArray",

      "messageType": "4",

      "protocol": "7",

      "senderRole": "customer",

      "protocolRoles": "store,customer",

      "fields":

     [

         { "name": "uri", "type": "string" },

         { "name": "data", "type": "Energistics.Datatypes.AnyArray" },

         {

          "name": "dimensions",

          "type": { "type": "array", "items": "long" }

     }

     ]

}