kyotocabinet-java 0.1.0-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. data/.document +5 -0
  2. data/Gemfile +15 -0
  3. data/LICENSE.txt +20 -0
  4. data/README.rdoc +19 -0
  5. data/Rakefile +62 -0
  6. data/VERSION +1 -0
  7. data/ext/kyotocabinet-java/.gitignore +2 -0
  8. data/ext/kyotocabinet-java/COPYING +674 -0
  9. data/ext/kyotocabinet-java/Cursor.java +268 -0
  10. data/ext/kyotocabinet-java/DB.java +650 -0
  11. data/ext/kyotocabinet-java/Error.java +257 -0
  12. data/ext/kyotocabinet-java/FileProcessor.java +42 -0
  13. data/ext/kyotocabinet-java/Loader.java +60 -0
  14. data/ext/kyotocabinet-java/Makefile.in +246 -0
  15. data/ext/kyotocabinet-java/MapReduce.java +127 -0
  16. data/ext/kyotocabinet-java/README +26 -0
  17. data/ext/kyotocabinet-java/Test.java +1494 -0
  18. data/ext/kyotocabinet-java/Utility.java +131 -0
  19. data/ext/kyotocabinet-java/VCmakefile +150 -0
  20. data/ext/kyotocabinet-java/ValueIterator.java +49 -0
  21. data/ext/kyotocabinet-java/Visitor.java +56 -0
  22. data/ext/kyotocabinet-java/configure.in +310 -0
  23. data/ext/kyotocabinet-java/doc/allclasses-frame.html +26 -0
  24. data/ext/kyotocabinet-java/doc/allclasses-noframe.html +26 -0
  25. data/ext/kyotocabinet-java/doc/constant-values.html +344 -0
  26. data/ext/kyotocabinet-java/doc/index-all.html +848 -0
  27. data/ext/kyotocabinet-java/doc/index.html +30 -0
  28. data/ext/kyotocabinet-java/doc/kyotocabinet/Cursor.html +711 -0
  29. data/ext/kyotocabinet-java/doc/kyotocabinet/DB.html +1674 -0
  30. data/ext/kyotocabinet-java/doc/kyotocabinet/Error.html +604 -0
  31. data/ext/kyotocabinet-java/doc/kyotocabinet/FileProcessor.html +210 -0
  32. data/ext/kyotocabinet-java/doc/kyotocabinet/MapReduce.html +461 -0
  33. data/ext/kyotocabinet-java/doc/kyotocabinet/Test.html +220 -0
  34. data/ext/kyotocabinet-java/doc/kyotocabinet/Utility.html +413 -0
  35. data/ext/kyotocabinet-java/doc/kyotocabinet/ValueIterator.html +221 -0
  36. data/ext/kyotocabinet-java/doc/kyotocabinet/Visitor.html +283 -0
  37. data/ext/kyotocabinet-java/doc/kyotocabinet/package-frame.html +33 -0
  38. data/ext/kyotocabinet-java/doc/kyotocabinet/package-summary.html +199 -0
  39. data/ext/kyotocabinet-java/doc/kyotocabinet/package-tree.html +141 -0
  40. data/ext/kyotocabinet-java/doc/overview-summary.html +285 -0
  41. data/ext/kyotocabinet-java/doc/overview-tree.html +145 -0
  42. data/ext/kyotocabinet-java/doc/package-list +1 -0
  43. data/ext/kyotocabinet-java/doc/resources/background.gif +0 -0
  44. data/ext/kyotocabinet-java/doc/resources/tab.gif +0 -0
  45. data/ext/kyotocabinet-java/doc/resources/titlebar.gif +0 -0
  46. data/ext/kyotocabinet-java/doc/resources/titlebar_end.gif +0 -0
  47. data/ext/kyotocabinet-java/doc/serialized-form.html +141 -0
  48. data/ext/kyotocabinet-java/doc/stylesheet.css +474 -0
  49. data/ext/kyotocabinet-java/example/KCDBEX1.java +44 -0
  50. data/ext/kyotocabinet-java/example/KCDBEX2.java +44 -0
  51. data/ext/kyotocabinet-java/example/Makefile +59 -0
  52. data/ext/kyotocabinet-java/kyotocabinet.cc +2187 -0
  53. data/ext/kyotocabinet-java/kyotocabinet_Cursor.h +157 -0
  54. data/ext/kyotocabinet-java/kyotocabinet_DB.h +353 -0
  55. data/ext/kyotocabinet-java/kyotocabinet_Error.h +49 -0
  56. data/ext/kyotocabinet-java/kyotocabinet_Error_XBROKEN.h +41 -0
  57. data/ext/kyotocabinet-java/kyotocabinet_Error_XDUPREC.h +41 -0
  58. data/ext/kyotocabinet-java/kyotocabinet_Error_XINVALID.h +41 -0
  59. data/ext/kyotocabinet-java/kyotocabinet_Error_XLOGIC.h +41 -0
  60. data/ext/kyotocabinet-java/kyotocabinet_Error_XMISC.h +41 -0
  61. data/ext/kyotocabinet-java/kyotocabinet_Error_XNOIMPL.h +41 -0
  62. data/ext/kyotocabinet-java/kyotocabinet_Error_XNOPERM.h +41 -0
  63. data/ext/kyotocabinet-java/kyotocabinet_Error_XNOREC.h +41 -0
  64. data/ext/kyotocabinet-java/kyotocabinet_Error_XNOREPOS.h +41 -0
  65. data/ext/kyotocabinet-java/kyotocabinet_Error_XSUCCESS.h +41 -0
  66. data/ext/kyotocabinet-java/kyotocabinet_Error_XSYSTEM.h +41 -0
  67. data/ext/kyotocabinet-java/kyotocabinet_MapReduce.h +33 -0
  68. data/ext/kyotocabinet-java/kyotocabinet_Utility.h +101 -0
  69. data/ext/kyotocabinet-java/kyotocabinet_ValueIterator.h +21 -0
  70. data/ext/kyotocabinet-java/overview.html +177 -0
  71. data/kyotocabinet-java.gemspec +129 -0
  72. data/lib/kyotocabinet-java.rb +141 -0
  73. data/lib/kyotocabinet-java/version.rb +5 -0
  74. metadata +222 -0
