(MODAClouds) Object store
Warning
This document is abandoned!
Links
- TrueVault -- REST API Documentation;
- CouchDB -- HTTP Document API;
- CouchDB -- HTTP Bulk Document API;
- SyncStorage -- SyncStorage API v1.5;
- IndexedDB -- Basic Concepts About IndexedDB;
- IndexedDB -- Using IndexedDB;
- Riak -- Links;
- Riak -- Link Walking;
- Riak -- Using Secondary Indexes;
- etcd;
- consul;
- confd;
- doozerd;
- ZooKeeper;
Operations
- create / delete / delete-if;
- select / update / update-if;
- indices;
- links;
func ObjectCreate (session & Session, object & Object) (error error) func ObjectSelect (session & Session, key & ObjectKey) (object & Object, error error) func ObjectUpdate (session & Session, object & Object) (error error) func ObjectDestroy (session & Session, object & ObjectKey) (error error) func IndexSelect1 (session & Session, store Identifier, index Identifier, type ContentType, data Data) (IndexCursor cursor, error error) func IndexSelect2 (session & Session, store Identifier, index Identifier, type ContentType, minimum Data, minimumInclusive bool, maximum Data, maximumInclusive bool) (IndexCursor cursor, error error) type Object struct { Key ObjectKey Data ObjectData Indices []ObjectIndex Links []ObjectLink } type ObjectKey struct { Store Identifier Collection Identifier Object Identifier } type ObjectData struct { Type DataType Data Data } type ObjectIndex struct { Index Identifier Type DataType Data Data } type ObjectLink struct { Link Identifier Object ObjectKey } type Identifier string type Revision string type DataType string type Data interface{} type IndexCursor interface { ... }