Documentation
¶
Index ¶
- func Check(opts txn.Opts, history core.History, graphOpt GraphOption) txn.CheckResult
- func IntPtr(i int) *int
- func MustParseOp(opStr string) core.Op
- func Pair(op core.Op) (core.Op, core.Op)
- func RWExplainResult(key string, prevValue, value core.MopValueType) rwExplainResult
- func WRExplainResult(key string, value core.MopValueType) wrExplainResult
- func WWExplainResult(key string, prevValue, value core.MopValueType) wwExplainResult
- func WWRWGraph(history core.History, opts ...interface{}) (core.Anomalies, *core.DirectedGraph, core.DataExplainer)
- type G1Conflict
- type GCaseTp
- type GraphOption
- type Int
- type InternalConflict
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Check ¶
func Check(opts txn.Opts, history core.History, graphOpt GraphOption) txn.CheckResult
Check checks append and read history for list_append
func RWExplainResult ¶
func RWExplainResult(key string, prevValue, value core.MopValueType) rwExplainResult
RWExplainResult creates a rwExplainResult
func WRExplainResult ¶
func WRExplainResult(key string, value core.MopValueType) wrExplainResult
WRExplainResult creates a wrExplainResult
func WWExplainResult ¶
func WWExplainResult(key string, prevValue, value core.MopValueType) wwExplainResult
WWExplainResult creates a wwExplainResult
func WWRWGraph ¶
func WWRWGraph(history core.History, opts ...interface{}) (core.Anomalies, *core.DirectedGraph, core.DataExplainer)
WWRWGraph ...
Types ¶
type G1Conflict ¶
G1Conflict records a G1 conflict
type GraphOption ¶
type GraphOption struct {
LinearizableKeys bool //Uses realtime order
SequentialKeys bool // Uses process order
WfrKeys bool // Assumes writes follow reads in a txn
}
GraphOption ...
type Int ¶
Int can be an int value or nil
func (Int) MustGetVal ¶
MustGetVal asserts Int is not nil and get its value
type InternalConflict ¶
InternalConflict records a internal conflict
Click to show internal directories.
Click to hide internal directories.