Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateBlockIndexWriters ¶
func GenerateBlockIndexWriters(ctx context.Context, baseStore dstore.Store, indexModules []*pbsubstreams.Module, ModuleHashes *manifest.ModuleHashes, logger *zap.Logger, blockRange *block.Range, bundleSize uint64) (writers map[string]*Writer, existingIndices map[string]map[string]*roaring64.Bitmap, err error)
GenrateBlockIndexWriters will only generate writers for modules that have no preexisting index file and that are aligned with the bundle size
Types ¶
type BlockIndex ¶
type BlockIndex struct { IndexModule string // contains filtered or unexported fields }
func NewBlockIndex ¶
func NewBlockIndex(expression sqe.Expression, indexModule string, bitmap *roaring64.Bitmap) *BlockIndex
func (*BlockIndex) ExcludesAllBlocks ¶
func (bi *BlockIndex) ExcludesAllBlocks() bool
func (*BlockIndex) Precomputed ¶
func (bi *BlockIndex) Precomputed() bool
func (*BlockIndex) Skip ¶
func (bi *BlockIndex) Skip(blk uint64) bool
func (*BlockIndex) SkipFromKeys ¶
func (bi *BlockIndex) SkipFromKeys(indexedKeys []byte) bool
type Configs ¶
func NewConfigs ¶
func NewConfigs(baseObjectStore dstore.Store, allRequestedModules []*pbsubstreams.Module, moduleHashes *manifest.ModuleHashes, logger *zap.Logger) (*Configs, error)
Click to show internal directories.
Click to hide internal directories.