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,210 @@
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>FileProcessor (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="FileProcessor (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><a href="../kyotocabinet/Error.html" title="class in kyotocabinet"><span class="strong">Prev Class</span></a></li>
37
+ <li><a href="../kyotocabinet/MapReduce.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/FileProcessor.html" target="_top">Frames</a></li>
41
+ <li><a href="FileProcessor.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>Constr&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>Constr&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="Interface FileProcessor" class="title">Interface FileProcessor</h2>
81
+ </div>
82
+ <div class="contentContainer">
83
+ <div class="description">
84
+ <ul class="blockList">
85
+ <li class="blockList">
86
+ <hr>
87
+ <br>
88
+ <pre>public interface <span class="strong">FileProcessor</span></pre>
89
+ <div class="block">Interface to process the database file.</div>
90
+ </li>
91
+ </ul>
92
+ </div>
93
+ <div class="summary">
94
+ <ul class="blockList">
95
+ <li class="blockList">
96
+ <!-- ========== METHOD SUMMARY =========== -->
97
+ <ul class="blockList">
98
+ <li class="blockList"><a name="method_summary">
99
+ <!-- -->
100
+ </a>
101
+ <h3>Method Summary</h3>
102
+ <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
103
+ <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
104
+ <tr>
105
+ <th class="colFirst" scope="col">Modifier and Type</th>
106
+ <th class="colLast" scope="col">Method and Description</th>
107
+ </tr>
108
+ <tr class="altColor">
109
+ <td class="colFirst"><code>boolean</code></td>
110
+ <td class="colLast"><code><strong><a href="../kyotocabinet/FileProcessor.html#process(java.lang.String, long, long)">process</a></strong>(String&nbsp;path,
111
+ long&nbsp;count,
112
+ long&nbsp;size)</code>
113
+ <div class="block">Process the database file.</div>
114
+ </td>
115
+ </tr>
116
+ </table>
117
+ </li>
118
+ </ul>
119
+ </li>
120
+ </ul>
121
+ </div>
122
+ <div class="details">
123
+ <ul class="blockList">
124
+ <li class="blockList">
125
+ <!-- ============ METHOD DETAIL ========== -->
126
+ <ul class="blockList">
127
+ <li class="blockList"><a name="method_detail">
128
+ <!-- -->
129
+ </a>
130
+ <h3>Method Detail</h3>
131
+ <a name="process(java.lang.String, long, long)">
132
+ <!-- -->
133
+ </a>
134
+ <ul class="blockListLast">
135
+ <li class="blockList">
136
+ <h4>process</h4>
137
+ <pre>boolean&nbsp;process(String&nbsp;path,
138
+ long&nbsp;count,
139
+ long&nbsp;size)</pre>
140
+ <div class="block">Process the database file.</div>
141
+ <dl><dt><span class="strong">Parameters:</span></dt><dd><code>path</code> - the path of the database file.</dd><dd><code>count</code> - the number of records.</dd><dd><code>size</code> - the size of the available region.</dd>
142
+ <dt><span class="strong">Returns:</span></dt><dd>true on success, or false on failure.</dd></dl>
143
+ </li>
144
+ </ul>
145
+ </li>
146
+ </ul>
147
+ </li>
148
+ </ul>
149
+ </div>
150
+ </div>
151
+ <!-- ========= END OF CLASS DATA ========= -->
152
+ <!-- ======= START OF BOTTOM NAVBAR ====== -->
153
+ <div class="bottomNav"><a name="navbar_bottom">
154
+ <!-- -->
155
+ </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
156
+ <!-- -->
157
+ </a>
158
+ <ul class="navList" title="Navigation">
159
+ <li><a href="../overview-summary.html">Overview</a></li>
160
+ <li><a href="../kyotocabinet/package-summary.html">Package</a></li>
161
+ <li class="navBarCell1Rev">Class</li>
162
+ <li><a href="package-tree.html">Tree</a></li>
163
+ <li><a href="../index-all.html">Index</a></li>
164
+ </ul>
165
+ </div>
166
+ <div class="subNav">
167
+ <ul class="navList">
168
+ <li><a href="../kyotocabinet/Error.html" title="class in kyotocabinet"><span class="strong">Prev Class</span></a></li>
169
+ <li><a href="../kyotocabinet/MapReduce.html" title="class in kyotocabinet"><span class="strong">Next Class</span></a></li>
170
+ </ul>
171
+ <ul class="navList">
172
+ <li><a href="../index.html?kyotocabinet/FileProcessor.html" target="_top">Frames</a></li>
173
+ <li><a href="FileProcessor.html" target="_top">No Frames</a></li>
174
+ </ul>
175
+ <ul class="navList" id="allclasses_navbar_bottom">
176
+ <li><a href="../allclasses-noframe.html">All Classes</a></li>
177
+ </ul>
178
+ <div>
179
+ <script type="text/javascript"><!--
180
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
181
+ if(window==top) {
182
+ allClassesLink.style.display = "block";
183
+ }
184
+ else {
185
+ allClassesLink.style.display = "none";
186
+ }
187
+ //-->
188
+ </script>
189
+ </div>
190
+ <div>
191
+ <ul class="subNavList">
192
+ <li>Summary:&nbsp;</li>
193
+ <li>Nested&nbsp;|&nbsp;</li>
194
+ <li>Field&nbsp;|&nbsp;</li>
195
+ <li>Constr&nbsp;|&nbsp;</li>
196
+ <li><a href="#method_summary">Method</a></li>
197
+ </ul>
198
+ <ul class="subNavList">
199
+ <li>Detail:&nbsp;</li>
200
+ <li>Field&nbsp;|&nbsp;</li>
201
+ <li>Constr&nbsp;|&nbsp;</li>
202
+ <li><a href="#method_detail">Method</a></li>
203
+ </ul>
204
+ </div>
205
+ <a name="skip-navbar_bottom">
206
+ <!-- -->
207
+ </a></div>
208
+ <!-- ======== END OF BOTTOM NAVBAR ======= -->
209
+ </body>
210
+ </html>
@@ -0,0 +1,461 @@
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>MapReduce (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="MapReduce (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><a href="../kyotocabinet/FileProcessor.html" title="interface in kyotocabinet"><span class="strong">Prev Class</span></a></li>
37
+ <li><a href="../kyotocabinet/Test.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/MapReduce.html" target="_top">Frames</a></li>
41
+ <li><a href="MapReduce.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><a href="#field_summary">Field</a>&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><a href="#field_detail">Field</a>&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 MapReduce" class="title">Class MapReduce</h2>
81
+ </div>
82
+ <div class="contentContainer">
83
+ <ul class="inheritance">
84
+ <li>Object</li>
85
+ <li>
86
+ <ul class="inheritance">
87
+ <li>MapReduce</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 abstract class <span class="strong">MapReduce</span>
97
+ extends Object</pre>
98
+ <div class="block">MapReduce framework.</div>
99
+ </li>
100
+ </ul>
101
+ </div>
102
+ <div class="summary">
103
+ <ul class="blockList">
104
+ <li class="blockList">
105
+ <!-- =========== FIELD SUMMARY =========== -->
106
+ <ul class="blockList">
107
+ <li class="blockList"><a name="field_summary">
108
+ <!-- -->
109
+ </a>
110
+ <h3>Field Summary</h3>
111
+ <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
112
+ <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
113
+ <tr>
114
+ <th class="colFirst" scope="col">Modifier and Type</th>
115
+ <th class="colLast" scope="col">Field and Description</th>
116
+ </tr>
117
+ <tr class="altColor">
118
+ <td class="colFirst"><code>static int</code></td>
119
+ <td class="colLast"><code><strong><a href="../kyotocabinet/MapReduce.html#XNOCOMP">XNOCOMP</a></strong></code>
120
+ <div class="block">execution option: avoid compression of temporary databases</div>
121
+ </td>
122
+ </tr>
123
+ <tr class="rowColor">
124
+ <td class="colFirst"><code>static int</code></td>
125
+ <td class="colLast"><code><strong><a href="../kyotocabinet/MapReduce.html#XNOLOCK">XNOLOCK</a></strong></code>
126
+ <div class="block">execution option: avoid locking against update operations</div>
127
+ </td>
128
+ </tr>
129
+ </table>
130
+ </li>
131
+ </ul>
132
+ <!-- ======== CONSTRUCTOR SUMMARY ======== -->
133
+ <ul class="blockList">
134
+ <li class="blockList"><a name="constructor_summary">
135
+ <!-- -->
136
+ </a>
137
+ <h3>Constructor Summary</h3>
138
+ <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
139
+ <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
140
+ <tr>
141
+ <th class="colOne" scope="col">Constructor and Description</th>
142
+ </tr>
143
+ <tr class="altColor">
144
+ <td class="colOne"><code><strong><a href="../kyotocabinet/MapReduce.html#MapReduce()">MapReduce</a></strong>()</code>&nbsp;</td>
145
+ </tr>
146
+ </table>
147
+ </li>
148
+ </ul>
149
+ <!-- ========== METHOD SUMMARY =========== -->
150
+ <ul class="blockList">
151
+ <li class="blockList"><a name="method_summary">
152
+ <!-- -->
153
+ </a>
154
+ <h3>Method Summary</h3>
155
+ <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
156
+ <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
157
+ <tr>
158
+ <th class="colFirst" scope="col">Modifier and Type</th>
159
+ <th class="colLast" scope="col">Method and Description</th>
160
+ </tr>
161
+ <tr class="altColor">
162
+ <td class="colFirst"><code>protected boolean</code></td>
163
+ <td class="colLast"><code><strong><a href="../kyotocabinet/MapReduce.html#emit(byte[], byte[])">emit</a></strong>(byte[]&nbsp;key,
164
+ byte[]&nbsp;value)</code>
165
+ <div class="block">Emit a record from the mapper.</div>
166
+ </td>
167
+ </tr>
168
+ <tr class="rowColor">
169
+ <td class="colFirst"><code>boolean</code></td>
170
+ <td class="colLast"><code><strong><a href="../kyotocabinet/MapReduce.html#execute(kyotocabinet.DB, java.lang.String, int)">execute</a></strong>(<a href="../kyotocabinet/DB.html" title="class in kyotocabinet">DB</a>&nbsp;db,
171
+ String&nbsp;tmppath,
172
+ int&nbsp;opts)</code>
173
+ <div class="block">Execute the MapReduce process about a database.</div>
174
+ </td>
175
+ </tr>
176
+ <tr class="altColor">
177
+ <td class="colFirst"><code>boolean</code></td>
178
+ <td class="colLast"><code><strong><a href="../kyotocabinet/MapReduce.html#log(java.lang.String, java.lang.String)">log</a></strong>(String&nbsp;name,
179
+ String&nbsp;message)</code>
180
+ <div class="block">Process a log message.</div>
181
+ </td>
182
+ </tr>
183
+ <tr class="rowColor">
184
+ <td class="colFirst"><code>abstract boolean</code></td>
185
+ <td class="colLast"><code><strong><a href="../kyotocabinet/MapReduce.html#map(byte[], byte[])">map</a></strong>(byte[]&nbsp;key,
186
+ byte[]&nbsp;value)</code>
187
+ <div class="block">Map a record data.</div>
188
+ </td>
189
+ </tr>
190
+ <tr class="altColor">
191
+ <td class="colFirst"><code>boolean</code></td>
192
+ <td class="colLast"><code><strong><a href="../kyotocabinet/MapReduce.html#midprocess()">midprocess</a></strong>()</code>
193
+ <div class="block">Mediate between the map and the reduce phases.</div>
194
+ </td>
195
+ </tr>
196
+ <tr class="rowColor">
197
+ <td class="colFirst"><code>boolean</code></td>
198
+ <td class="colLast"><code><strong><a href="../kyotocabinet/MapReduce.html#postprocess()">postprocess</a></strong>()</code>
199
+ <div class="block">Postprocess the reduce operations.</div>
200
+ </td>
201
+ </tr>
202
+ <tr class="altColor">
203
+ <td class="colFirst"><code>boolean</code></td>
204
+ <td class="colLast"><code><strong><a href="../kyotocabinet/MapReduce.html#preprocess()">preprocess</a></strong>()</code>
205
+ <div class="block">Preprocess the map operations.</div>
206
+ </td>
207
+ </tr>
208
+ <tr class="rowColor">
209
+ <td class="colFirst"><code>abstract boolean</code></td>
210
+ <td class="colLast"><code><strong><a href="../kyotocabinet/MapReduce.html#reduce(byte[], kyotocabinet.ValueIterator)">reduce</a></strong>(byte[]&nbsp;key,
211
+ <a href="../kyotocabinet/ValueIterator.html" title="class in kyotocabinet">ValueIterator</a>&nbsp;iter)</code>
212
+ <div class="block">Reduce a record data.</div>
213
+ </td>
214
+ </tr>
215
+ </table>
216
+ <ul class="blockList">
217
+ <li class="blockList"><a name="methods_inherited_from_class_Object">
218
+ <!-- -->
219
+ </a>
220
+ <h3>Methods inherited from class&nbsp;Object</h3>
221
+ <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
222
+ </ul>
223
+ </li>
224
+ </ul>
225
+ </li>
226
+ </ul>
227
+ </div>
228
+ <div class="details">
229
+ <ul class="blockList">
230
+ <li class="blockList">
231
+ <!-- ============ FIELD DETAIL =========== -->
232
+ <ul class="blockList">
233
+ <li class="blockList"><a name="field_detail">
234
+ <!-- -->
235
+ </a>
236
+ <h3>Field Detail</h3>
237
+ <a name="XNOCOMP">
238
+ <!-- -->
239
+ </a>
240
+ <ul class="blockList">
241
+ <li class="blockList">
242
+ <h4>XNOCOMP</h4>
243
+ <pre>public static final&nbsp;int XNOCOMP</pre>
244
+ <div class="block">execution option: avoid compression of temporary databases</div>
245
+ <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../constant-values.html#kyotocabinet.MapReduce.XNOCOMP">Constant Field Values</a></dd></dl>
246
+ </li>
247
+ </ul>
248
+ <a name="XNOLOCK">
249
+ <!-- -->
250
+ </a>
251
+ <ul class="blockListLast">
252
+ <li class="blockList">
253
+ <h4>XNOLOCK</h4>
254
+ <pre>public static final&nbsp;int XNOLOCK</pre>
255
+ <div class="block">execution option: avoid locking against update operations</div>
256
+ <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../constant-values.html#kyotocabinet.MapReduce.XNOLOCK">Constant Field Values</a></dd></dl>
257
+ </li>
258
+ </ul>
259
+ </li>
260
+ </ul>
261
+ <!-- ========= CONSTRUCTOR DETAIL ======== -->
262
+ <ul class="blockList">
263
+ <li class="blockList"><a name="constructor_detail">
264
+ <!-- -->
265
+ </a>
266
+ <h3>Constructor Detail</h3>
267
+ <a name="MapReduce()">
268
+ <!-- -->
269
+ </a>
270
+ <ul class="blockListLast">
271
+ <li class="blockList">
272
+ <h4>MapReduce</h4>
273
+ <pre>public&nbsp;MapReduce()</pre>
274
+ </li>
275
+ </ul>
276
+ </li>
277
+ </ul>
278
+ <!-- ============ METHOD DETAIL ========== -->
279
+ <ul class="blockList">
280
+ <li class="blockList"><a name="method_detail">
281
+ <!-- -->
282
+ </a>
283
+ <h3>Method Detail</h3>
284
+ <a name="emit(byte[], byte[])">
285
+ <!-- -->
286
+ </a>
287
+ <ul class="blockList">
288
+ <li class="blockList">
289
+ <h4>emit</h4>
290
+ <pre>protected&nbsp;boolean&nbsp;emit(byte[]&nbsp;key,
291
+ byte[]&nbsp;value)</pre>
292
+ <div class="block">Emit a record from the mapper.</div>
293
+ <dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - specifies the key.</dd><dd><code>value</code> - specifies the value.</dd>
294
+ <dt><span class="strong">Returns:</span></dt><dd>true on success, or false on failure.</dd></dl>
295
+ </li>
296
+ </ul>
297
+ <a name="execute(kyotocabinet.DB, java.lang.String, int)">
298
+ <!-- -->
299
+ </a>
300
+ <ul class="blockList">
301
+ <li class="blockList">
302
+ <h4>execute</h4>
303
+ <pre>public&nbsp;boolean&nbsp;execute(<a href="../kyotocabinet/DB.html" title="class in kyotocabinet">DB</a>&nbsp;db,
304
+ String&nbsp;tmppath,
305
+ int&nbsp;opts)</pre>
306
+ <div class="block">Execute the MapReduce process about a database.</div>
307
+ <dl><dt><span class="strong">Parameters:</span></dt><dd><code>db</code> - the source database.</dd><dd><code>tmppath</code> - the path of a directory for the temporary data storage. If it is an empty
308
+ string, temporary data are handled on memory.</dd><dd><code>opts</code> - the optional features by bitwise-or: MapReduce::XNOLOCK to avoid locking
309
+ against update operations by other threads, MapReduce::XNOCOMP to avoid compression of
310
+ temporary databases.</dd>
311
+ <dt><span class="strong">Returns:</span></dt><dd>true on success, or false on failure.</dd></dl>
312
+ </li>
313
+ </ul>
314
+ <a name="log(java.lang.String, java.lang.String)">
315
+ <!-- -->
316
+ </a>
317
+ <ul class="blockList">
318
+ <li class="blockList">
319
+ <h4>log</h4>
320
+ <pre>public&nbsp;boolean&nbsp;log(String&nbsp;name,
321
+ String&nbsp;message)</pre>
322
+ <div class="block">Process a log message.</div>
323
+ <dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the event.</dd><dd><code>message</code> - a supplement message.</dd>
324
+ <dt><span class="strong">Returns:</span></dt><dd>true on success, or false on failure.</dd></dl>
325
+ </li>
326
+ </ul>
327
+ <a name="map(byte[], byte[])">
328
+ <!-- -->
329
+ </a>
330
+ <ul class="blockList">
331
+ <li class="blockList">
332
+ <h4>map</h4>
333
+ <pre>public abstract&nbsp;boolean&nbsp;map(byte[]&nbsp;key,
334
+ byte[]&nbsp;value)</pre>
335
+ <div class="block">Map a record data.</div>
336
+ <dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - specifies the key.</dd><dd><code>value</code> - specifies the value.</dd>
337
+ <dt><span class="strong">Returns:</span></dt><dd>true on success, or false on failure.</dd><dt><span class="strong">Note:</span></dt>
338
+ <dd>This method can call the MapReduce::emit method to emit a record. To avoid
339
+ deadlock, any explicit database operation must not be performed in this method.</dd></dl>
340
+ </li>
341
+ </ul>
342
+ <a name="midprocess()">
343
+ <!-- -->
344
+ </a>
345
+ <ul class="blockList">
346
+ <li class="blockList">
347
+ <h4>midprocess</h4>
348
+ <pre>public&nbsp;boolean&nbsp;midprocess()</pre>
349
+ <div class="block">Mediate between the map and the reduce phases.</div>
350
+ <dl><dt><span class="strong">Returns:</span></dt><dd>true on success, or false on failure.</dd><dt><span class="strong">Note:</span></dt>
351
+ <dd>This method can call the MapReduce::emit method to emit a record. To avoid
352
+ deadlock, any explicit database operation must not be performed in this method.</dd></dl>
353
+ </li>
354
+ </ul>
355
+ <a name="postprocess()">
356
+ <!-- -->
357
+ </a>
358
+ <ul class="blockList">
359
+ <li class="blockList">
360
+ <h4>postprocess</h4>
361
+ <pre>public&nbsp;boolean&nbsp;postprocess()</pre>
362
+ <div class="block">Postprocess the reduce operations.</div>
363
+ <dl><dt><span class="strong">Returns:</span></dt><dd>true on success, or false on failure.</dd><dt><span class="strong">Note:</span></dt>
364
+ <dd>To avoid deadlock, any explicit database operation must not be performed in this
365
+ method.</dd></dl>
366
+ </li>
367
+ </ul>
368
+ <a name="preprocess()">
369
+ <!-- -->
370
+ </a>
371
+ <ul class="blockList">
372
+ <li class="blockList">
373
+ <h4>preprocess</h4>
374
+ <pre>public&nbsp;boolean&nbsp;preprocess()</pre>
375
+ <div class="block">Preprocess the map operations.</div>
376
+ <dl><dt><span class="strong">Returns:</span></dt><dd>true on success, or false on failure.</dd><dt><span class="strong">Note:</span></dt>
377
+ <dd>This method can call the MapReduce::emit method to emit a record. To avoid
378
+ deadlock, any explicit database operation must not be performed in this method.</dd></dl>
379
+ </li>
380
+ </ul>
381
+ <a name="reduce(byte[], kyotocabinet.ValueIterator)">
382
+ <!-- -->
383
+ </a>
384
+ <ul class="blockListLast">
385
+ <li class="blockList">
386
+ <h4>reduce</h4>
387
+ <pre>public abstract&nbsp;boolean&nbsp;reduce(byte[]&nbsp;key,
388
+ <a href="../kyotocabinet/ValueIterator.html" title="class in kyotocabinet">ValueIterator</a>&nbsp;iter)</pre>
389
+ <div class="block">Reduce a record data.</div>
390
+ <dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - specifies the key.</dd><dd><code>iter</code> - the iterator to get the values.</dd>
391
+ <dt><span class="strong">Returns:</span></dt><dd>true on success, or false on failure.</dd><dt><span class="strong">Note:</span></dt>
392
+ <dd>To avoid deadlock, any explicit database operation must not be performed in this
393
+ method.</dd></dl>
394
+ </li>
395
+ </ul>
396
+ </li>
397
+ </ul>
398
+ </li>
399
+ </ul>
400
+ </div>
401
+ </div>
402
+ <!-- ========= END OF CLASS DATA ========= -->
403
+ <!-- ======= START OF BOTTOM NAVBAR ====== -->
404
+ <div class="bottomNav"><a name="navbar_bottom">
405
+ <!-- -->
406
+ </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
407
+ <!-- -->
408
+ </a>
409
+ <ul class="navList" title="Navigation">
410
+ <li><a href="../overview-summary.html">Overview</a></li>
411
+ <li><a href="../kyotocabinet/package-summary.html">Package</a></li>
412
+ <li class="navBarCell1Rev">Class</li>
413
+ <li><a href="package-tree.html">Tree</a></li>
414
+ <li><a href="../index-all.html">Index</a></li>
415
+ </ul>
416
+ </div>
417
+ <div class="subNav">
418
+ <ul class="navList">
419
+ <li><a href="../kyotocabinet/FileProcessor.html" title="interface in kyotocabinet"><span class="strong">Prev Class</span></a></li>
420
+ <li><a href="../kyotocabinet/Test.html" title="class in kyotocabinet"><span class="strong">Next Class</span></a></li>
421
+ </ul>
422
+ <ul class="navList">
423
+ <li><a href="../index.html?kyotocabinet/MapReduce.html" target="_top">Frames</a></li>
424
+ <li><a href="MapReduce.html" target="_top">No Frames</a></li>
425
+ </ul>
426
+ <ul class="navList" id="allclasses_navbar_bottom">
427
+ <li><a href="../allclasses-noframe.html">All Classes</a></li>
428
+ </ul>
429
+ <div>
430
+ <script type="text/javascript"><!--
431
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
432
+ if(window==top) {
433
+ allClassesLink.style.display = "block";
434
+ }
435
+ else {
436
+ allClassesLink.style.display = "none";
437
+ }
438
+ //-->
439
+ </script>
440
+ </div>
441
+ <div>
442
+ <ul class="subNavList">
443
+ <li>Summary:&nbsp;</li>
444
+ <li>Nested&nbsp;|&nbsp;</li>
445
+ <li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
446
+ <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
447
+ <li><a href="#method_summary">Method</a></li>
448
+ </ul>
449
+ <ul class="subNavList">
450
+ <li>Detail:&nbsp;</li>
451
+ <li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
452
+ <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
453
+ <li><a href="#method_detail">Method</a></li>
454
+ </ul>
455
+ </div>
456
+ <a name="skip-navbar_bottom">
457
+ <!-- -->
458
+ </a></div>
459
+ <!-- ======== END OF BOTTOM NAVBAR ======= -->
460
+ </body>
461
+ </html>