forked from ravendb/ravendb
/
IRavenQueryable.cs
28 lines (26 loc) · 974 Bytes
/
IRavenQueryable.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//-----------------------------------------------------------------------
// <copyright file="IRavenQueryable.cs" company="Hibernating Rhinos LTD">
// Copyright (c) Hibernating Rhinos LTD. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
using System;
using System.Linq;
namespace Raven.Client.Linq
{
/// <summary>
/// An implementation of <see cref="IOrderedQueryable{T}"/> with Raven specific operation
/// </summary>
public interface IRavenQueryable<T> : IOrderedQueryable<T>
{
/// <summary>
/// Provide statistics about the query, such as total count of matching records
/// </summary>
IRavenQueryable<T> Statistics(out RavenQueryStatistics stats);
/// <summary>
/// Customizes the query using the specified action
/// </summary>
/// <param name="action">The action.</param>
/// <returns></returns>
IRavenQueryable<T> Customize(Action<IDocumentQueryCustomization> action);
}
}