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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
|
<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>IsisReader: org::openisis::PureDb Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.6.1 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<img id="MSearchSelect" src="search/search.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</div>
</li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<div class="navpath"><b>org</b>::<b>openisis</b>::<a class="el" href="classorg_1_1openisis_1_1PureDb.html">PureDb</a>
</div>
</div>
<div class="contents">
<h1>org::openisis::PureDb Class Reference</h1><!-- doxytag: class="org::openisis::PureDb" --><!-- doxytag: inherits="org::openisis::Db" --><div class="dynheader">
Inheritance diagram for org::openisis::PureDb:</div>
<div class="dynsection">
<div class="center">
<img src="classorg_1_1openisis_1_1PureDb.gif" usemap="#org::openisis::PureDb_map" alt=""/>
<map id="org::openisis::PureDb_map" name="org::openisis::PureDb_map">
<area href="classorg_1_1openisis_1_1Db.html" alt="org::openisis::Db" shape="rect" coords="0,0,132,24"/>
</map>
</div>
</div>
<p><a href="classorg_1_1openisis_1_1PureDb-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a15716e4f9e636678b4f918d62a97a0fc"></a><!-- doxytag: member="org::openisis::PureDb::PureDb" ref="a15716e4f9e636678b4f918d62a97a0fc" args="(String enc, String dbname, String[] args)" -->
</td><td class="memItemRight" valign="bottom"><b>PureDb</b> (String enc, String dbname, String[] args) throws IOException </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classorg_1_1openisis_1_1Rec.html">Rec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1openisis_1_1PureDb.html#a296f17c10ef258cd6b21cb9536658cb9">readRow</a> (int rowid)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">short </td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1openisis_1_1PureDb.html#a8b6f92317636de915fa98b0929b375f1">writeRow</a> (<a class="el" href="classorg_1_1openisis_1_1Rec.html">Rec</a> row)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">short </td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1openisis_1_1PureDb.html#a636f667c6746d991827937a9b322ae28">writeXRow</a> (<a class="el" href="classorg_1_1openisis_1_1Rec.html">Rec</a> row, <a class="el" href="classorg_1_1openisis_1_1Rec.html">Rec</a> idx)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classorg_1_1openisis_1_1Rec.html">Rec</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1openisis_1_1PureDb.html#a5481e768ae8819f046f0374212294b8e">scanRow</a> (int rowid, int tag, String txt)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int[] </td><td class="memItemRight" valign="bottom"><a class="el" href="classorg_1_1openisis_1_1PureDb.html#a633bceb9628a59684745ec893ca5c604">search</a> (String key, int mode)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abff68a1e5893be0eba2341714ca7972c"></a><!-- doxytag: member="org::openisis::PureDb::terms" ref="abff68a1e5893be0eba2341714ca7972c" args="(String prefix)" -->
Iterator </td><td class="memItemRight" valign="bottom"><b>terms</b> (String prefix)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>This class is the pure java implementation of class <a class="el" href="classorg_1_1openisis_1_1Db.html">Db</a>. Unfortunately, it's still empty :( </p>
<dl class="rcs"><dt><b>Id</b></dt><dd>PureDb.java,v 1.4 2003/04/08 00:20:53 kripke <a class="el" href="unionExp.html">Exp</a> </dd></dl>
<dl class="version"><dt><b>Version:</b></dt><dd></dd></dl>
<dl class="rcs"><dt><b>Revision</b></dt><dd>1.4 </dd></dl>
<dl class="author"><dt><b>Author:</b></dt><dd></dd></dl>
<dl class="rcs"><dt><b>Author</b></dt><dd>kripke </dd></dl>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a296f17c10ef258cd6b21cb9536658cb9"></a><!-- doxytag: member="org::openisis::PureDb::readRow" ref="a296f17c10ef258cd6b21cb9536658cb9" args="(int rowid)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classorg_1_1openisis_1_1Rec.html">Rec</a> org::openisis::PureDb::readRow </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>rowid</em></td>
<td> ) </td>
<td><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>read a cooked row. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>rowid</em> </td><td>the mfn </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>a <a class="el" href="classorg_1_1openisis_1_1Rec.html">Rec</a> or null, if row not available. </dd></dl>
<p>Implements <a class="el" href="classorg_1_1openisis_1_1Db.html#abdd740b99c2d95684c60e9c2fb8161ff">org::openisis::Db</a>.</p>
</div>
</div>
<a class="anchor" id="a5481e768ae8819f046f0374212294b8e"></a><!-- doxytag: member="org::openisis::PureDb::scanRow" ref="a5481e768ae8819f046f0374212294b8e" args="(int rowid, int tag, String txt)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classorg_1_1openisis_1_1Rec.html">Rec</a> org::openisis::PureDb::scanRow </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>rowid</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>tag</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">String </td>
<td class="paramname"> <em>txt</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>read the first row with rowid >= given rowid and containing txt in subfield tag (any, if 0). </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>rowid</em> </td><td>the mfn </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>a <a class="el" href="classorg_1_1openisis_1_1Rec.html">Rec</a> or null, if row not available. </dd></dl>
<p>Implements <a class="el" href="classorg_1_1openisis_1_1Db.html#a9b638a4636a69a26a983ae26b02b6ff4">org::openisis::Db</a>.</p>
</div>
</div>
<a class="anchor" id="a633bceb9628a59684745ec893ca5c604"></a><!-- doxytag: member="org::openisis::PureDb::search" ref="a633bceb9628a59684745ec893ca5c604" args="(String key, int mode)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int [] org::openisis::PureDb::search </td>
<td>(</td>
<td class="paramtype">String </td>
<td class="paramname"> <em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>mode</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>read the array of rowids matching key. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>key</em> </td><td>key to look for </td></tr>
<tr><td valign="top"></td><td valign="top"><em>mode</em> </td><td>one of the QRY_ constants above. may be ored with a tag<<16 to limit search to that field </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classorg_1_1openisis_1_1Db.html#ad7cf844dbb25d56dc861661ea40693a5">org::openisis::Db</a>.</p>
</div>
</div>
<a class="anchor" id="a8b6f92317636de915fa98b0929b375f1"></a><!-- doxytag: member="org::openisis::PureDb::writeRow" ref="a8b6f92317636de915fa98b0929b375f1" args="(Rec row)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">short org::openisis::PureDb::writeRow </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classorg_1_1openisis_1_1Rec.html">Rec</a> </td>
<td class="paramname"> <em>rec</em></td>
<td> ) </td>
<td><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>write a cooked row. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>row</em> </td><td>the <a class="el" href="classorg_1_1openisis_1_1Rec.html">Rec</a> to be written </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>0 if write succeeded, else a negative error code </dd></dl>
<p>Implements <a class="el" href="classorg_1_1openisis_1_1Db.html#a110256d1b1653e2fd357994b143ec319">org::openisis::Db</a>.</p>
</div>
</div>
<a class="anchor" id="a636f667c6746d991827937a9b322ae28"></a><!-- doxytag: member="org::openisis::PureDb::writeXRow" ref="a636f667c6746d991827937a9b322ae28" args="(Rec row, Rec idx)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">short org::openisis::PureDb::writeXRow </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classorg_1_1openisis_1_1Rec.html">Rec</a> </td>
<td class="paramname"> <em>rec</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classorg_1_1openisis_1_1Rec.html">Rec</a> </td>
<td class="paramname"> <em>idx</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>write a cooked row together with index information. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>row</em> </td><td>the <a class="el" href="classorg_1_1openisis_1_1Rec.html">Rec</a> to be written </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>0 on success else a negative error code </dd></dl>
<p>Implements <a class="el" href="classorg_1_1openisis_1_1Db.html#ad6c68514dbc977086bcbb3f0eeabc2f4">org::openisis::Db</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>contrib/openisis/org/openisis/PureDb.java</li>
</ul>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue Mar 30 14:47:17 2010 for IsisReader by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>
|