Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckAndSet ¶
type CheckAndSet struct {
Req *rrdb.CheckAndSetRequest
}
CheckAndSet inherits op.Request.
type CheckAndSetResult ¶
type CheckAndSetResult struct { SetSucceed bool CheckValue []byte CheckValueExist bool CheckValueReturned bool }
CheckAndSetResult is the result of a CAS.
type Del ¶
Del inherits op.Request.
type Get ¶
Get inherits op.Request.
type Incr ¶
type Incr struct { HashKey []byte SortKey []byte Increment int64 // contains filtered or unexported fields }
Incr inherits op.Request.
type MultiDel ¶
MultiDel inherits op.Request.
type MultiGet ¶
type MultiGet struct { HashKey []byte SortKeys [][]byte StartSortkey []byte StopSortkey []byte Req *rrdb.MultiGetRequest }
MultiGet inherits op.Request.
type MultiGetResult ¶
MultiGetResult
type MultiSet ¶
type MultiSet struct { HashKey []byte SortKeys [][]byte Values [][]byte TTL time.Duration // contains filtered or unexported fields }
MultiSet inherits op.Request.
type Request ¶
type Request interface { Validate() error Run(ctx context.Context, gpid *base.Gpid, partitionHash uint64, rs *session.ReplicaSession) (interface{}, error) }
Request is the generic interface of all Pegasus operations.
type Set ¶
type Set struct { HashKey []byte SortKey []byte Value []byte TTL time.Duration // contains filtered or unexported fields }
Set inherits op.Request.
type SortKeyCount ¶
type SortKeyCount struct { HashKey []byte // contains filtered or unexported fields }
SortKeyCount inherits op.Request.
Click to show internal directories.
Click to hide internal directories.