@@ -0,0 +1,30 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
2
+ <!-- NewPage -->
3
+ <html lang="en">
4
+ <head>
5
+ <!-- Generated by javadoc on Fri May 25 00:40:49 JST 2012 -->
6
+ <title>kyotocabinet</title>
7
+ <script type="text/javascript">
8
+ targetPage = "" + window.location.search;
9
+ if (targetPage != "" && targetPage != "undefined")
10
+ targetPage = targetPage.substring(1);
11
+ if (targetPage.indexOf(":") != -1)
12
+ targetPage = "undefined";
13
+ function loadFrames() {
14
+ if (targetPage != "" && targetPage != "undefined")
15
+ top.classFrame.location = top.targetPage;
16
+ }
17
+ </script>
18
+ </head>
19
+ <frameset cols="20%,80%" title="Documentation frame" onload="top.loadFrames()">
20
+ <frame src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
21
+ <frame src="overview-summary.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
22
+ <noframes>
23
+ <noscript>
24
+ <div>JavaScript is disabled on your browser.</div>
25
+ </noscript>
26
+ <h2>Frame Alert</h2>
27
+ <p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p>
28
+ </noframes>
29
+ </frameset>
30
+ </html>
@@ -0,0 +1,711 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+ <!-- NewPage -->
3
+ <html lang="en">
4
+ <head>
5
+ <!-- Generated by javadoc (version 1.7.0_04) on Fri May 25 00:40:48 JST 2012 -->
6
+ <title>Cursor (kyotocabinet)</title>
7
+ <meta name="date" content="2012-05-25">
8
+ <link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
9
+ </head>
10
+ <body>
11
+ <script type="text/javascript"><!--
12
+ if (location.href.indexOf('is-external=true') == -1) {
13
+ parent.document.title="Cursor (kyotocabinet)";
14
+ }
15
+ //-->
16
+ </script>
17
+ <noscript>
18
+ <div>JavaScript is disabled on your browser.</div>
19
+ </noscript>
20
+ <!-- ========= START OF TOP NAVBAR ======= -->
21
+ <div class="topNav"><a name="navbar_top">
22
+ <!-- -->
23
+ </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
24
+ <!-- -->
25
+ </a>
26
+ <ul class="navList" title="Navigation">
27
+ <li><a href="../overview-summary.html">Overview</a></li>
28
+ <li><a href="../kyotocabinet/package-summary.html">Package</a></li>
29
+ <li class="navBarCell1Rev">Class</li>
30
+ <li><a href="package-tree.html">Tree</a></li>
31
+ <li><a href="../index-all.html">Index</a></li>
32
+ </ul>
33
+ </div>
34
+ <div class="subNav">
35
+ <ul class="navList">
36
+ <li>Prev Class</li>
37
+ <li><a href="../kyotocabinet/DB.html" title="class in kyotocabinet"><span class="strong">Next Class</span></a></li>
38
+ </ul>
39
+ <ul class="navList">
40
+ <li><a href="../index.html?kyotocabinet/Cursor.html" target="_top">Frames</a></li>
41
+ <li><a href="Cursor.html" target="_top">No Frames</a></li>
42
+ </ul>
43
+ <ul class="navList" id="allclasses_navbar_top">
44
+ <li><a href="../allclasses-noframe.html">All Classes</a></li>
45
+ </ul>
46
+ <div>
47
+ <script type="text/javascript"><!--
48
+ allClassesLink = document.getElementById("allclasses_navbar_top");
49
+ if(window==top) {
50
+ allClassesLink.style.display = "block";
51
+ }
52
+ else {
53
+ allClassesLink.style.display = "none";
54
+ }
55
+ //-->
56
+ </script>
57
+ </div>
58
+ <div>
59
+ <ul class="subNavList">
60
+ <li>Summary:&nbsp;</li>
61
+ <li>Nested&nbsp;|&nbsp;</li>
62
+ <li>Field&nbsp;|&nbsp;</li>
63
+ <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
64
+ <li><a href="#method_summary">Method</a></li>
65
+ </ul>
66
+ <ul class="subNavList">
67
+ <li>Detail:&nbsp;</li>
68
+ <li>Field&nbsp;|&nbsp;</li>
69
+ <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
70
+ <li><a href="#method_detail">Method</a></li>
71
+ </ul>
72
+ </div>
73
+ <a name="skip-navbar_top">
74
+ <!-- -->
75
+ </a></div>
76
+ <!-- ========= END OF TOP NAVBAR ========= -->
77
+ <!-- ======== START OF CLASS DATA ======== -->
78
+ <div class="header">
79
+ <div class="subTitle">kyotocabinet</div>
80
+ <h2 title="Class Cursor" class="title">Class Cursor</h2>
81
+ </div>
82
+ <div class="contentContainer">
83
+ <ul class="inheritance">
84
+ <li>Object</li>
85
+ <li>
86
+ <ul class="inheritance">
87
+ <li>Cursor</li>
88
+ </ul>
89
+ </li>
90
+ </ul>
91
+ <div class="description">
92
+ <ul class="blockList">
93
+ <li class="blockList">
94
+ <hr>
95
+ <br>
96
+ <pre>public class <span class="strong">Cursor</span>
97
+ extends Object</pre>
98
+ <div class="block">Interface of cursor to indicate a record.</div>
99
+ </li>
100
+ </ul>
101
+ </div>
102
+ <div class="summary">
103
+ <ul class="blockList">
104
+ <li class="blockList">
105
+ <!-- ======== CONSTRUCTOR SUMMARY ======== -->
106
+ <ul class="blockList">
107
+ <li class="blockList"><a name="constructor_summary">
108
+ <!-- -->
109
+ </a>
110
+ <h3>Constructor Summary</h3>
111
+ <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
112
+ <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
113
+ <tr>
114
+ <th class="colOne" scope="col">Constructor and Description</th>
115
+ </tr>
116
+ <tr class="altColor">
117
+ <td class="colOne"><code><strong><a href="../kyotocabinet/Cursor.html#Cursor(kyotocabinet.DB)">Cursor</a></strong>(<a href="../kyotocabinet/DB.html" title="class in kyotocabinet">DB</a>&nbsp;db)</code>
118
+ <div class="block">Create an instance.</div>
119
+ </td>
120
+ </tr>
121
+ </table>
122
+ </li>
123
+ </ul>
124
+ <!-- ========== METHOD SUMMARY =========== -->
125
+ <ul class="blockList">
126
+ <li class="blockList"><a name="method_summary">
127
+ <!-- -->
128
+ </a>
129
+ <h3>Method Summary</h3>
130
+ <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
131
+ <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
132
+ <tr>
133
+ <th class="colFirst" scope="col">Modifier and Type</th>
134
+ <th class="colLast" scope="col">Method and Description</th>
135
+ </tr>
136
+ <tr class="altColor">
137
+ <td class="colFirst"><code>boolean</code></td>
138
+ <td class="colLast"><code><strong><a href="../kyotocabinet/Cursor.html#accept(kyotocabinet.Visitor, boolean, boolean)">accept</a></strong>(<a href="../kyotocabinet/Visitor.html" title="interface in kyotocabinet">Visitor</a>&nbsp;visitor,
139
+ boolean&nbsp;writable,
140
+ boolean&nbsp;step)</code>
141
+ <div class="block">Accept a visitor to the current record.</div>
142
+ </td>
143
+ </tr>
144
+ <tr class="rowColor">
145
+ <td class="colFirst"><code><a href="../kyotocabinet/DB.html" title="class in kyotocabinet">DB</a></code></td>
146
+ <td class="colLast"><code><strong><a href="../kyotocabinet/Cursor.html#db()">db</a></strong>()</code>
147
+ <div class="block">Get the database object.</div>
148
+ </td>
149
+ </tr>
150
+ <tr class="altColor">
151
+ <td class="colFirst"><code>void</code></td>
152
+ <td class="colLast"><code><strong><a href="../kyotocabinet/Cursor.html#disable()">disable</a></strong>()</code>
153
+ <div class="block">Disable the cursor.</div>
154
+ </td>
155
+ </tr>
156
+ <tr class="rowColor">
157
+ <td class="colFirst"><code><a href="../kyotocabinet/Error.html" title="class in kyotocabinet">Error</a></code></td>
158
+ <td class="colLast"><code><strong><a href="../kyotocabinet/Cursor.html#error()">error</a></strong>()</code>
159
+ <div class="block">Get the last happened error.</div>
160
+ </td>
161
+ </tr>
162
+ <tr class="altColor">
163
+ <td class="colFirst"><code>protected void</code></td>
164
+ <td class="colLast"><code><strong><a href="../kyotocabinet/Cursor.html#finalize()">finalize</a></strong>()</code>
165
+ <div class="block">Release resources.</div>
166
+ </td>
167
+ </tr>
168
+ <tr class="rowColor">
169
+ <td class="colFirst"><code>String</code></td>
170
+ <td class="colLast"><code><strong><a href="../kyotocabinet/Cursor.html#get_key_str(boolean)">get_key_str</a></strong>(boolean&nbsp;step)</code>
171
+ <div class="block">Get the key of the current record.</div>
172
+ </td>
173
+ </tr>
174
+ <tr class="altColor">
175
+ <td class="colFirst"><code>byte[]</code></td>
176
+ <td class="colLast"><code><strong><a href="../kyotocabinet/Cursor.html#get_key(boolean)">get_key</a></strong>(boolean&nbsp;step)</code>
177
+ <div class="block">Get the key of the current record.</div>
178
+ </td>
179
+ </tr>
180
+ <tr class="rowColor">
181
+ <td class="colFirst"><code>String[]</code></td>
182
+ <td class="colLast"><code><strong><a href="../kyotocabinet/Cursor.html#get_str(boolean)">get_str</a></strong>(boolean&nbsp;step)</code>
183
+ <div class="block">Get a pair of the key and the value of the current record.</div>
184
+ </td>
185
+ </tr>
186
+ <tr class="altColor">
187
+ <td class="colFirst"><code>String</code></td>
188
+ <td class="colLast"><code><strong><a href="../kyotocabinet/Cursor.html#get_value_str(boolean)">get_value_str</a></strong>(boolean&nbsp;step)</code>
189
+ <div class="block">Get the value of the current record.</div>
190
+ </td>
191
+ </tr>
192
+ <tr class="rowColor">
193
+ <td class="colFirst"><code>byte[]</code></td>
194
+ <td class="colLast"><code><strong><a href="../kyotocabinet/Cursor.html#get_value(boolean)">get_value</a></strong>(boolean&nbsp;step)</code>
195
+ <div class="block">Get the value of the current record.</div>
196
+ </td>
197
+ </tr>
198
+ <tr class="altColor">
199
+ <td class="colFirst"><code>byte[][]</code></td>
200
+ <td class="colLast"><code><strong><a href="../kyotocabinet/Cursor.html#get(boolean)">get</a></strong>(boolean&nbsp;step)</code>
201
+ <div class="block">Get a pair of the key and the value of the current record.</div>
202
+ </td>
203
+ </tr>
204
+ <tr class="rowColor">
205
+ <td class="colFirst"><code>boolean</code></td>
206
+ <td class="colLast"><code><strong><a href="../kyotocabinet/Cursor.html#jump_back()">jump_back</a></strong>()</code>
207
+ <div class="block">Jump the cursor to the last record for backward scan.</div>
208
+ </td>
209
+ </tr>
210
+ <tr class="altColor">
211
+ <td class="colFirst"><code>boolean</code></td>
212
+ <td class="colLast"><code><strong><a href="../kyotocabinet/Cursor.html#jump_back(byte[])">jump_back</a></strong>(byte[]&nbsp;key)</code>
213
+ <div class="block">Jump the cursor to a record for backward scan.</div>
214
+ </td>
215
+ </tr>
216
+ <tr class="rowColor">
217
+ <td class="colFirst"><code>boolean</code></td>
218
+ <td class="colLast"><code><strong><a href="../kyotocabinet/Cursor.html#jump_back(java.lang.String)">jump_back</a></strong>(String&nbsp;key)</code>
219
+ <div class="block">Jump the cursor to a record for backward scan.</div>
220
+ </td>
221
+ </tr>
222
+ <tr class="altColor">
223
+ <td class="colFirst"><code>boolean</code></td>
224
+ <td class="colLast"><code><strong><a href="../kyotocabinet/Cursor.html#jump()">jump</a></strong>()</code>
225
+ <div class="block">Jump the cursor to the first record for forward scan.</div>
226
+ </td>
227
+ </tr>
228
+ <tr class="rowColor">
229
+ <td class="colFirst"><code>boolean</code></td>
230
+ <td class="colLast"><code><strong><a href="../kyotocabinet/Cursor.html#jump(byte[])">jump</a></strong>(byte[]&nbsp;key)</code>
231
+ <div class="block">Jump the cursor to a record for forward scan.</div>
232
+ </td>
233
+ </tr>
234
+ <tr class="altColor">
235
+ <td class="colFirst"><code>boolean</code></td>
236
+ <td class="colLast"><code><strong><a href="../kyotocabinet/Cursor.html#jump(java.lang.String)">jump</a></strong>(String&nbsp;key)</code>
237
+ <div class="block">Jump the cursor to a record for forward scan.</div>
238
+ </td>
239
+ </tr>
240
+ <tr class="rowColor">
241
+ <td class="colFirst"><code>boolean</code></td>
242
+ <td class="colLast"><code><strong><a href="../kyotocabinet/Cursor.html#remove()">remove</a></strong>()</code>
243
+ <div class="block">Remove the current record.</div>
244
+ </td>
245
+ </tr>
246
+ <tr class="altColor">
247
+ <td class="colFirst"><code>String[]</code></td>
248
+ <td class="colLast"><code><strong><a href="../kyotocabinet/Cursor.html#seize_str()">seize_str</a></strong>()</code>
249
+ <div class="block">Get a pair of the key and the value of the current record and remove it atomically.</div>
250
+ </td>
251
+ </tr>
252
+ <tr class="rowColor">
253
+ <td class="colFirst"><code>byte[][]</code></td>
254
+ <td class="colLast"><code><strong><a href="../kyotocabinet/Cursor.html#seize()">seize</a></strong>()</code>
255
+ <div class="block">Get a pair of the key and the value of the current record and remove it atomically.</div>
256
+ </td>
257
+ </tr>
258
+ <tr class="altColor">
259
+ <td class="colFirst"><code>boolean</code></td>
260
+ <td class="colLast"><code><strong><a href="../kyotocabinet/Cursor.html#set_value(byte[], boolean)">set_value</a></strong>(byte[]&nbsp;value,
261
+ boolean&nbsp;step)</code>
262
+ <div class="block">Set the value of the current record.</div>
263
+ </td>
264
+ </tr>
265
+ <tr class="rowColor">
266
+ <td class="colFirst"><code>boolean</code></td>
267
+ <td class="colLast"><code><strong><a href="../kyotocabinet/Cursor.html#set_value(java.lang.String, boolean)">set_value</a></strong>(String&nbsp;value,
268
+ boolean&nbsp;step)</code>
269
+ <div class="block">Set the value of the current record.</div>
270
+ </td>
271
+ </tr>
272
+ <tr class="altColor">
273
+ <td class="colFirst"><code>boolean</code></td>
274
+ <td class="colLast"><code><strong><a href="../kyotocabinet/Cursor.html#step_back()">step_back</a></strong>()</code>
275
+ <div class="block">Step the cursor to the previous record.</div>
276
+ </td>
277
+ </tr>
278
+ <tr class="rowColor">
279
+ <td class="colFirst"><code>boolean</code></td>
280
+ <td class="colLast"><code><strong><a href="../kyotocabinet/Cursor.html#step()">step</a></strong>()</code>
281
+ <div class="block">Step the cursor to the next record.</div>
282
+ </td>
283
+ </tr>
284
+ <tr class="altColor">
285
+ <td class="colFirst"><code>String</code></td>
286
+ <td class="colLast"><code><strong><a href="../kyotocabinet/Cursor.html#toString()">toString</a></strong>()</code>
287
+ <div class="block">Get the string expression.</div>
288
+ </td>
289
+ </tr>
290
+ </table>
291
+ <ul class="blockList">
292
+ <li class="blockList"><a name="methods_inherited_from_class_Object">
293
+ <!-- -->
294
+ </a>
295
+ <h3>Methods inherited from class&nbsp;Object</h3>
296
+ <code>clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
297
+ </ul>
298
+ </li>
299
+ </ul>
300
+ </li>
301
+ </ul>
302
+ </div>
303
+ <div class="details">
304
+ <ul class="blockList">
305
+ <li class="blockList">
306
+ <!-- ========= CONSTRUCTOR DETAIL ======== -->
307
+ <ul class="blockList">
308
+ <li class="blockList"><a name="constructor_detail">
309
+ <!-- -->
310
+ </a>
311
+ <h3>Constructor Detail</h3>
312
+ <a name="Cursor(kyotocabinet.DB)">
313
+ <!-- -->
314
+ </a>
315
+ <ul class="blockListLast">
316
+ <li class="blockList">
317
+ <h4>Cursor</h4>
318
+ <pre>public&nbsp;Cursor(<a href="../kyotocabinet/DB.html" title="class in kyotocabinet">DB</a>&nbsp;db)</pre>
319
+ <div class="block">Create an instance.</div>
320
+ </li>
321
+ </ul>
322
+ </li>
323
+ </ul>
324
+ <!-- ============ METHOD DETAIL ========== -->
325
+ <ul class="blockList">
326
+ <li class="blockList"><a name="method_detail">
327
+ <!-- -->
328
+ </a>
329
+ <h3>Method Detail</h3>
330
+ <a name="accept(kyotocabinet.Visitor, boolean, boolean)">
331
+ <!-- -->
332
+ </a>
333
+ <ul class="blockList">
334
+ <li class="blockList">
335
+ <h4>accept</h4>
336
+ <pre>public&nbsp;boolean&nbsp;accept(<a href="../kyotocabinet/Visitor.html" title="interface in kyotocabinet">Visitor</a>&nbsp;visitor,
337
+ boolean&nbsp;writable,
338
+ boolean&nbsp;step)</pre>
339
+ <div class="block">Accept a visitor to the current record.</div>
340
+ <dl><dt><span class="strong">Parameters:</span></dt><dd><code>visitor</code> - a visitor object which implements the Visitor interface.</dd><dd><code>writable</code> - true for writable operation, or false for read-only operation.</dd><dd><code>step</code> - true to move the cursor to the next record, or false for no move.</dd>
341
+ <dt><span class="strong">Returns:</span></dt><dd>true on success, or false on failure.</dd><dt><span class="strong">Note:</span></dt>
342
+ <dd>The operation for each record is performed atomically and other threads accessing the
343
+ same record are blocked. To avoid deadlock, any explicit database operation must not be
344
+ performed in this method.</dd></dl>
345
+ </li>
346
+ </ul>
347
+ <a name="db()">
348
+ <!-- -->
349
+ </a>
350
+ <ul class="blockList">
351
+ <li class="blockList">
352
+ <h4>db</h4>
353
+ <pre>public&nbsp;<a href="../kyotocabinet/DB.html" title="class in kyotocabinet">DB</a>&nbsp;db()</pre>
354
+ <div class="block">Get the database object.</div>
355
+ <dl><dt><span class="strong">Returns:</span></dt><dd>the database object.</dd></dl>
356
+ </li>
357
+ </ul>
358
+ <a name="disable()">
359
+ <!-- -->
360
+ </a>
361
+ <ul class="blockList">
362
+ <li class="blockList">
363
+ <h4>disable</h4>
364
+ <pre>public&nbsp;void&nbsp;disable()</pre>
365
+ <div class="block">Disable the cursor.</div>
366
+ <dl><dt><span class="strong">Note:</span></dt>
367
+ <dd>This method should be called explicitly when the cursor is no longer in use.</dd></dl>
368
+ </li>
369
+ </ul>
370
+ <a name="error()">
371
+ <!-- -->
372
+ </a>
373
+ <ul class="blockList">
374
+ <li class="blockList">
375
+ <h4>error</h4>
376
+ <pre>public&nbsp;<a href="../kyotocabinet/Error.html" title="class in kyotocabinet">Error</a>&nbsp;error()</pre>
377
+ <div class="block">Get the last happened error.</div>
378
+ <dl><dt><span class="strong">Returns:</span></dt><dd>the last happened error.</dd></dl>
379
+ </li>
380
+ </ul>
381
+ <a name="finalize()">
382
+ <!-- -->
383
+ </a>
384
+ <ul class="blockList">
385
+ <li class="blockList">
386
+ <h4>finalize</h4>
387
+ <pre>protected&nbsp;void&nbsp;finalize()</pre>
388
+ <div class="block">Release resources.</div>
389
+ <dl>
390
+ <dt><strong>Overrides:</strong></dt>
391
+ <dd><code>finalize</code>&nbsp;in class&nbsp;<code>Object</code></dd>
392
+ </dl>
393
+ </li>
394
+ </ul>
395
+ <a name="get_key_str(boolean)">
396
+ <!-- -->
397
+ </a>
398
+ <ul class="blockList">
399
+ <li class="blockList">
400
+ <h4>get_key_str</h4>
401
+ <pre>public&nbsp;String&nbsp;get_key_str(boolean&nbsp;step)</pre>
402
+ <div class="block">Get the key of the current record.
403
+ Equal to the original Cursor.get_key method except that the return value is String.</div>
404
+ <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../kyotocabinet/Cursor.html#get_key(boolean)"><code>get_key(boolean)</code></a></dd></dl>
405
+ </li>
406
+ </ul>
407
+ <a name="get_key(boolean)">
408
+ <!-- -->
409
+ </a>
410
+ <ul class="blockList">
411
+ <li class="blockList">
412
+ <h4>get_key</h4>
413
+ <pre>public&nbsp;byte[]&nbsp;get_key(boolean&nbsp;step)</pre>
414
+ <div class="block">Get the key of the current record.</div>
415
+ <dl><dt><span class="strong">Parameters:</span></dt><dd><code>step</code> - true to move the cursor to the next record, or false for no move.</dd>
416
+ <dt><span class="strong">Returns:</span></dt><dd>the key of the current record, or null on failure.</dd><dt><span class="strong">Note:</span></dt>
417
+ <dd>If the cursor is invalidated, null is returned.</dd></dl>
418
+ </li>
419
+ </ul>
420
+ <a name="get_str(boolean)">
421
+ <!-- -->
422
+ </a>
423
+ <ul class="blockList">
424
+ <li class="blockList">
425
+ <h4>get_str</h4>
426
+ <pre>public&nbsp;String[]&nbsp;get_str(boolean&nbsp;step)</pre>
427
+ <div class="block">Get a pair of the key and the value of the current record.
428
+ Equal to the original Cursor.get method except that the return value is String.</div>
429
+ <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../kyotocabinet/Cursor.html#get(boolean)"><code>get(boolean)</code></a></dd></dl>
430
+ </li>
431
+ </ul>
432
+ <a name="get_value_str(boolean)">
433
+ <!-- -->
434
+ </a>
435
+ <ul class="blockList">
436
+ <li class="blockList">
437
+ <h4>get_value_str</h4>
438
+ <pre>public&nbsp;String&nbsp;get_value_str(boolean&nbsp;step)</pre>
439
+ <div class="block">Get the value of the current record.
440
+ Equal to the original Cursor.get_value method except that the return value is String.</div>
441
+ <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../kyotocabinet/Cursor.html#get_value(boolean)"><code>get_value(boolean)</code></a></dd></dl>
442
+ </li>
443
+ </ul>
444
+ <a name="get_value(boolean)">
445
+ <!-- -->
446
+ </a>
447
+ <ul class="blockList">
448
+ <li class="blockList">
449
+ <h4>get_value</h4>
450
+ <pre>public&nbsp;byte[]&nbsp;get_value(boolean&nbsp;step)</pre>
451
+ <div class="block">Get the value of the current record.</div>
452
+ <dl><dt><span class="strong">Parameters:</span></dt><dd><code>step</code> - true to move the cursor to the next record, or false for no move.</dd>
453
+ <dt><span class="strong">Returns:</span></dt><dd>the value of the current record, or null on failure.</dd><dt><span class="strong">Note:</span></dt>
454
+ <dd>If the cursor is invalidated, null is returned.</dd></dl>
455
+ </li>
456
+ </ul>
457
+ <a name="get(boolean)">
458
+ <!-- -->
459
+ </a>
460
+ <ul class="blockList">
461
+ <li class="blockList">
462
+ <h4>get</h4>
463
+ <pre>public&nbsp;byte[][]&nbsp;get(boolean&nbsp;step)</pre>
464
+ <div class="block">Get a pair of the key and the value of the current record.</div>
465
+ <dl><dt><span class="strong">Parameters:</span></dt><dd><code>step</code> - true to move the cursor to the next record, or false for no move.</dd>
466
+ <dt><span class="strong">Returns:</span></dt><dd>a pair of the key and the value of the current record, or null on failure.</dd><dt><span class="strong">Note:</span></dt>
467
+ <dd>If the cursor is invalidated, null is returned.</dd></dl>
468
+ </li>
469
+ </ul>
470
+ <a name="jump_back()">
471
+ <!-- -->
472
+ </a>
473
+ <ul class="blockList">
474
+ <li class="blockList">
475
+ <h4>jump_back</h4>
476
+ <pre>public&nbsp;boolean&nbsp;jump_back()</pre>
477
+ <div class="block">Jump the cursor to the last record for backward scan.</div>
478
+ <dl><dt><span class="strong">Returns:</span></dt><dd>true on success, or false on failure.</dd><dt><span class="strong">Note:</span></dt>
479
+ <dd>This method is dedicated to tree databases. Some database types, especially hash
480
+ databases, may provide a dummy implementation.</dd></dl>
481
+ </li>
482
+ </ul>
483
+ <a name="jump_back(byte[])">
484
+ <!-- -->
485
+ </a>
486
+ <ul class="blockList">
487
+ <li class="blockList">
488
+ <h4>jump_back</h4>
489
+ <pre>public&nbsp;boolean&nbsp;jump_back(byte[]&nbsp;key)</pre>
490
+ <div class="block">Jump the cursor to a record for backward scan.</div>
491
+ <dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - the key of the destination record.</dd>
492
+ <dt><span class="strong">Returns:</span></dt><dd>true on success, or false on failure.</dd><dt><span class="strong">Note:</span></dt>
493
+ <dd>This method is dedicated to tree databases. Some database types, especially hash
494
+ databases, may provide a dummy implementation.</dd></dl>
495
+ </li>
496
+ </ul>
497
+ <a name="jump_back(java.lang.String)">
498
+ <!-- -->
499
+ </a>
500
+ <ul class="blockList">
501
+ <li class="blockList">
502
+ <h4>jump_back</h4>
503
+ <pre>public&nbsp;boolean&nbsp;jump_back(String&nbsp;key)</pre>
504
+ <div class="block">Jump the cursor to a record for backward scan.
505
+ Equal to the original Cursor.jump_back method except that the parameter is String.</div>
506
+ <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../kyotocabinet/Cursor.html#jump_back(byte[])"><code>jump_back(byte[])</code></a></dd></dl>
507
+ </li>
508
+ </ul>
509
+ <a name="jump()">
510
+ <!-- -->
511
+ </a>
512
+ <ul class="blockList">
513
+ <li class="blockList">
514
+ <h4>jump</h4>
515
+ <pre>public&nbsp;boolean&nbsp;jump()</pre>
516
+ <div class="block">Jump the cursor to the first record for forward scan.</div>
517
+ <dl><dt><span class="strong">Returns:</span></dt><dd>true on success, or false on failure.</dd></dl>
518
+ </li>
519
+ </ul>
520
+ <a name="jump(byte[])">
521
+ <!-- -->
522
+ </a>
523
+ <ul class="blockList">
524
+ <li class="blockList">
525
+ <h4>jump</h4>
526
+ <pre>public&nbsp;boolean&nbsp;jump(byte[]&nbsp;key)</pre>
527
+ <div class="block">Jump the cursor to a record for forward scan.</div>
528
+ <dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - the key of the destination record.</dd>
529
+ <dt><span class="strong">Returns:</span></dt><dd>true on success, or false on failure.</dd></dl>
530
+ </li>
531
+ </ul>
532
+ <a name="jump(java.lang.String)">
533
+ <!-- -->
534
+ </a>
535
+ <ul class="blockList">
536
+ <li class="blockList">
537
+ <h4>jump</h4>
538
+ <pre>public&nbsp;boolean&nbsp;jump(String&nbsp;key)</pre>
539
+ <div class="block">Jump the cursor to a record for forward scan.
540
+ Equal to the original Cursor.jump method except that the parameter is String.</div>
541
+ <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../kyotocabinet/Cursor.html#jump(byte[])"><code>jump(byte[])</code></a></dd></dl>
542
+ </li>
543
+ </ul>
544
+ <a name="remove()">
545
+ <!-- -->
546
+ </a>
547
+ <ul class="blockList">
548
+ <li class="blockList">
549
+ <h4>remove</h4>
550
+ <pre>public&nbsp;boolean&nbsp;remove()</pre>
551
+ <div class="block">Remove the current record.</div>
552
+ <dl><dt><span class="strong">Returns:</span></dt><dd>true on success, or false on failure.</dd><dt><span class="strong">Note:</span></dt>
553
+ <dd>If no record corresponds to the key, false is returned. The cursor is moved to the
554
+ next record implicitly.</dd></dl>
555
+ </li>
556
+ </ul>
557
+ <a name="seize_str()">
558
+ <!-- -->
559
+ </a>
560
+ <ul class="blockList">
561
+ <li class="blockList">
562
+ <h4>seize_str</h4>
563
+ <pre>public&nbsp;String[]&nbsp;seize_str()</pre>
564
+ <div class="block">Get a pair of the key and the value of the current record and remove it atomically.
565
+ Equal to the original Cursor.get method except that the return value is String.</div>
566
+ <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../kyotocabinet/Cursor.html#get(boolean)"><code>get(boolean)</code></a></dd></dl>
567
+ </li>
568
+ </ul>
569
+ <a name="seize()">
570
+ <!-- -->
571
+ </a>
572
+ <ul class="blockList">
573
+ <li class="blockList">
574
+ <h4>seize</h4>
575
+ <pre>public&nbsp;byte[][]&nbsp;seize()</pre>
576
+ <div class="block">Get a pair of the key and the value of the current record and remove it atomically.</div>
577
+ <dl><dt><span class="strong">Returns:</span></dt><dd>a pair of the key and the value of the current record, or null on failure.</dd><dt><span class="strong">Note:</span></dt>
578
+ <dd>If the cursor is invalidated, null is returned. The cursor is moved to the
579
+ next record implicitly.</dd></dl>
580
+ </li>
581
+ </ul>
582
+ <a name="set_value(byte[], boolean)">
583
+ <!-- -->
584
+ </a>
585
+ <ul class="blockList">
586
+ <li class="blockList">
587
+ <h4>set_value</h4>
588
+ <pre>public&nbsp;boolean&nbsp;set_value(byte[]&nbsp;value,
589
+ boolean&nbsp;step)</pre>
590
+ <div class="block">Set the value of the current record.</div>
591
+ <dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - the value.</dd><dd><code>step</code> - true to move the cursor to the next record, or false for no move.</dd>
592
+ <dt><span class="strong">Returns:</span></dt><dd>true on success, or false on failure.</dd></dl>
593
+ </li>
594
+ </ul>
595
+ <a name="set_value(java.lang.String, boolean)">
596
+ <!-- -->
597
+ </a>
598
+ <ul class="blockList">
599
+ <li class="blockList">
600
+ <h4>set_value</h4>
601
+ <pre>public&nbsp;boolean&nbsp;set_value(String&nbsp;value,
602
+ boolean&nbsp;step)</pre>
603
+ <div class="block">Set the value of the current record.
604
+ Equal to the original Cursor.set_value method except that the parameter is String.</div>
605
+ <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../kyotocabinet/Cursor.html#set_value(byte[], boolean)"><code>set_value(byte[], boolean)</code></a></dd></dl>
606
+ </li>
607
+ </ul>
608
+ <a name="step_back()">
609
+ <!-- -->
610
+ </a>
611
+ <ul class="blockList">
612
+ <li class="blockList">
613
+ <h4>step_back</h4>
614
+ <pre>public&nbsp;boolean&nbsp;step_back()</pre>
615
+ <div class="block">Step the cursor to the previous record.</div>
616
+ <dl><dt><span class="strong">Returns:</span></dt><dd>true on success, or false on failure.</dd><dt><span class="strong">Note:</span></dt>
617
+ <dd>This method is dedicated to tree databases. Some database types, especially hash
618
+ databases, may provide a dummy implementation.</dd></dl>
619
+ </li>
620
+ </ul>
621
+ <a name="step()">
622
+ <!-- -->
623
+ </a>
624
+ <ul class="blockList">
625
+ <li class="blockList">
626
+ <h4>step</h4>
627
+ <pre>public&nbsp;boolean&nbsp;step()</pre>
628
+ <div class="block">Step the cursor to the next record.</div>
629
+ <dl><dt><span class="strong">Returns:</span></dt><dd>true on success, or false on failure.</dd></dl>
630
+ </li>
631
+ </ul>
632
+ <a name="toString()">
633
+ <!-- -->
634
+ </a>
635
+ <ul class="blockListLast">
636
+ <li class="blockList">
637
+ <h4>toString</h4>
638
+ <pre>public&nbsp;String&nbsp;toString()</pre>
639
+ <div class="block">Get the string expression.</div>
640
+ <dl>
641
+ <dt><strong>Overrides:</strong></dt>
642
+ <dd><code>toString</code>&nbsp;in class&nbsp;<code>Object</code></dd>
643
+ <dt><span class="strong">Returns:</span></dt><dd>the string expression.</dd></dl>
644
+ </li>
645
+ </ul>
646
+ </li>
647
+ </ul>
648
+ </li>
649
+ </ul>
650
+ </div>
651
+ </div>
652
+ <!-- ========= END OF CLASS DATA ========= -->
653
+ <!-- ======= START OF BOTTOM NAVBAR ====== -->
654
+ <div class="bottomNav"><a name="navbar_bottom">
655
+ <!-- -->
656
+ </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
657
+ <!-- -->
658
+ </a>
659
+ <ul class="navList" title="Navigation">
660
+ <li><a href="../overview-summary.html">Overview</a></li>
661
+ <li><a href="../kyotocabinet/package-summary.html">Package</a></li>
662
+ <li class="navBarCell1Rev">Class</li>
663
+ <li><a href="package-tree.html">Tree</a></li>
664
+ <li><a href="../index-all.html">Index</a></li>
665
+ </ul>
666
+ </div>
667
+ <div class="subNav">
668
+ <ul class="navList">
669
+ <li>Prev Class</li>
670
+ <li><a href="../kyotocabinet/DB.html" title="class in kyotocabinet"><span class="strong">Next Class</span></a></li>
671
+ </ul>
672
+ <ul class="navList">
673
+ <li><a href="../index.html?kyotocabinet/Cursor.html" target="_top">Frames</a></li>
674
+ <li><a href="Cursor.html" target="_top">No Frames</a></li>
675
+ </ul>
676
+ <ul class="navList" id="allclasses_navbar_bottom">
677
+ <li><a href="../allclasses-noframe.html">All Classes</a></li>
678
+ </ul>
679
+ <div>
680
+ <script type="text/javascript"><!--
681
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
682
+ if(window==top) {
683
+ allClassesLink.style.display = "block";
684
+ }
685
+ else {
686
+ allClassesLink.style.display = "none";
687
+ }
688
+ //-->
689
+ </script>
690
+ </div>
691
+ <div>
692
+ <ul class="subNavList">
693
+ <li>Summary:&nbsp;</li>
694
+ <li>Nested&nbsp;|&nbsp;</li>
695
+ <li>Field&nbsp;|&nbsp;</li>
696
+ <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
697
+ <li><a href="#method_summary">Method</a></li>
698
+ </ul>
699
+ <ul class="subNavList">
700
+ <li>Detail:&nbsp;</li>
701
+ <li>Field&nbsp;|&nbsp;</li>
702
+ <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
703
+ <li><a href="#method_detail">Method</a></li>
704
+ </ul>
705
+ </div>
706
+ <a name="skip-navbar_bottom">
707
+ <!-- -->
708
+ </a></div>
709
+ <!-- ======== END OF BOTTOM NAVBAR ======= -->
710
+ </body>
711
+ </html>