1
%%% ``The contents of this file are subject to the Erlang Public License,
2
%%% Version 1.1, (the "License"); you may not use this file except in
3
%%% compliance with the License. You should have received a copy of the
4
%%% Erlang Public License along with this software. If not, it can be
5
%%% retrieved via the world wide web at http://www.erlang.org/.
7
%%% Software distributed under the License is distributed on an "AS IS"
8
%%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
9
%%% the License for the specific language governing rights and limitations
10
%%% under the License.
12
%%% The Initial Developer of the Original Code is Ericsson Utvecklings AB.
13
%%% Portions created by Ericsson are Copyright 1999, Ericsson Utvecklings
14
%%% AB. All Rights Reserved.''
4
%% Copyright Ericsson AB 1998-2009. All Rights Reserved.
6
%% The contents of this file are subject to the Erlang Public License,
7
%% Version 1.1, (the "License"); you may not use this file except in
8
%% compliance with the License. You should have received a copy of the
9
%% Erlang Public License along with this software. If not, it can be
10
%% retrieved online at http://www.erlang.org/.
12
%% Software distributed under the License is distributed on an "AS IS"
13
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14
%% the License for the specific language governing rights and limitations
18
21
%%%----------------------------------------------------------------------
19
22
%%% Purpose : Support tables so large that they need
32
35
select/5,select/6,select_cont/3,
33
36
index_match_object/6, index_read/6,
34
37
foldl/6, foldr/6, table_info/4,
35
first/3, next/4, prev/4, last/3
38
first/3, next/4, prev/4, last/3,
38
42
%header_doc_include
118
122
|| Frag <- frag_names(Tab)],
119
123
lists:append(Match).
125
clear_table(ActivityId, Opaque, Tab, Obj) ->
126
[mnesia:clear_table(ActivityId, Opaque, Frag, Obj) || Frag <- frag_names(Tab)],
121
129
index_match_object(ActivityId, Opaque, Tab, Pat, Attr, LockKind) ->
123
131
[mnesia:index_match_object(ActivityId, Opaque, Frag, Pat, Attr, LockKind)