Sha256: aa840a90ea72253c15f92f398ad202c3e0563e34f2ca549099c84fff1a3fa887

Contents?: true

Size: 1.5 KB

Versions: 18

Compression:

Stored size: 1.5 KB

Contents

module Libcouchbase::Ext
  # (Not documented)
  #
  # ## Fields:
  # :cmdflags ::
  #   (Integer)
  # :exptime ::
  #   (Integer)
  # :cas ::
  #   (Integer)
  # :key ::
  #   (KEYBUF)
  # :hashkey ::
  #   (KEYBUF)
  # :specs ::
  #   (SDSPEC) An array of one or more command specifications. The storage
  #   for the array need only persist for the duration of the
  #   lcb_subdoc3() call.
  #
  #   The specs array must be valid only through the invocation
  #   of lcb_subdoc3(). As such, they can reside on the stack and
  #   be re-used for scheduling multiple commands. See subdoc-simple.cc
  # :nspecs ::
  #   (Integer) Number of entries in #specs
  # :error_index ::
  #   (FFI::Pointer(*Int)) If the scheduling of the command failed, the index of the entry which
  #   caused the failure will be written to this pointer.
  #
  #   If the value is -1 then the failure took place at the command level
  #   and not at the spec level.
  # :multimode ::
  #   (Integer) Operation mode to use. This can either be @ref LCB_SDMULTI_MODE_LOOKUP
  #   or @ref LCB_SDMULTI_MODE_MUTATE.
  #
  #   This field may be left empty, in which case the mode is implicitly
  #   derived from the _first_ command issued.
  class CMDSUBDOC < FFI::Struct
    layout :cmdflags, :uint,
           :exptime, :uint,
           :cas, :ulong_long,
           :key, KEYBUF.by_value,
           :hashkey, KEYBUF.by_value,
           :specs, SDSPEC.by_ref,
           :nspecs, :ulong,
           :error_index, :pointer,
           :multimode, :uint
  end

end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
libcouchbase-1.0.4 lib/libcouchbase/ext/libcouchbase/cmdsubdoc.rb
libcouchbase-1.0.3 lib/libcouchbase/ext/libcouchbase/cmdsubdoc.rb
libcouchbase-1.0.2 lib/libcouchbase/ext/libcouchbase/cmdsubdoc.rb
libcouchbase-1.0.1 lib/libcouchbase/ext/libcouchbase/cmdsubdoc.rb
libcouchbase-1.0.0 lib/libcouchbase/ext/libcouchbase/cmdsubdoc.rb
libcouchbase-0.3.3 lib/libcouchbase/ext/libcouchbase/cmdsubdoc.rb
libcouchbase-0.3.1 lib/libcouchbase/ext/libcouchbase/cmdsubdoc.rb
libcouchbase-0.2.0 lib/libcouchbase/ext/libcouchbase/cmdsubdoc.rb
libcouchbase-0.1.0 lib/libcouchbase/ext/libcouchbase/cmdsubdoc.rb
libcouchbase-0.0.9 lib/libcouchbase/ext/libcouchbase/cmdsubdoc.rb
libcouchbase-0.0.8 lib/libcouchbase/ext/libcouchbase/cmdsubdoc.rb
libcouchbase-0.0.7 lib/libcouchbase/ext/libcouchbase/cmdsubdoc.rb
libcouchbase-0.0.6 lib/libcouchbase/ext/libcouchbase/cmdsubdoc.rb
libcouchbase-0.0.5 lib/libcouchbase/ext/libcouchbase/cmdsubdoc.rb
libcouchbase-0.0.4 lib/libcouchbase/ext/libcouchbase/cmdsubdoc.rb
libcouchbase-0.0.3 lib/libcouchbase/ext/libcouchbase/cmdsubdoc.rb
libcouchbase-0.0.2 lib/libcouchbase/ext/libcouchbase/cmdsubdoc.rb
libcouchbase-0.0.1 lib/libcouchbase/ext/libcouchbase/cmdsubdoc.rb