Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • InMemoryDataAccessor

Implements

Index

Constructors

constructor

Properties

Private Readonly identifierStrategy

identifierStrategy: IdentifierStrategy

Private Readonly store

store: { entries: Record<string, ContainerEntry> }

Type declaration

  • entries: Record<string, ContainerEntry>

Methods

canHandle

  • canHandle(): Promise<void>

deleteResource

getChildren

  • Returns metadata for all resources in the requested container. This should not be all metadata of those resources (but it can be), but instead the main metadata you want to show in situations where all these resources are presented simultaneously. Generally this would be metadata that is present for all of these resources, such as resource type or last modified date.

    It can be safely assumed that the incoming identifier will always correspond to a container.

    Parameters

    Returns AsyncIterableIterator<RepresentationMetadata>

getData

Private getEntry

Private getHierarchy

getMetadata

Private getParentEntry

Private isDataEntry

  • isDataEntry(entry: CacheEntry): entry is DataEntry

writeContainer

writeDocument