Sha256: be9e3b381ca3f0bab6003323ef98579556a87d64e3202bd61a680e618b1df62c

Contents?: true

Size: 1.13 KB

Versions: 4

Compression:

Stored size: 1.13 KB

Contents

module MTLibcouchbase::Ext
  # (Not documented)
  #
  # ## Fields:
  # :cmdflags ::
  #   (Integer)
  # :exptime ::
  #   (Integer)
  # :cas ::
  #   (Integer)
  # :key ::
  #   (KEYBUF)
  # :hashkey ::
  #   (KEYBUF)
  # :value ::
  #   (VALBUF) Value to store on the server. The value may be set using the
  #   LCB_CMD_SET_VALUE() or LCB_CMD_SET_VALUEIOV() API
  # :flags ::
  #   (Integer) Format flags used by clients to determine the underlying encoding of
  #   the value. This value is also returned during retrieval operations in the
  #   lcb_RESPGET::itmflags field
  # :datatype ::
  #   (Integer) Do not set this value for now
  # :operation ::
  #   (StorageT) Controls *how* the operation is perfomed. See the documentation for
  #   @ref lcb_storage_t for the options. There is no default value for this
  #   field.
  class CMDSTORE < FFI::Struct
    layout :cmdflags, :uint,
           :exptime, :uint,
           :cas, :ulong_long,
           :key, KEYBUF.by_value,
           :hashkey, KEYBUF.by_value,
           :value, VALBUF.by_value,
           :flags, :uint,
           :datatype, :uchar,
           :operation, StorageT
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mt-libcouchbase-1.4.03 lib/mt-libcouchbase/ext/mt-libcouchbase/cmdstore.rb
mt-libcouchbase-1.4.02 lib/mt-libcouchbase/ext/mt-libcouchbase/cmdstore.rb
mt-libcouchbase-1.4.01 lib/mt-libcouchbase/ext/mt-libcouchbase/cmdstore.rb
mt-libcouchbase-1.4.0 lib/mt-libcouchbase/ext/mt-libcouchbase/cmdstore.rb