summaryrefslogtreecommitdiff
path: root/include/fabric.hrl
blob: 31e4336cb0e0ff44ce7ed67e7c0efc79f6645ec5 (plain)
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
-define(FABRIC, true).

-ifndef(COUCH).
-include("../../couch/src/couch_db.hrl").
-endif.

-ifndef(MEMBERSHIP).
-include("../../membership/include/membership.hrl").
-endif.

-include_lib("eunit/include/eunit.hrl").

-record(collector, {
    query_args,
    callback,
    counters,
    buffer_size,
    blocked = [],
    total_rows = 0,
    offset = 0,
    rows = [],
    skip,
    limit,
    user_acc
}).

-record(view_row, {key, id, value, doc, worker}).