Introduction

Documentation for resource file DatastoreCRUD.

Keywords

Arguments

id prefix field bases postfix

Documentation

Populates a payload for creating or updating a shard record. id: The record number and is also appended onto each field to uniquely identify it. prefix: The portion of the json payload before the records. field bases: A dictionary of records onto which the id is appended. prefix: The portion of the json payload after the records.

Arguments

controller_ip node first last prefix field bases postfix

Documentation

POSTs records to a controller's data store. First and last index numbers are specified as is a dictionary called field_bases containing the base name for the field contents onto which will be appended the index number. Prefix and postfix are used to complete the JSON payload. The keyword passes if return code is correct.

Arguments

controller_ip node

Documentation

DELETEs all records from a shard on a controller's data store.

Arguments

controller_ip node first last

Documentation

DELETEs specified range of records from a shard on a contrsoller's data store.

Arguments

controller_ip node

Documentation

GETs records from a shard on a controller's data store.

Arguments

controller_ip node first last prefix field bases postfix

Documentation

PUTs records to shard on a controller's data store. First and last index numbers are specified as is a dictionary called field_bases containing the base name for the field contents onto which will be appended the index number. Prefix and postfix are used to complete the JSON payload. The keyword passes if return code is correct.

DatastoreCRUD

image/svg+xml