Esempio n. 1
0
 /// <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);
Esempio n. 2
0
 /// <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));
 }
Esempio n. 3
0
 /// <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);
Esempio n. 4
0
 /// <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));
 }