/// <summary> /// Gets the document ids with the specified options. /// </summary> /// <param name="options">The query options.</param> /// <param name="cancellationToken">The cancellation token.</param> /// <returns></returns> public abstract Task <Dictionary <long, string> > GetDocumentIdsByIdAsync(DocumentQueryOptions options, CancellationToken cancellationToken);
/// <summary> /// Gets the document with the specified options. /// </summary> /// <param name="options">The query options.</param> /// <param name="cancellationToken">The cancellation token.</param> /// <returns>All fields.</returns> public async Task <Dictionary <long, string> > GetDocumentIdsByIdAsync(DocumentQueryOptions options, CancellationToken cancellationToken) { return(await DocumentStore.GetDocumentIdsByIdAsync(options, cancellationToken)); }
/// <summary> /// Gets the document with the specified options. /// </summary> /// <param name="options">The query options.</param> /// <param name="cancellationToken">The cancellation token.</param> /// <returns></returns> public abstract Task <IList <Document> > FindAllAsync(DocumentQueryOptions options, CancellationToken cancellationToken);
/// <summary> /// Gets the document with the specified identifier. /// </summary> /// <param name="options">The query options.</param> /// <param name="cancellationToken">The cancellation token.</param> /// <returns></returns> public async Task <IList <Document> > FindAllAsync(DocumentQueryOptions options, CancellationToken cancellationToken) { return(await DocumentStore.FindAllAsync(options, cancellationToken)); }