Documentation ¶
Index ¶
- Constants
- func DelRetrieveInfo(info *rt.RetrieveQuery, Status int64, db dbm.KVDB) (*types.KeyValue, error)
- func GetName() string
- func Init(name string, sub []byte)
- func Key(address string) (key []byte)
- func SaveRetrieveInfo(info *rt.RetrieveQuery, Status int64, db dbm.KVDB) (*types.KeyValue, error)
- type Action
- func (action *Action) RetrieveBackup(backupRet *rt.BackupRetrieve) (*types.Receipt, error)
- func (action *Action) RetrieveCancel(cancel *rt.CancelRetrieve) (*types.Receipt, error)
- func (action *Action) RetrievePerform(perfRet *rt.PerformRetrieve) (*types.Receipt, error)
- func (action *Action) RetrievePrepare(preRet *rt.PrepareRetrieve) (*types.Receipt, error)
- type DB
- type Retrieve
- func (r *Retrieve) CheckReceiptExecOk() bool
- func (r *Retrieve) CheckTx(tx *types.Transaction, index int) error
- func (c *Retrieve) ExecDelLocal_Backup(backup *rt.BackupRetrieve, tx *types.Transaction, ...) (*types.LocalDBSet, error)
- func (c *Retrieve) ExecDelLocal_Cancel(cancel *rt.CancelRetrieve, tx *types.Transaction, ...) (*types.LocalDBSet, error)
- func (c *Retrieve) ExecDelLocal_Perform(perf *rt.PerformRetrieve, tx *types.Transaction, ...) (*types.LocalDBSet, error)
- func (c *Retrieve) ExecDelLocal_Prepare(pre *rt.PrepareRetrieve, tx *types.Transaction, receiptData *types.ReceiptData, ...) (*types.LocalDBSet, error)
- func (c *Retrieve) ExecLocal_Backup(backup *rt.BackupRetrieve, tx *types.Transaction, ...) (*types.LocalDBSet, error)
- func (c *Retrieve) ExecLocal_Cancel(cancel *rt.CancelRetrieve, tx *types.Transaction, ...) (*types.LocalDBSet, error)
- func (c *Retrieve) ExecLocal_Perform(perf *rt.PerformRetrieve, tx *types.Transaction, ...) (*types.LocalDBSet, error)
- func (c *Retrieve) ExecLocal_Prepare(pre *rt.PrepareRetrieve, tx *types.Transaction, receiptData *types.ReceiptData, ...) (*types.LocalDBSet, error)
- func (c *Retrieve) Exec_Backup(backup *rt.BackupRetrieve, tx *types.Transaction, index int) (*types.Receipt, error)
- func (c *Retrieve) Exec_Cancel(cancel *rt.CancelRetrieve, tx *types.Transaction, index int) (*types.Receipt, error)
- func (c *Retrieve) Exec_Perform(perf *rt.PerformRetrieve, tx *types.Transaction, index int) (*types.Receipt, error)
- func (c *Retrieve) Exec_Prepare(pre *rt.PrepareRetrieve, tx *types.Transaction, index int) (*types.Receipt, error)
- func (r *Retrieve) GetDriverName() string
- func (r *Retrieve) Query_GetRetrieveInfo(in *rt.ReqRetrieveInfo) (types.Message, error)
Constants ¶
View Source
const MaxRelation = 10
MaxRelation when backup
Variables ¶
This section is empty.
Functions ¶
func DelRetrieveInfo ¶
DelRetrieveInfo local
func SaveRetrieveInfo ¶
SaveRetrieveInfo local
Types ¶
type Action ¶
type Action struct {
// contains filtered or unexported fields
}
Action def
func NewRetrieveAcction ¶
func NewRetrieveAcction(r *Retrieve, tx *types.Transaction) *Action
NewRetrieveAcction gen instance
func (*Action) RetrieveBackup ¶
RetrieveBackup Action
func (*Action) RetrieveCancel ¶
RetrieveCancel Action
func (*Action) RetrievePerform ¶
RetrievePerform Action
func (*Action) RetrievePrepare ¶
RetrievePrepare Action
type DB ¶
DB def
func (*DB) CheckRelation ¶
CheckRelation on retrieve action
type Retrieve ¶
type Retrieve struct {
drivers.DriverBase
}
Retrieve def
func (*Retrieve) CheckReceiptExecOk ¶
CheckReceiptExecOk return true to check if receipt ty is ok
func (*Retrieve) CheckTx ¶
func (r *Retrieve) CheckTx(tx *types.Transaction, index int) error
CheckTx nil
func (*Retrieve) ExecDelLocal_Backup ¶
func (c *Retrieve) ExecDelLocal_Backup(backup *rt.BackupRetrieve, tx *types.Transaction, receiptData *types.ReceiptData, index int) (*types.LocalDBSet, error)
ExecDelLocal_Backup Action
func (*Retrieve) ExecDelLocal_Cancel ¶
func (c *Retrieve) ExecDelLocal_Cancel(cancel *rt.CancelRetrieve, tx *types.Transaction, receiptData *types.ReceiptData, index int) (*types.LocalDBSet, error)
ExecDelLocal_Cancel Action
func (*Retrieve) ExecDelLocal_Perform ¶
func (c *Retrieve) ExecDelLocal_Perform(perf *rt.PerformRetrieve, tx *types.Transaction, receiptData *types.ReceiptData, index int) (*types.LocalDBSet, error)
ExecDelLocal_Perform Action
func (*Retrieve) ExecDelLocal_Prepare ¶
func (c *Retrieve) ExecDelLocal_Prepare(pre *rt.PrepareRetrieve, tx *types.Transaction, receiptData *types.ReceiptData, index int) (*types.LocalDBSet, error)
ExecDelLocal_Prepare Action
func (*Retrieve) ExecLocal_Backup ¶
func (c *Retrieve) ExecLocal_Backup(backup *rt.BackupRetrieve, tx *types.Transaction, receiptData *types.ReceiptData, index int) (*types.LocalDBSet, error)
ExecLocal_Backup Action
func (*Retrieve) ExecLocal_Cancel ¶
func (c *Retrieve) ExecLocal_Cancel(cancel *rt.CancelRetrieve, tx *types.Transaction, receiptData *types.ReceiptData, index int) (*types.LocalDBSet, error)
ExecLocal_Cancel Action
func (*Retrieve) ExecLocal_Perform ¶
func (c *Retrieve) ExecLocal_Perform(perf *rt.PerformRetrieve, tx *types.Transaction, receiptData *types.ReceiptData, index int) (*types.LocalDBSet, error)
ExecLocal_Perform Action
func (*Retrieve) ExecLocal_Prepare ¶
func (c *Retrieve) ExecLocal_Prepare(pre *rt.PrepareRetrieve, tx *types.Transaction, receiptData *types.ReceiptData, index int) (*types.LocalDBSet, error)
ExecLocal_Prepare Action
func (*Retrieve) Exec_Backup ¶
func (c *Retrieve) Exec_Backup(backup *rt.BackupRetrieve, tx *types.Transaction, index int) (*types.Receipt, error)
Exec_Backup Action
func (*Retrieve) Exec_Cancel ¶
func (c *Retrieve) Exec_Cancel(cancel *rt.CancelRetrieve, tx *types.Transaction, index int) (*types.Receipt, error)
Exec_Cancel Action
func (*Retrieve) Exec_Perform ¶
func (c *Retrieve) Exec_Perform(perf *rt.PerformRetrieve, tx *types.Transaction, index int) (*types.Receipt, error)
Exec_Perform Action
func (*Retrieve) Exec_Prepare ¶
func (c *Retrieve) Exec_Prepare(pre *rt.PrepareRetrieve, tx *types.Transaction, index int) (*types.Receipt, error)
Exec_Prepare Action
func (*Retrieve) Query_GetRetrieveInfo ¶
Query_GetRetrieveInfo get retrieve state
Click to show internal directories.
Click to hide internal directories.