Riak Elixir Client v1.1.6 Riak.Object View Source

The Data wrapper makes it convenient to work with Riak data in Elixir

Link to this section Summary

Functions

Struct representing a Riak Object. Attributes:

  • type: String; Bucket Type with a unique name within the cluster namespace
  • bucket: String; Bucket with a unique name within the bucket type namespace
  • key: String; Not required; Key with a unique name within the bucket namespace
  • data: Any; Value to be stored under the key
  • metadata: Orddict; User specified metadata
  • vclock: String; Dotted Version Vector / Causal Context for object
  • content_type: String; Content Type for object

Get all metadata entries

Link to this section Functions

Struct representing a Riak Object. Attributes:

  • type: String; Bucket Type with a unique name within the cluster namespace
  • bucket: String; Bucket with a unique name within the bucket type namespace
  • key: String; Not required; Key with a unique name within the bucket namespace
  • data: Any; Value to be stored under the key
  • metadata: Orddict; User specified metadata
  • vclock: String; Dotted Version Vector / Causal Context for object
  • content_type: String; Content Type for object
Link to this function create(args \\ [bucket: "default"]) View Source
Link to this function delete_all_metadata(obj) View Source
Link to this function delete_metadata(obj, key) View Source

Get all metadata entries

Link to this function put_index(obj, arg, values) View Source
Link to this function put_link(obj, tag, bucket, key) View Source