Type Parameters

  • C = any

Hierarchy

Constructors

Properties

atomicOpMutex: Mutex
count: number
noopMutex: Promise<(() => void)>
options: EntityIndexStorageOptions<BaseFetcherState<C>>
self: typeof EntityIndexStorage
storage: LevelStorage<string | BaseFetcherState<C>>
AddressLength: number
EthereumAddressLength: number
TimestampLength: number
VariableLength: number
keyValueDelimiter: string

Methods

  • Returns Promise<void>

  • Parameters

    • key: string
    • Optional options: EntityIndexStorageInvokeOptions

    Returns Promise<boolean>

  • Parameters

    Returns Promise<boolean>

  • Parameters

    • key: string | Stringifable[]
    • Optional options: EntityIndexStorageInvokeOptions

    Returns Promise<undefined | BaseFetcherState<C>>

  • Parameters

    Returns Promise<StorageStream<string, BaseFetcherState<C>>>

  • Parameters

    • Optional start: Stringifable[]
    • Optional end: Stringifable[]
    • Optional options: EntityIndexStorageGetStreamOptions<BaseFetcherState<C>>

    Returns Promise<StorageStream<string, BaseFetcherState<C>>>

  • Parameters

    Returns Promise<StorageKeyStream<string>>

  • Parameters

    • Optional start: Stringifable[]
    • Optional end: Stringifable[]
    • Optional options: EntityIndexStorageGetStreamOptions<BaseFetcherState<C>>

    Returns Promise<StorageKeyStream<string>>

  • Parameters

    • entity: BaseFetcherState<C>
    • Optional chunk: number
    • Optional prevSubkeys: string[]

    Returns string[]

  • Parameters

    Returns Promise<StorageValueStream<BaseFetcherState<C>>>

  • Parameters

    • Optional start: Stringifable[]
    • Optional end: Stringifable[]
    • Optional options: EntityIndexStorageGetStreamOptions<BaseFetcherState<C>>

    Returns Promise<StorageValueStream<BaseFetcherState<C>>>

  • Parameters

    • Optional atomic: boolean

    Returns Promise<(() => void)>

  • Returns StorageBatch<string, string | BaseFetcherState<C>>

  • Parameters

    • Optional options: EntityIndexStorageInvokeOptions

    Returns Promise<number>

  • Parameters

    • items: string[]
    • isDelete: boolean
    • Optional fixedCount: number

    Returns Promise<number>

  • Parameters

    • Optional start: Stringifable[]
    • Optional end: Stringifable[]
    • Optional options: EntityIndexStorageInvokeOptions

    Returns Promise<undefined | StorageEntry<string, BaseFetcherState<C>>>

  • Parameters

    • Optional options: EntityIndexStorageInvokeOptions

    Returns Promise<undefined | string>

  • Parameters

    • Optional start: Stringifable[]
    • Optional end: Stringifable[]
    • Optional options: EntityIndexStorageInvokeOptions

    Returns Promise<undefined | string>

  • Parameters

    • Optional options: EntityIndexStorageInvokeOptions

    Returns Promise<undefined | BaseFetcherState<C>>

  • Parameters

    • Optional start: Stringifable[]
    • Optional end: Stringifable[]
    • Optional options: EntityIndexStorageInvokeOptions

    Returns Promise<undefined | BaseFetcherState<C>>

  • Parameters

    • key: Stringifable
    • Optional chunk: number

    Returns undefined | string

  • Parameters

    Returns string[]

  • Parameters

    • Optional start: Stringifable[]
    • Optional end: Stringifable[]
    • Optional options: EntityIndexStorageInvokeOptions

    Returns Promise<undefined | StorageEntry<string, BaseFetcherState<C>>>

  • Parameters

    • Optional options: EntityIndexStorageInvokeOptions

    Returns Promise<undefined | string>

  • Parameters

    • Optional start: Stringifable[]
    • Optional end: Stringifable[]
    • Optional options: EntityIndexStorageInvokeOptions

    Returns Promise<undefined | string>

  • Parameters

    • Optional options: EntityIndexStorageInvokeOptions

    Returns Promise<undefined | BaseFetcherState<C>>

  • Parameters

    • Optional start: Stringifable[]
    • Optional end: Stringifable[]
    • Optional options: EntityIndexStorageInvokeOptions

    Returns Promise<undefined | BaseFetcherState<C>>

  • Parameters

    • keys: string[] | Stringifable[][]
    • Optional options: EntityIndexStorageInvokeOptions

    Returns Promise<BaseFetcherState<C>[]>

  • Returns Promise<void>

  • Parameters

    • options: undefined | EntityIndexStorageInvokeOptions
    • item: StorageEntry<string, string | BaseFetcherState<C>>

    Returns Promise<undefined | StorageEntry<string, BaseFetcherState<C>>>

  • Parameters

    Returns string

  • Parameters

    • stream: StorageStream<string, string | BaseFetcherState<C>>
    • options: StorageCommonOptions

    Returns StorageStream<string, BaseFetcherState<C>>

  • Parameters

    • Optional chunks: Stringifable[]
    • Optional isEnd: boolean

    Returns undefined | string[]

  • Parameters

    Returns Promise<StorageEntry<string, BaseFetcherState<C>>[]>

  • Returns Promise<boolean>

Generated using TypeDoc