3.4.8.3 Message: GetDataArraySlice

Topic Version1Published10/31/2016
For StandardETP v1.1

A request for a portion of a data array, referenced by URI and with an index range for each dimension.

Message Type ID: 3

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

start

The starting index of the sub-array, per dimension.

long

0

*

count

The count of values along each dimension.

long

0

*

Avro Source

{

      "type": "record",

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

      "name": "GetDataArraySlice",

      "messageType": "3",

      "protocol": "7",

      "senderRole": "customer",

      "protocolRoles": "store,customer",

      "fields":

     [

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

         {

          "name": "start",

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

     },

         {

          "name": "count",

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

     }

     ]

}