Interface IMetadataRepository
Provides an abstraction of the MetadataRepository
to allow testing and mocking.
Use the MetadataRepositoryFactory in functional code to implement this interface's functionality.
Namespace: Unity.Cloud.DataStreaming.Metadata
Assembly: Unity.Cloud.DataStreaming.Runtime.dll
Syntax
public interface IMetadataRepository
Methods
GetAllPathsAsync()
Gets a list of all the possible root field paths in the objects contained in the dataset.
Declaration
Task<MetadataPathCollection> GetAllPathsAsync()
Returns
Type | Description |
---|---|
Task<MetadataPathCollection> | The list of possible root field paths in the dataset's metadata. |
Query()
Gets a MetadataQueryBuilder
to build fluent queries.
Declaration
IMetadataQuery Query()
Returns
Type | Description |
---|---|
IMetadataQuery |