summaryrefslogtreecommitdiff
path: root/include/fabric.hrl
blob: 5cb337d9b2b6633f1e49ffd660c709b80d299b89 (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
28
29
30
31
32
-define(FABRIC, true).

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

-ifndef(MEMBERSHIP).
-include("../../mem3/include/mem3.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,
    keys,
    os_proc,
    reducer,
    lang,
    sorted,
    user_acc
}).

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