Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Batch ¶
Batch contains and points multiple data ID. it manages data IDs using trie-like structure.
func UnmarshalBatch ¶
UnmarshalBatch decodes a batch from the bytes.
type BatchManager ¶
type BatchManager struct {
// contains filtered or unexported fields
}
BatchManager creates a batch (pointing multiple Data ID) and manages batches by storing them on the local database.
func NewBatchManager ¶
func NewBatchManager(localDatabase localdb.Database) *BatchManager
NewBatchManager creates a instance of BatchManager.
func (*BatchManager) Delete ¶
func (operator *BatchManager) Delete(batchId string) error
func (*BatchManager) Save ¶
func (operator *BatchManager) Save(batchId string) error
Click to show internal directories.
Click to hide internal directories.