Documentation ¶
Index ¶
- type Store
- func (s *Store) BatchSave(ctx context.Context, block *pbcodec.Block, ...) (err error)
- func (s *Store) CleanDataAtBlock(ctx context.Context, blockNum uint64) error
- func (s *Store) CleanUpFork(ctx context.Context, newHeadBlock uint64) error
- func (s *Store) Close() error
- func (s *Store) Load(ctx context.Context, id string, out entity.Interface, blockNum uint64) error
- func (s *Store) LoadAllDistinct(ctx context.Context, model entity.Interface, blockNum uint64) ([]entity.Interface, error)
- func (s *Store) LoadCursor(ctx context.Context) (string, error)
- func (s *Store) OpenOutputFiles() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct { Cache map[string]map[string]entity.Interface // contains filtered or unexported fields }
func (*Store) CleanDataAtBlock ¶
func (*Store) CleanUpFork ¶
func (*Store) LoadAllDistinct ¶
func (*Store) OpenOutputFiles ¶
Click to show internal directories.
Click to hide internal directories.