ganapati 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. data/Gemfile +3 -0
  2. data/Gemfile.lock +20 -0
  3. data/Rakefile +2 -1
  4. data/docs/Ganapati.html +265 -0
  5. data/docs/Ganapati/Client.html +998 -0
  6. data/docs/Ganapati/FileUrl.html +469 -0
  7. data/docs/Ganapati/HFile.html +470 -0
  8. data/docs/README_rdoc.html +281 -0
  9. data/docs/ThriftHadoopFileSystem.html +336 -0
  10. data/docs/ThriftHadoopFileSystem/Append_args.html +352 -0
  11. data/docs/ThriftHadoopFileSystem/Append_result.html +357 -0
  12. data/docs/ThriftHadoopFileSystem/BlockLocation.html +367 -0
  13. data/docs/ThriftHadoopFileSystem/Chmod_args.html +357 -0
  14. data/docs/ThriftHadoopFileSystem/Chmod_result.html +352 -0
  15. data/docs/ThriftHadoopFileSystem/Chown_args.html +362 -0
  16. data/docs/ThriftHadoopFileSystem/Chown_result.html +352 -0
  17. data/docs/ThriftHadoopFileSystem/Client.html +2327 -0
  18. data/docs/ThriftHadoopFileSystem/Close_args.html +352 -0
  19. data/docs/ThriftHadoopFileSystem/Close_result.html +357 -0
  20. data/docs/ThriftHadoopFileSystem/CreateFile_args.html +377 -0
  21. data/docs/ThriftHadoopFileSystem/CreateFile_result.html +357 -0
  22. data/docs/ThriftHadoopFileSystem/Create_args.html +352 -0
  23. data/docs/ThriftHadoopFileSystem/Create_result.html +357 -0
  24. data/docs/ThriftHadoopFileSystem/Exists_args.html +352 -0
  25. data/docs/ThriftHadoopFileSystem/Exists_result.html +357 -0
  26. data/docs/ThriftHadoopFileSystem/FileStatus.html +392 -0
  27. data/docs/ThriftHadoopFileSystem/GetFileBlockLocations_args.html +362 -0
  28. data/docs/ThriftHadoopFileSystem/GetFileBlockLocations_result.html +357 -0
  29. data/docs/ThriftHadoopFileSystem/ListStatus_args.html +352 -0
  30. data/docs/ThriftHadoopFileSystem/ListStatus_result.html +357 -0
  31. data/docs/ThriftHadoopFileSystem/MalformedInputException.html +394 -0
  32. data/docs/ThriftHadoopFileSystem/Mkdirs_args.html +352 -0
  33. data/docs/ThriftHadoopFileSystem/Mkdirs_result.html +357 -0
  34. data/docs/ThriftHadoopFileSystem/Open_args.html +352 -0
  35. data/docs/ThriftHadoopFileSystem/Open_result.html +357 -0
  36. data/docs/ThriftHadoopFileSystem/Pathname.html +352 -0
  37. data/docs/ThriftHadoopFileSystem/Processor.html +1053 -0
  38. data/docs/ThriftHadoopFileSystem/Read_args.html +362 -0
  39. data/docs/ThriftHadoopFileSystem/Read_result.html +357 -0
  40. data/docs/ThriftHadoopFileSystem/Rename_args.html +357 -0
  41. data/docs/ThriftHadoopFileSystem/Rename_result.html +357 -0
  42. data/docs/ThriftHadoopFileSystem/Rm_args.html +357 -0
  43. data/docs/ThriftHadoopFileSystem/Rm_result.html +357 -0
  44. data/docs/ThriftHadoopFileSystem/SetInactivityTimeoutPeriod_args.html +354 -0
  45. data/docs/ThriftHadoopFileSystem/SetInactivityTimeoutPeriod_result.html +347 -0
  46. data/docs/ThriftHadoopFileSystem/SetReplication_args.html +357 -0
  47. data/docs/ThriftHadoopFileSystem/SetReplication_result.html +352 -0
  48. data/docs/ThriftHadoopFileSystem/Shutdown_args.html +352 -0
  49. data/docs/ThriftHadoopFileSystem/Shutdown_result.html +347 -0
  50. data/docs/ThriftHadoopFileSystem/Stat_args.html +352 -0
  51. data/docs/ThriftHadoopFileSystem/Stat_result.html +357 -0
  52. data/docs/ThriftHadoopFileSystem/ThriftHandle.html +352 -0
  53. data/docs/ThriftHadoopFileSystem/ThriftIOException.html +394 -0
  54. data/docs/ThriftHadoopFileSystem/Write_args.html +357 -0
  55. data/docs/ThriftHadoopFileSystem/Write_result.html +357 -0
  56. data/docs/created.rid +10 -1
  57. data/docs/images/brick.png +0 -0
  58. data/docs/images/brick_link.png +0 -0
  59. data/docs/images/bug.png +0 -0
  60. data/docs/images/bullet_black.png +0 -0
  61. data/docs/images/bullet_toggle_minus.png +0 -0
  62. data/docs/images/bullet_toggle_plus.png +0 -0
  63. data/docs/images/date.png +0 -0
  64. data/docs/images/find.png +0 -0
  65. data/docs/images/loadingAnimation.gif +0 -0
  66. data/docs/images/macFFBgHack.png +0 -0
  67. data/docs/images/package.png +0 -0
  68. data/docs/images/page_green.png +0 -0
  69. data/docs/images/page_white_text.png +0 -0
  70. data/docs/images/page_white_width.png +0 -0
  71. data/docs/images/plugin.png +0 -0
  72. data/docs/images/ruby.png +0 -0
  73. data/docs/images/tag_green.png +0 -0
  74. data/docs/images/wrench.png +0 -0
  75. data/docs/images/wrench_orange.png +0 -0
  76. data/docs/images/zoom.png +0 -0
  77. data/docs/index.html +544 -20
  78. data/docs/js/darkfish.js +116 -0
  79. data/docs/js/jquery.js +32 -0
  80. data/docs/js/quicksearch.js +114 -0
  81. data/docs/js/thickbox-compressed.js +10 -0
  82. data/docs/lib/ganapati/client_rb.html +52 -0
  83. data/docs/lib/ganapati/hfile_rb.html +52 -0
  84. data/docs/lib/ganapati/utils_rb.html +52 -0
  85. data/docs/lib/ganapati/version_rb.html +52 -0
  86. data/docs/lib/ganapati_rb.html +62 -0
  87. data/docs/lib/thrift/hadoopfs_constants_rb.html +58 -0
  88. data/docs/lib/thrift/hadoopfs_types_rb.html +56 -0
  89. data/docs/lib/thrift/thrift_hadoop_file_system_rb.html +60 -0
  90. data/docs/rdoc.css +759 -0
  91. data/lib/ganapati/client.rb +10 -10
  92. data/lib/ganapati/version.rb +1 -1
  93. metadata +112 -9
@@ -0,0 +1,352 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+ <head>
6
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
7
+
8
+ <title>Class: ThriftHadoopFileSystem::Pathname</title>
9
+
10
+ <link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
11
+
12
+ <script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
13
+ <script src="../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
14
+ <script src="../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
15
+ <script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
16
+
17
+ </head>
18
+ <body id="top" class="class">
19
+
20
+ <div id="metadata">
21
+ <div id="home-metadata">
22
+ <div id="home-section" class="section">
23
+ <h3 class="section-header">
24
+ <a href="../index.html">Home</a>
25
+ <a href="../index.html#classes">Classes</a>
26
+ <a href="../index.html#methods">Methods</a>
27
+ </h3>
28
+ </div>
29
+ </div>
30
+
31
+ <div id="file-metadata">
32
+ <div id="file-list-section" class="section">
33
+ <h3 class="section-header">In Files</h3>
34
+ <div class="section-body">
35
+ <ul>
36
+
37
+ <li><a href="../lib/thrift/hadoopfs_types_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
38
+ class="thickbox" title="lib/thrift/hadoopfs_types.rb">lib/thrift/hadoopfs_types.rb</a></li>
39
+
40
+ </ul>
41
+ </div>
42
+ </div>
43
+
44
+
45
+ </div>
46
+
47
+ <div id="class-metadata">
48
+
49
+ <!-- Parent Class -->
50
+ <div id="parent-class-section" class="section">
51
+ <h3 class="section-header">Parent</h3>
52
+
53
+ <p class="link">Object</p>
54
+
55
+ </div>
56
+
57
+
58
+
59
+
60
+
61
+
62
+
63
+ <!-- Method Quickref -->
64
+ <div id="method-list-section" class="section">
65
+ <h3 class="section-header">Methods</h3>
66
+ <ul class="link-list">
67
+
68
+ <li><a href="#method-i-struct_fields">#struct_fields</a></li>
69
+
70
+ <li><a href="#method-i-validate">#validate</a></li>
71
+
72
+ </ul>
73
+ </div>
74
+
75
+
76
+
77
+ <!-- Included Modules -->
78
+ <div id="includes-section" class="section">
79
+ <h3 class="section-header">Included Modules</h3>
80
+ <ul class="link-list">
81
+
82
+
83
+ <li><span class="include">::Thrift::Struct</span></li>
84
+
85
+
86
+
87
+ <li><span class="include">::Thrift::Struct_Union</span></li>
88
+
89
+
90
+ </ul>
91
+ </div>
92
+
93
+ </div>
94
+
95
+ <div id="project-metadata">
96
+
97
+
98
+ <div id="fileindex-section" class="section project-section">
99
+ <h3 class="section-header">Files</h3>
100
+ <ul>
101
+
102
+ <li class="file"><a href="../README_rdoc.html">README.rdoc</a></li>
103
+
104
+ </ul>
105
+ </div>
106
+
107
+
108
+ <div id="classindex-section" class="section project-section">
109
+ <h3 class="section-header">Class/Module Index
110
+ <span class="search-toggle"><img src="../images/find.png"
111
+ height="16" width="16" alt="[+]"
112
+ title="show/hide quicksearch" /></span></h3>
113
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
114
+ <fieldset>
115
+ <legend>Quicksearch</legend>
116
+ <input type="text" name="quicksearch" value=""
117
+ class="quicksearch-field" />
118
+ </fieldset>
119
+ </form>
120
+
121
+ <ul class="link-list">
122
+
123
+ <li><a href="../ThriftHadoopFileSystem.html">ThriftHadoopFileSystem</a></li>
124
+
125
+ <li><a href="../ThriftHadoopFileSystem/Append_args.html">ThriftHadoopFileSystem::Append_args</a></li>
126
+
127
+ <li><a href="../ThriftHadoopFileSystem/Append_result.html">ThriftHadoopFileSystem::Append_result</a></li>
128
+
129
+ <li><a href="../ThriftHadoopFileSystem/BlockLocation.html">ThriftHadoopFileSystem::BlockLocation</a></li>
130
+
131
+ <li><a href="../ThriftHadoopFileSystem/Chmod_args.html">ThriftHadoopFileSystem::Chmod_args</a></li>
132
+
133
+ <li><a href="../ThriftHadoopFileSystem/Chmod_result.html">ThriftHadoopFileSystem::Chmod_result</a></li>
134
+
135
+ <li><a href="../ThriftHadoopFileSystem/Chown_args.html">ThriftHadoopFileSystem::Chown_args</a></li>
136
+
137
+ <li><a href="../ThriftHadoopFileSystem/Chown_result.html">ThriftHadoopFileSystem::Chown_result</a></li>
138
+
139
+ <li><a href="../ThriftHadoopFileSystem/Client.html">ThriftHadoopFileSystem::Client</a></li>
140
+
141
+ <li><a href="../ThriftHadoopFileSystem/Close_args.html">ThriftHadoopFileSystem::Close_args</a></li>
142
+
143
+ <li><a href="../ThriftHadoopFileSystem/Close_result.html">ThriftHadoopFileSystem::Close_result</a></li>
144
+
145
+ <li><a href="../ThriftHadoopFileSystem/CreateFile_args.html">ThriftHadoopFileSystem::CreateFile_args</a></li>
146
+
147
+ <li><a href="../ThriftHadoopFileSystem/CreateFile_result.html">ThriftHadoopFileSystem::CreateFile_result</a></li>
148
+
149
+ <li><a href="../ThriftHadoopFileSystem/Create_args.html">ThriftHadoopFileSystem::Create_args</a></li>
150
+
151
+ <li><a href="../ThriftHadoopFileSystem/Create_result.html">ThriftHadoopFileSystem::Create_result</a></li>
152
+
153
+ <li><a href="../ThriftHadoopFileSystem/Exists_args.html">ThriftHadoopFileSystem::Exists_args</a></li>
154
+
155
+ <li><a href="../ThriftHadoopFileSystem/Exists_result.html">ThriftHadoopFileSystem::Exists_result</a></li>
156
+
157
+ <li><a href="../ThriftHadoopFileSystem/FileStatus.html">ThriftHadoopFileSystem::FileStatus</a></li>
158
+
159
+ <li><a href="../ThriftHadoopFileSystem/GetFileBlockLocations_args.html">ThriftHadoopFileSystem::GetFileBlockLocations_args</a></li>
160
+
161
+ <li><a href="../ThriftHadoopFileSystem/GetFileBlockLocations_result.html">ThriftHadoopFileSystem::GetFileBlockLocations_result</a></li>
162
+
163
+ <li><a href="../ThriftHadoopFileSystem/ListStatus_args.html">ThriftHadoopFileSystem::ListStatus_args</a></li>
164
+
165
+ <li><a href="../ThriftHadoopFileSystem/ListStatus_result.html">ThriftHadoopFileSystem::ListStatus_result</a></li>
166
+
167
+ <li><a href="../ThriftHadoopFileSystem/MalformedInputException.html">ThriftHadoopFileSystem::MalformedInputException</a></li>
168
+
169
+ <li><a href="../ThriftHadoopFileSystem/Mkdirs_args.html">ThriftHadoopFileSystem::Mkdirs_args</a></li>
170
+
171
+ <li><a href="../ThriftHadoopFileSystem/Mkdirs_result.html">ThriftHadoopFileSystem::Mkdirs_result</a></li>
172
+
173
+ <li><a href="../ThriftHadoopFileSystem/Open_args.html">ThriftHadoopFileSystem::Open_args</a></li>
174
+
175
+ <li><a href="../ThriftHadoopFileSystem/Open_result.html">ThriftHadoopFileSystem::Open_result</a></li>
176
+
177
+ <li><a href="../ThriftHadoopFileSystem/Pathname.html">ThriftHadoopFileSystem::Pathname</a></li>
178
+
179
+ <li><a href="../ThriftHadoopFileSystem/Processor.html">ThriftHadoopFileSystem::Processor</a></li>
180
+
181
+ <li><a href="../ThriftHadoopFileSystem/Read_args.html">ThriftHadoopFileSystem::Read_args</a></li>
182
+
183
+ <li><a href="../ThriftHadoopFileSystem/Read_result.html">ThriftHadoopFileSystem::Read_result</a></li>
184
+
185
+ <li><a href="../ThriftHadoopFileSystem/Rename_args.html">ThriftHadoopFileSystem::Rename_args</a></li>
186
+
187
+ <li><a href="../ThriftHadoopFileSystem/Rename_result.html">ThriftHadoopFileSystem::Rename_result</a></li>
188
+
189
+ <li><a href="../ThriftHadoopFileSystem/Rm_args.html">ThriftHadoopFileSystem::Rm_args</a></li>
190
+
191
+ <li><a href="../ThriftHadoopFileSystem/Rm_result.html">ThriftHadoopFileSystem::Rm_result</a></li>
192
+
193
+ <li><a href="../ThriftHadoopFileSystem/SetInactivityTimeoutPeriod_args.html">ThriftHadoopFileSystem::SetInactivityTimeoutPeriod_args</a></li>
194
+
195
+ <li><a href="../ThriftHadoopFileSystem/SetInactivityTimeoutPeriod_result.html">ThriftHadoopFileSystem::SetInactivityTimeoutPeriod_result</a></li>
196
+
197
+ <li><a href="../ThriftHadoopFileSystem/SetReplication_args.html">ThriftHadoopFileSystem::SetReplication_args</a></li>
198
+
199
+ <li><a href="../ThriftHadoopFileSystem/SetReplication_result.html">ThriftHadoopFileSystem::SetReplication_result</a></li>
200
+
201
+ <li><a href="../ThriftHadoopFileSystem/Shutdown_args.html">ThriftHadoopFileSystem::Shutdown_args</a></li>
202
+
203
+ <li><a href="../ThriftHadoopFileSystem/Shutdown_result.html">ThriftHadoopFileSystem::Shutdown_result</a></li>
204
+
205
+ <li><a href="../ThriftHadoopFileSystem/Stat_args.html">ThriftHadoopFileSystem::Stat_args</a></li>
206
+
207
+ <li><a href="../ThriftHadoopFileSystem/Stat_result.html">ThriftHadoopFileSystem::Stat_result</a></li>
208
+
209
+ <li><a href="../ThriftHadoopFileSystem/ThriftHandle.html">ThriftHadoopFileSystem::ThriftHandle</a></li>
210
+
211
+ <li><a href="../ThriftHadoopFileSystem/ThriftIOException.html">ThriftHadoopFileSystem::ThriftIOException</a></li>
212
+
213
+ <li><a href="../ThriftHadoopFileSystem/Write_args.html">ThriftHadoopFileSystem::Write_args</a></li>
214
+
215
+ <li><a href="../ThriftHadoopFileSystem/Write_result.html">ThriftHadoopFileSystem::Write_result</a></li>
216
+
217
+ <li><a href="../Ganapati.html">Ganapati</a></li>
218
+
219
+ <li><a href="../Ganapati/Client.html">Ganapati::Client</a></li>
220
+
221
+ <li><a href="../Ganapati/FileUrl.html">Ganapati::FileUrl</a></li>
222
+
223
+ <li><a href="../Ganapati/HFile.html">Ganapati::HFile</a></li>
224
+
225
+ </ul>
226
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
227
+ </div>
228
+
229
+
230
+ </div>
231
+ </div>
232
+
233
+ <div id="documentation">
234
+ <h1 class="class">ThriftHadoopFileSystem::Pathname</h1>
235
+
236
+ <div id="description" class="description">
237
+
238
+ </div><!-- description -->
239
+
240
+
241
+ <div id="5Buntitled-5D" class="documentation-section">
242
+
243
+
244
+
245
+
246
+
247
+ <!-- Constants -->
248
+ <div id="constants-list" class="section">
249
+ <h3 class="section-header">Constants</h3>
250
+ <dl>
251
+
252
+ <dt><a name="FIELDS">FIELDS</a></dt>
253
+
254
+ <dd class="description"></dd>
255
+
256
+
257
+ <dt><a name="PATHNAME">PATHNAME</a></dt>
258
+
259
+ <dd class="description"></dd>
260
+
261
+
262
+ </dl>
263
+ </div>
264
+
265
+
266
+
267
+
268
+ <!-- Methods -->
269
+
270
+ <div id="public-instance-method-details" class="method-section section">
271
+ <h3 class="section-header">Public Instance Methods</h3>
272
+
273
+
274
+ <div id="struct_fields-method" class="method-detail ">
275
+ <a name="method-i-struct_fields"></a>
276
+
277
+
278
+ <div class="method-heading">
279
+ <span class="method-name">struct_fields</span><span
280
+ class="method-args">()</span>
281
+ <span class="method-click-advice">click to toggle source</span>
282
+ </div>
283
+
284
+
285
+ <div class="method-description">
286
+
287
+
288
+
289
+
290
+
291
+ <div class="method-source-code" id="struct_fields-source">
292
+ <pre>
293
+ <span class="ruby-comment"># File lib/thrift/hadoopfs_types.rb, line 33</span>
294
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">struct_fields</span>; <span class="ruby-constant">FIELDS</span>; <span class="ruby-keyword">end</span></pre>
295
+ </div><!-- struct_fields-source -->
296
+
297
+ </div>
298
+
299
+
300
+
301
+
302
+ </div><!-- struct_fields-method -->
303
+
304
+
305
+ <div id="validate-method" class="method-detail ">
306
+ <a name="method-i-validate"></a>
307
+
308
+
309
+ <div class="method-heading">
310
+ <span class="method-name">validate</span><span
311
+ class="method-args">()</span>
312
+ <span class="method-click-advice">click to toggle source</span>
313
+ </div>
314
+
315
+
316
+ <div class="method-description">
317
+
318
+
319
+
320
+
321
+
322
+ <div class="method-source-code" id="validate-source">
323
+ <pre>
324
+ <span class="ruby-comment"># File lib/thrift/hadoopfs_types.rb, line 35</span>
325
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">validate</span>
326
+ <span class="ruby-keyword">end</span></pre>
327
+ </div><!-- validate-source -->
328
+
329
+ </div>
330
+
331
+
332
+
333
+
334
+ </div><!-- validate-method -->
335
+
336
+
337
+ </div><!-- public-instance-method-details -->
338
+
339
+ </div><!-- 5Buntitled-5D -->
340
+
341
+
342
+ </div><!-- documentation -->
343
+
344
+ <div id="validator-badges">
345
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
346
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
347
+ Rdoc Generator</a> 2</small>.</p>
348
+ </div>
349
+
350
+ </body>
351
+ </html>
352
+
@@ -0,0 +1,1053 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
+ <head>
6
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
7
+
8
+ <title>Class: ThriftHadoopFileSystem::Processor</title>
9
+
10
+ <link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
11
+
12
+ <script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
13
+ <script src="../js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
14
+ <script src="../js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
15
+ <script src="../js/darkfish.js" type="text/javascript" charset="utf-8"></script>
16
+
17
+ </head>
18
+ <body id="top" class="class">
19
+
20
+ <div id="metadata">
21
+ <div id="home-metadata">
22
+ <div id="home-section" class="section">
23
+ <h3 class="section-header">
24
+ <a href="../index.html">Home</a>
25
+ <a href="../index.html#classes">Classes</a>
26
+ <a href="../index.html#methods">Methods</a>
27
+ </h3>
28
+ </div>
29
+ </div>
30
+
31
+ <div id="file-metadata">
32
+ <div id="file-list-section" class="section">
33
+ <h3 class="section-header">In Files</h3>
34
+ <div class="section-body">
35
+ <ul>
36
+
37
+ <li><a href="../lib/thrift/thrift_hadoop_file_system_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
38
+ class="thickbox" title="lib/thrift/thrift_hadoop_file_system.rb">lib/thrift/thrift_hadoop_file_system.rb</a></li>
39
+
40
+ </ul>
41
+ </div>
42
+ </div>
43
+
44
+
45
+ </div>
46
+
47
+ <div id="class-metadata">
48
+
49
+ <!-- Parent Class -->
50
+ <div id="parent-class-section" class="section">
51
+ <h3 class="section-header">Parent</h3>
52
+
53
+ <p class="link">Object</p>
54
+
55
+ </div>
56
+
57
+
58
+
59
+
60
+
61
+
62
+
63
+ <!-- Method Quickref -->
64
+ <div id="method-list-section" class="section">
65
+ <h3 class="section-header">Methods</h3>
66
+ <ul class="link-list">
67
+
68
+ <li><a href="#method-i-process_append">#process_append</a></li>
69
+
70
+ <li><a href="#method-i-process_chmod">#process_chmod</a></li>
71
+
72
+ <li><a href="#method-i-process_chown">#process_chown</a></li>
73
+
74
+ <li><a href="#method-i-process_close">#process_close</a></li>
75
+
76
+ <li><a href="#method-i-process_create">#process_create</a></li>
77
+
78
+ <li><a href="#method-i-process_createFile">#process_createFile</a></li>
79
+
80
+ <li><a href="#method-i-process_exists">#process_exists</a></li>
81
+
82
+ <li><a href="#method-i-process_getFileBlockLocations">#process_getFileBlockLocations</a></li>
83
+
84
+ <li><a href="#method-i-process_listStatus">#process_listStatus</a></li>
85
+
86
+ <li><a href="#method-i-process_mkdirs">#process_mkdirs</a></li>
87
+
88
+ <li><a href="#method-i-process_open">#process_open</a></li>
89
+
90
+ <li><a href="#method-i-process_read">#process_read</a></li>
91
+
92
+ <li><a href="#method-i-process_rename">#process_rename</a></li>
93
+
94
+ <li><a href="#method-i-process_rm">#process_rm</a></li>
95
+
96
+ <li><a href="#method-i-process_setInactivityTimeoutPeriod">#process_setInactivityTimeoutPeriod</a></li>
97
+
98
+ <li><a href="#method-i-process_setReplication">#process_setReplication</a></li>
99
+
100
+ <li><a href="#method-i-process_shutdown">#process_shutdown</a></li>
101
+
102
+ <li><a href="#method-i-process_stat">#process_stat</a></li>
103
+
104
+ <li><a href="#method-i-process_write">#process_write</a></li>
105
+
106
+ </ul>
107
+ </div>
108
+
109
+
110
+
111
+ <!-- Included Modules -->
112
+ <div id="includes-section" class="section">
113
+ <h3 class="section-header">Included Modules</h3>
114
+ <ul class="link-list">
115
+
116
+
117
+ <li><span class="include">::Thrift::Processor</span></li>
118
+
119
+
120
+ </ul>
121
+ </div>
122
+
123
+ </div>
124
+
125
+ <div id="project-metadata">
126
+
127
+
128
+ <div id="fileindex-section" class="section project-section">
129
+ <h3 class="section-header">Files</h3>
130
+ <ul>
131
+
132
+ <li class="file"><a href="../README_rdoc.html">README.rdoc</a></li>
133
+
134
+ </ul>
135
+ </div>
136
+
137
+
138
+ <div id="classindex-section" class="section project-section">
139
+ <h3 class="section-header">Class/Module Index
140
+ <span class="search-toggle"><img src="../images/find.png"
141
+ height="16" width="16" alt="[+]"
142
+ title="show/hide quicksearch" /></span></h3>
143
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
144
+ <fieldset>
145
+ <legend>Quicksearch</legend>
146
+ <input type="text" name="quicksearch" value=""
147
+ class="quicksearch-field" />
148
+ </fieldset>
149
+ </form>
150
+
151
+ <ul class="link-list">
152
+
153
+ <li><a href="../ThriftHadoopFileSystem.html">ThriftHadoopFileSystem</a></li>
154
+
155
+ <li><a href="../ThriftHadoopFileSystem/Append_args.html">ThriftHadoopFileSystem::Append_args</a></li>
156
+
157
+ <li><a href="../ThriftHadoopFileSystem/Append_result.html">ThriftHadoopFileSystem::Append_result</a></li>
158
+
159
+ <li><a href="../ThriftHadoopFileSystem/BlockLocation.html">ThriftHadoopFileSystem::BlockLocation</a></li>
160
+
161
+ <li><a href="../ThriftHadoopFileSystem/Chmod_args.html">ThriftHadoopFileSystem::Chmod_args</a></li>
162
+
163
+ <li><a href="../ThriftHadoopFileSystem/Chmod_result.html">ThriftHadoopFileSystem::Chmod_result</a></li>
164
+
165
+ <li><a href="../ThriftHadoopFileSystem/Chown_args.html">ThriftHadoopFileSystem::Chown_args</a></li>
166
+
167
+ <li><a href="../ThriftHadoopFileSystem/Chown_result.html">ThriftHadoopFileSystem::Chown_result</a></li>
168
+
169
+ <li><a href="../ThriftHadoopFileSystem/Client.html">ThriftHadoopFileSystem::Client</a></li>
170
+
171
+ <li><a href="../ThriftHadoopFileSystem/Close_args.html">ThriftHadoopFileSystem::Close_args</a></li>
172
+
173
+ <li><a href="../ThriftHadoopFileSystem/Close_result.html">ThriftHadoopFileSystem::Close_result</a></li>
174
+
175
+ <li><a href="../ThriftHadoopFileSystem/CreateFile_args.html">ThriftHadoopFileSystem::CreateFile_args</a></li>
176
+
177
+ <li><a href="../ThriftHadoopFileSystem/CreateFile_result.html">ThriftHadoopFileSystem::CreateFile_result</a></li>
178
+
179
+ <li><a href="../ThriftHadoopFileSystem/Create_args.html">ThriftHadoopFileSystem::Create_args</a></li>
180
+
181
+ <li><a href="../ThriftHadoopFileSystem/Create_result.html">ThriftHadoopFileSystem::Create_result</a></li>
182
+
183
+ <li><a href="../ThriftHadoopFileSystem/Exists_args.html">ThriftHadoopFileSystem::Exists_args</a></li>
184
+
185
+ <li><a href="../ThriftHadoopFileSystem/Exists_result.html">ThriftHadoopFileSystem::Exists_result</a></li>
186
+
187
+ <li><a href="../ThriftHadoopFileSystem/FileStatus.html">ThriftHadoopFileSystem::FileStatus</a></li>
188
+
189
+ <li><a href="../ThriftHadoopFileSystem/GetFileBlockLocations_args.html">ThriftHadoopFileSystem::GetFileBlockLocations_args</a></li>
190
+
191
+ <li><a href="../ThriftHadoopFileSystem/GetFileBlockLocations_result.html">ThriftHadoopFileSystem::GetFileBlockLocations_result</a></li>
192
+
193
+ <li><a href="../ThriftHadoopFileSystem/ListStatus_args.html">ThriftHadoopFileSystem::ListStatus_args</a></li>
194
+
195
+ <li><a href="../ThriftHadoopFileSystem/ListStatus_result.html">ThriftHadoopFileSystem::ListStatus_result</a></li>
196
+
197
+ <li><a href="../ThriftHadoopFileSystem/MalformedInputException.html">ThriftHadoopFileSystem::MalformedInputException</a></li>
198
+
199
+ <li><a href="../ThriftHadoopFileSystem/Mkdirs_args.html">ThriftHadoopFileSystem::Mkdirs_args</a></li>
200
+
201
+ <li><a href="../ThriftHadoopFileSystem/Mkdirs_result.html">ThriftHadoopFileSystem::Mkdirs_result</a></li>
202
+
203
+ <li><a href="../ThriftHadoopFileSystem/Open_args.html">ThriftHadoopFileSystem::Open_args</a></li>
204
+
205
+ <li><a href="../ThriftHadoopFileSystem/Open_result.html">ThriftHadoopFileSystem::Open_result</a></li>
206
+
207
+ <li><a href="../ThriftHadoopFileSystem/Pathname.html">ThriftHadoopFileSystem::Pathname</a></li>
208
+
209
+ <li><a href="../ThriftHadoopFileSystem/Processor.html">ThriftHadoopFileSystem::Processor</a></li>
210
+
211
+ <li><a href="../ThriftHadoopFileSystem/Read_args.html">ThriftHadoopFileSystem::Read_args</a></li>
212
+
213
+ <li><a href="../ThriftHadoopFileSystem/Read_result.html">ThriftHadoopFileSystem::Read_result</a></li>
214
+
215
+ <li><a href="../ThriftHadoopFileSystem/Rename_args.html">ThriftHadoopFileSystem::Rename_args</a></li>
216
+
217
+ <li><a href="../ThriftHadoopFileSystem/Rename_result.html">ThriftHadoopFileSystem::Rename_result</a></li>
218
+
219
+ <li><a href="../ThriftHadoopFileSystem/Rm_args.html">ThriftHadoopFileSystem::Rm_args</a></li>
220
+
221
+ <li><a href="../ThriftHadoopFileSystem/Rm_result.html">ThriftHadoopFileSystem::Rm_result</a></li>
222
+
223
+ <li><a href="../ThriftHadoopFileSystem/SetInactivityTimeoutPeriod_args.html">ThriftHadoopFileSystem::SetInactivityTimeoutPeriod_args</a></li>
224
+
225
+ <li><a href="../ThriftHadoopFileSystem/SetInactivityTimeoutPeriod_result.html">ThriftHadoopFileSystem::SetInactivityTimeoutPeriod_result</a></li>
226
+
227
+ <li><a href="../ThriftHadoopFileSystem/SetReplication_args.html">ThriftHadoopFileSystem::SetReplication_args</a></li>
228
+
229
+ <li><a href="../ThriftHadoopFileSystem/SetReplication_result.html">ThriftHadoopFileSystem::SetReplication_result</a></li>
230
+
231
+ <li><a href="../ThriftHadoopFileSystem/Shutdown_args.html">ThriftHadoopFileSystem::Shutdown_args</a></li>
232
+
233
+ <li><a href="../ThriftHadoopFileSystem/Shutdown_result.html">ThriftHadoopFileSystem::Shutdown_result</a></li>
234
+
235
+ <li><a href="../ThriftHadoopFileSystem/Stat_args.html">ThriftHadoopFileSystem::Stat_args</a></li>
236
+
237
+ <li><a href="../ThriftHadoopFileSystem/Stat_result.html">ThriftHadoopFileSystem::Stat_result</a></li>
238
+
239
+ <li><a href="../ThriftHadoopFileSystem/ThriftHandle.html">ThriftHadoopFileSystem::ThriftHandle</a></li>
240
+
241
+ <li><a href="../ThriftHadoopFileSystem/ThriftIOException.html">ThriftHadoopFileSystem::ThriftIOException</a></li>
242
+
243
+ <li><a href="../ThriftHadoopFileSystem/Write_args.html">ThriftHadoopFileSystem::Write_args</a></li>
244
+
245
+ <li><a href="../ThriftHadoopFileSystem/Write_result.html">ThriftHadoopFileSystem::Write_result</a></li>
246
+
247
+ <li><a href="../Ganapati.html">Ganapati</a></li>
248
+
249
+ <li><a href="../Ganapati/Client.html">Ganapati::Client</a></li>
250
+
251
+ <li><a href="../Ganapati/FileUrl.html">Ganapati::FileUrl</a></li>
252
+
253
+ <li><a href="../Ganapati/HFile.html">Ganapati::HFile</a></li>
254
+
255
+ </ul>
256
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
257
+ </div>
258
+
259
+
260
+ </div>
261
+ </div>
262
+
263
+ <div id="documentation">
264
+ <h1 class="class">ThriftHadoopFileSystem::Processor</h1>
265
+
266
+ <div id="description" class="description">
267
+
268
+ </div><!-- description -->
269
+
270
+
271
+ <div id="5Buntitled-5D" class="documentation-section">
272
+
273
+
274
+
275
+
276
+
277
+
278
+
279
+
280
+ <!-- Methods -->
281
+
282
+ <div id="public-instance-method-details" class="method-section section">
283
+ <h3 class="section-header">Public Instance Methods</h3>
284
+
285
+
286
+ <div id="process_append-method" class="method-detail ">
287
+ <a name="method-i-process_append"></a>
288
+
289
+
290
+ <div class="method-heading">
291
+ <span class="method-name">process_append</span><span
292
+ class="method-args">(seqid, iprot, oprot)</span>
293
+ <span class="method-click-advice">click to toggle source</span>
294
+ </div>
295
+
296
+
297
+ <div class="method-description">
298
+
299
+
300
+
301
+
302
+
303
+ <div class="method-source-code" id="process_append-source">
304
+ <pre>
305
+ <span class="ruby-comment"># File lib/thrift/thrift_hadoop_file_system.rb, line 363</span>
306
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">process_append</span>(<span class="ruby-identifier">seqid</span>, <span class="ruby-identifier">iprot</span>, <span class="ruby-identifier">oprot</span>)
307
+ <span class="ruby-identifier">args</span> = <span class="ruby-identifier">read_args</span>(<span class="ruby-identifier">iprot</span>, <span class="ruby-constant">Append_args</span>)
308
+ <span class="ruby-identifier">result</span> = <span class="ruby-constant">Append_result</span>.<span class="ruby-identifier">new</span>()
309
+ <span class="ruby-keyword">begin</span>
310
+ <span class="ruby-identifier">result</span>.<span class="ruby-identifier">success</span> = <span class="ruby-ivar">@handler</span>.<span class="ruby-identifier">append</span>(<span class="ruby-identifier">args</span>.<span class="ruby-identifier">path</span>)
311
+ <span class="ruby-keyword">rescue</span> <span class="ruby-constant">ThriftIOException</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">ouch</span>
312
+ <span class="ruby-identifier">result</span>.<span class="ruby-identifier">ouch</span> = <span class="ruby-identifier">ouch</span>
313
+ <span class="ruby-keyword">end</span>
314
+ <span class="ruby-identifier">write_result</span>(<span class="ruby-identifier">result</span>, <span class="ruby-identifier">oprot</span>, <span class="ruby-string">'append'</span>, <span class="ruby-identifier">seqid</span>)
315
+ <span class="ruby-keyword">end</span></pre>
316
+ </div><!-- process_append-source -->
317
+
318
+ </div>
319
+
320
+
321
+
322
+
323
+ </div><!-- process_append-method -->
324
+
325
+
326
+ <div id="process_chmod-method" class="method-detail ">
327
+ <a name="method-i-process_chmod"></a>
328
+
329
+
330
+ <div class="method-heading">
331
+ <span class="method-name">process_chmod</span><span
332
+ class="method-args">(seqid, iprot, oprot)</span>
333
+ <span class="method-click-advice">click to toggle source</span>
334
+ </div>
335
+
336
+
337
+ <div class="method-description">
338
+
339
+
340
+
341
+
342
+
343
+ <div class="method-source-code" id="process_chmod-source">
344
+ <pre>
345
+ <span class="ruby-comment"># File lib/thrift/thrift_hadoop_file_system.rb, line 473</span>
346
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">process_chmod</span>(<span class="ruby-identifier">seqid</span>, <span class="ruby-identifier">iprot</span>, <span class="ruby-identifier">oprot</span>)
347
+ <span class="ruby-identifier">args</span> = <span class="ruby-identifier">read_args</span>(<span class="ruby-identifier">iprot</span>, <span class="ruby-constant">Chmod_args</span>)
348
+ <span class="ruby-identifier">result</span> = <span class="ruby-constant">Chmod_result</span>.<span class="ruby-identifier">new</span>()
349
+ <span class="ruby-keyword">begin</span>
350
+ <span class="ruby-ivar">@handler</span>.<span class="ruby-identifier">chmod</span>(<span class="ruby-identifier">args</span>.<span class="ruby-identifier">path</span>, <span class="ruby-identifier">args</span>.<span class="ruby-identifier">mode</span>)
351
+ <span class="ruby-keyword">rescue</span> <span class="ruby-constant">ThriftIOException</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">ouch</span>
352
+ <span class="ruby-identifier">result</span>.<span class="ruby-identifier">ouch</span> = <span class="ruby-identifier">ouch</span>
353
+ <span class="ruby-keyword">end</span>
354
+ <span class="ruby-identifier">write_result</span>(<span class="ruby-identifier">result</span>, <span class="ruby-identifier">oprot</span>, <span class="ruby-string">'chmod'</span>, <span class="ruby-identifier">seqid</span>)
355
+ <span class="ruby-keyword">end</span></pre>
356
+ </div><!-- process_chmod-source -->
357
+
358
+ </div>
359
+
360
+
361
+
362
+
363
+ </div><!-- process_chmod-method -->
364
+
365
+
366
+ <div id="process_chown-method" class="method-detail ">
367
+ <a name="method-i-process_chown"></a>
368
+
369
+
370
+ <div class="method-heading">
371
+ <span class="method-name">process_chown</span><span
372
+ class="method-args">(seqid, iprot, oprot)</span>
373
+ <span class="method-click-advice">click to toggle source</span>
374
+ </div>
375
+
376
+
377
+ <div class="method-description">
378
+
379
+
380
+
381
+
382
+
383
+ <div class="method-source-code" id="process_chown-source">
384
+ <pre>
385
+ <span class="ruby-comment"># File lib/thrift/thrift_hadoop_file_system.rb, line 484</span>
386
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">process_chown</span>(<span class="ruby-identifier">seqid</span>, <span class="ruby-identifier">iprot</span>, <span class="ruby-identifier">oprot</span>)
387
+ <span class="ruby-identifier">args</span> = <span class="ruby-identifier">read_args</span>(<span class="ruby-identifier">iprot</span>, <span class="ruby-constant">Chown_args</span>)
388
+ <span class="ruby-identifier">result</span> = <span class="ruby-constant">Chown_result</span>.<span class="ruby-identifier">new</span>()
389
+ <span class="ruby-keyword">begin</span>
390
+ <span class="ruby-ivar">@handler</span>.<span class="ruby-identifier">chown</span>(<span class="ruby-identifier">args</span>.<span class="ruby-identifier">path</span>, <span class="ruby-identifier">args</span>.<span class="ruby-identifier">owner</span>, <span class="ruby-identifier">args</span>.<span class="ruby-identifier">group</span>)
391
+ <span class="ruby-keyword">rescue</span> <span class="ruby-constant">ThriftIOException</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">ouch</span>
392
+ <span class="ruby-identifier">result</span>.<span class="ruby-identifier">ouch</span> = <span class="ruby-identifier">ouch</span>
393
+ <span class="ruby-keyword">end</span>
394
+ <span class="ruby-identifier">write_result</span>(<span class="ruby-identifier">result</span>, <span class="ruby-identifier">oprot</span>, <span class="ruby-string">'chown'</span>, <span class="ruby-identifier">seqid</span>)
395
+ <span class="ruby-keyword">end</span></pre>
396
+ </div><!-- process_chown-source -->
397
+
398
+ </div>
399
+
400
+
401
+
402
+
403
+ </div><!-- process_chown-method -->
404
+
405
+
406
+ <div id="process_close-method" class="method-detail ">
407
+ <a name="method-i-process_close"></a>
408
+
409
+
410
+ <div class="method-heading">
411
+ <span class="method-name">process_close</span><span
412
+ class="method-args">(seqid, iprot, oprot)</span>
413
+ <span class="method-click-advice">click to toggle source</span>
414
+ </div>
415
+
416
+
417
+ <div class="method-description">
418
+
419
+
420
+
421
+
422
+
423
+ <div class="method-source-code" id="process_close-source">
424
+ <pre>
425
+ <span class="ruby-comment"># File lib/thrift/thrift_hadoop_file_system.rb, line 396</span>
426
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">process_close</span>(<span class="ruby-identifier">seqid</span>, <span class="ruby-identifier">iprot</span>, <span class="ruby-identifier">oprot</span>)
427
+ <span class="ruby-identifier">args</span> = <span class="ruby-identifier">read_args</span>(<span class="ruby-identifier">iprot</span>, <span class="ruby-constant">Close_args</span>)
428
+ <span class="ruby-identifier">result</span> = <span class="ruby-constant">Close_result</span>.<span class="ruby-identifier">new</span>()
429
+ <span class="ruby-keyword">begin</span>
430
+ <span class="ruby-identifier">result</span>.<span class="ruby-identifier">success</span> = <span class="ruby-ivar">@handler</span>.<span class="ruby-identifier">close</span>(<span class="ruby-identifier">args</span>.<span class="ruby-identifier">out</span>)
431
+ <span class="ruby-keyword">rescue</span> <span class="ruby-constant">ThriftIOException</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">ouch</span>
432
+ <span class="ruby-identifier">result</span>.<span class="ruby-identifier">ouch</span> = <span class="ruby-identifier">ouch</span>
433
+ <span class="ruby-keyword">end</span>
434
+ <span class="ruby-identifier">write_result</span>(<span class="ruby-identifier">result</span>, <span class="ruby-identifier">oprot</span>, <span class="ruby-string">'close'</span>, <span class="ruby-identifier">seqid</span>)
435
+ <span class="ruby-keyword">end</span></pre>
436
+ </div><!-- process_close-source -->
437
+
438
+ </div>
439
+
440
+
441
+
442
+
443
+ </div><!-- process_close-method -->
444
+
445
+
446
+ <div id="process_create-method" class="method-detail ">
447
+ <a name="method-i-process_create"></a>
448
+
449
+
450
+ <div class="method-heading">
451
+ <span class="method-name">process_create</span><span
452
+ class="method-args">(seqid, iprot, oprot)</span>
453
+ <span class="method-click-advice">click to toggle source</span>
454
+ </div>
455
+
456
+
457
+ <div class="method-description">
458
+
459
+
460
+
461
+
462
+
463
+ <div class="method-source-code" id="process_create-source">
464
+ <pre>
465
+ <span class="ruby-comment"># File lib/thrift/thrift_hadoop_file_system.rb, line 330</span>
466
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">process_create</span>(<span class="ruby-identifier">seqid</span>, <span class="ruby-identifier">iprot</span>, <span class="ruby-identifier">oprot</span>)
467
+ <span class="ruby-identifier">args</span> = <span class="ruby-identifier">read_args</span>(<span class="ruby-identifier">iprot</span>, <span class="ruby-constant">Create_args</span>)
468
+ <span class="ruby-identifier">result</span> = <span class="ruby-constant">Create_result</span>.<span class="ruby-identifier">new</span>()
469
+ <span class="ruby-keyword">begin</span>
470
+ <span class="ruby-identifier">result</span>.<span class="ruby-identifier">success</span> = <span class="ruby-ivar">@handler</span>.<span class="ruby-identifier">create</span>(<span class="ruby-identifier">args</span>.<span class="ruby-identifier">path</span>)
471
+ <span class="ruby-keyword">rescue</span> <span class="ruby-constant">ThriftIOException</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">ouch</span>
472
+ <span class="ruby-identifier">result</span>.<span class="ruby-identifier">ouch</span> = <span class="ruby-identifier">ouch</span>
473
+ <span class="ruby-keyword">end</span>
474
+ <span class="ruby-identifier">write_result</span>(<span class="ruby-identifier">result</span>, <span class="ruby-identifier">oprot</span>, <span class="ruby-string">'create'</span>, <span class="ruby-identifier">seqid</span>)
475
+ <span class="ruby-keyword">end</span></pre>
476
+ </div><!-- process_create-source -->
477
+
478
+ </div>
479
+
480
+
481
+
482
+
483
+ </div><!-- process_create-method -->
484
+
485
+
486
+ <div id="process_createFile-method" class="method-detail ">
487
+ <a name="method-i-process_createFile"></a>
488
+
489
+
490
+ <div class="method-heading">
491
+ <span class="method-name">process_createFile</span><span
492
+ class="method-args">(seqid, iprot, oprot)</span>
493
+ <span class="method-click-advice">click to toggle source</span>
494
+ </div>
495
+
496
+
497
+ <div class="method-description">
498
+
499
+
500
+
501
+
502
+
503
+ <div class="method-source-code" id="process_createFile-source">
504
+ <pre>
505
+ <span class="ruby-comment"># File lib/thrift/thrift_hadoop_file_system.rb, line 341</span>
506
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">process_createFile</span>(<span class="ruby-identifier">seqid</span>, <span class="ruby-identifier">iprot</span>, <span class="ruby-identifier">oprot</span>)
507
+ <span class="ruby-identifier">args</span> = <span class="ruby-identifier">read_args</span>(<span class="ruby-identifier">iprot</span>, <span class="ruby-constant">CreateFile_args</span>)
508
+ <span class="ruby-identifier">result</span> = <span class="ruby-constant">CreateFile_result</span>.<span class="ruby-identifier">new</span>()
509
+ <span class="ruby-keyword">begin</span>
510
+ <span class="ruby-identifier">result</span>.<span class="ruby-identifier">success</span> = <span class="ruby-ivar">@handler</span>.<span class="ruby-identifier">createFile</span>(<span class="ruby-identifier">args</span>.<span class="ruby-identifier">path</span>, <span class="ruby-identifier">args</span>.<span class="ruby-identifier">mode</span>, <span class="ruby-identifier">args</span>.<span class="ruby-identifier">overwrite</span>, <span class="ruby-identifier">args</span>.<span class="ruby-identifier">bufferSize</span>, <span class="ruby-identifier">args</span>.<span class="ruby-identifier">block_replication</span>, <span class="ruby-identifier">args</span>.<span class="ruby-identifier">blocksize</span>)
511
+ <span class="ruby-keyword">rescue</span> <span class="ruby-constant">ThriftIOException</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">ouch</span>
512
+ <span class="ruby-identifier">result</span>.<span class="ruby-identifier">ouch</span> = <span class="ruby-identifier">ouch</span>
513
+ <span class="ruby-keyword">end</span>
514
+ <span class="ruby-identifier">write_result</span>(<span class="ruby-identifier">result</span>, <span class="ruby-identifier">oprot</span>, <span class="ruby-string">'createFile'</span>, <span class="ruby-identifier">seqid</span>)
515
+ <span class="ruby-keyword">end</span></pre>
516
+ </div><!-- process_createFile-source -->
517
+
518
+ </div>
519
+
520
+
521
+
522
+
523
+ </div><!-- process_createFile-method -->
524
+
525
+
526
+ <div id="process_exists-method" class="method-detail ">
527
+ <a name="method-i-process_exists"></a>
528
+
529
+
530
+ <div class="method-heading">
531
+ <span class="method-name">process_exists</span><span
532
+ class="method-args">(seqid, iprot, oprot)</span>
533
+ <span class="method-click-advice">click to toggle source</span>
534
+ </div>
535
+
536
+
537
+ <div class="method-description">
538
+
539
+
540
+
541
+
542
+
543
+ <div class="method-source-code" id="process_exists-source">
544
+ <pre>
545
+ <span class="ruby-comment"># File lib/thrift/thrift_hadoop_file_system.rb, line 440</span>
546
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">process_exists</span>(<span class="ruby-identifier">seqid</span>, <span class="ruby-identifier">iprot</span>, <span class="ruby-identifier">oprot</span>)
547
+ <span class="ruby-identifier">args</span> = <span class="ruby-identifier">read_args</span>(<span class="ruby-identifier">iprot</span>, <span class="ruby-constant">Exists_args</span>)
548
+ <span class="ruby-identifier">result</span> = <span class="ruby-constant">Exists_result</span>.<span class="ruby-identifier">new</span>()
549
+ <span class="ruby-keyword">begin</span>
550
+ <span class="ruby-identifier">result</span>.<span class="ruby-identifier">success</span> = <span class="ruby-ivar">@handler</span>.<span class="ruby-identifier">exists</span>(<span class="ruby-identifier">args</span>.<span class="ruby-identifier">path</span>)
551
+ <span class="ruby-keyword">rescue</span> <span class="ruby-constant">ThriftIOException</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">ouch</span>
552
+ <span class="ruby-identifier">result</span>.<span class="ruby-identifier">ouch</span> = <span class="ruby-identifier">ouch</span>
553
+ <span class="ruby-keyword">end</span>
554
+ <span class="ruby-identifier">write_result</span>(<span class="ruby-identifier">result</span>, <span class="ruby-identifier">oprot</span>, <span class="ruby-string">'exists'</span>, <span class="ruby-identifier">seqid</span>)
555
+ <span class="ruby-keyword">end</span></pre>
556
+ </div><!-- process_exists-source -->
557
+
558
+ </div>
559
+
560
+
561
+
562
+
563
+ </div><!-- process_exists-method -->
564
+
565
+
566
+ <div id="process_getFileBlockLocations-method" class="method-detail ">
567
+ <a name="method-i-process_getFileBlockLocations"></a>
568
+
569
+
570
+ <div class="method-heading">
571
+ <span class="method-name">process_getFileBlockLocations</span><span
572
+ class="method-args">(seqid, iprot, oprot)</span>
573
+ <span class="method-click-advice">click to toggle source</span>
574
+ </div>
575
+
576
+
577
+ <div class="method-description">
578
+
579
+
580
+
581
+
582
+
583
+ <div class="method-source-code" id="process_getFileBlockLocations-source">
584
+ <pre>
585
+ <span class="ruby-comment"># File lib/thrift/thrift_hadoop_file_system.rb, line 506</span>
586
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">process_getFileBlockLocations</span>(<span class="ruby-identifier">seqid</span>, <span class="ruby-identifier">iprot</span>, <span class="ruby-identifier">oprot</span>)
587
+ <span class="ruby-identifier">args</span> = <span class="ruby-identifier">read_args</span>(<span class="ruby-identifier">iprot</span>, <span class="ruby-constant">GetFileBlockLocations_args</span>)
588
+ <span class="ruby-identifier">result</span> = <span class="ruby-constant">GetFileBlockLocations_result</span>.<span class="ruby-identifier">new</span>()
589
+ <span class="ruby-keyword">begin</span>
590
+ <span class="ruby-identifier">result</span>.<span class="ruby-identifier">success</span> = <span class="ruby-ivar">@handler</span>.<span class="ruby-identifier">getFileBlockLocations</span>(<span class="ruby-identifier">args</span>.<span class="ruby-identifier">path</span>, <span class="ruby-identifier">args</span>.<span class="ruby-identifier">start</span>, <span class="ruby-identifier">args</span>.<span class="ruby-identifier">length</span>)
591
+ <span class="ruby-keyword">rescue</span> <span class="ruby-constant">ThriftIOException</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">ouch</span>
592
+ <span class="ruby-identifier">result</span>.<span class="ruby-identifier">ouch</span> = <span class="ruby-identifier">ouch</span>
593
+ <span class="ruby-keyword">end</span>
594
+ <span class="ruby-identifier">write_result</span>(<span class="ruby-identifier">result</span>, <span class="ruby-identifier">oprot</span>, <span class="ruby-string">'getFileBlockLocations'</span>, <span class="ruby-identifier">seqid</span>)
595
+ <span class="ruby-keyword">end</span></pre>
596
+ </div><!-- process_getFileBlockLocations-source -->
597
+
598
+ </div>
599
+
600
+
601
+
602
+
603
+ </div><!-- process_getFileBlockLocations-method -->
604
+
605
+
606
+ <div id="process_listStatus-method" class="method-detail ">
607
+ <a name="method-i-process_listStatus"></a>
608
+
609
+
610
+ <div class="method-heading">
611
+ <span class="method-name">process_listStatus</span><span
612
+ class="method-args">(seqid, iprot, oprot)</span>
613
+ <span class="method-click-advice">click to toggle source</span>
614
+ </div>
615
+
616
+
617
+ <div class="method-description">
618
+
619
+
620
+
621
+
622
+
623
+ <div class="method-source-code" id="process_listStatus-source">
624
+ <pre>
625
+ <span class="ruby-comment"># File lib/thrift/thrift_hadoop_file_system.rb, line 462</span>
626
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">process_listStatus</span>(<span class="ruby-identifier">seqid</span>, <span class="ruby-identifier">iprot</span>, <span class="ruby-identifier">oprot</span>)
627
+ <span class="ruby-identifier">args</span> = <span class="ruby-identifier">read_args</span>(<span class="ruby-identifier">iprot</span>, <span class="ruby-constant">ListStatus_args</span>)
628
+ <span class="ruby-identifier">result</span> = <span class="ruby-constant">ListStatus_result</span>.<span class="ruby-identifier">new</span>()
629
+ <span class="ruby-keyword">begin</span>
630
+ <span class="ruby-identifier">result</span>.<span class="ruby-identifier">success</span> = <span class="ruby-ivar">@handler</span>.<span class="ruby-identifier">listStatus</span>(<span class="ruby-identifier">args</span>.<span class="ruby-identifier">path</span>)
631
+ <span class="ruby-keyword">rescue</span> <span class="ruby-constant">ThriftIOException</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">ouch</span>
632
+ <span class="ruby-identifier">result</span>.<span class="ruby-identifier">ouch</span> = <span class="ruby-identifier">ouch</span>
633
+ <span class="ruby-keyword">end</span>
634
+ <span class="ruby-identifier">write_result</span>(<span class="ruby-identifier">result</span>, <span class="ruby-identifier">oprot</span>, <span class="ruby-string">'listStatus'</span>, <span class="ruby-identifier">seqid</span>)
635
+ <span class="ruby-keyword">end</span></pre>
636
+ </div><!-- process_listStatus-source -->
637
+
638
+ </div>
639
+
640
+
641
+
642
+
643
+ </div><!-- process_listStatus-method -->
644
+
645
+
646
+ <div id="process_mkdirs-method" class="method-detail ">
647
+ <a name="method-i-process_mkdirs"></a>
648
+
649
+
650
+ <div class="method-heading">
651
+ <span class="method-name">process_mkdirs</span><span
652
+ class="method-args">(seqid, iprot, oprot)</span>
653
+ <span class="method-click-advice">click to toggle source</span>
654
+ </div>
655
+
656
+
657
+ <div class="method-description">
658
+
659
+
660
+
661
+
662
+
663
+ <div class="method-source-code" id="process_mkdirs-source">
664
+ <pre>
665
+ <span class="ruby-comment"># File lib/thrift/thrift_hadoop_file_system.rb, line 429</span>
666
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">process_mkdirs</span>(<span class="ruby-identifier">seqid</span>, <span class="ruby-identifier">iprot</span>, <span class="ruby-identifier">oprot</span>)
667
+ <span class="ruby-identifier">args</span> = <span class="ruby-identifier">read_args</span>(<span class="ruby-identifier">iprot</span>, <span class="ruby-constant">Mkdirs_args</span>)
668
+ <span class="ruby-identifier">result</span> = <span class="ruby-constant">Mkdirs_result</span>.<span class="ruby-identifier">new</span>()
669
+ <span class="ruby-keyword">begin</span>
670
+ <span class="ruby-identifier">result</span>.<span class="ruby-identifier">success</span> = <span class="ruby-ivar">@handler</span>.<span class="ruby-identifier">mkdirs</span>(<span class="ruby-identifier">args</span>.<span class="ruby-identifier">path</span>)
671
+ <span class="ruby-keyword">rescue</span> <span class="ruby-constant">ThriftIOException</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">ouch</span>
672
+ <span class="ruby-identifier">result</span>.<span class="ruby-identifier">ouch</span> = <span class="ruby-identifier">ouch</span>
673
+ <span class="ruby-keyword">end</span>
674
+ <span class="ruby-identifier">write_result</span>(<span class="ruby-identifier">result</span>, <span class="ruby-identifier">oprot</span>, <span class="ruby-string">'mkdirs'</span>, <span class="ruby-identifier">seqid</span>)
675
+ <span class="ruby-keyword">end</span></pre>
676
+ </div><!-- process_mkdirs-source -->
677
+
678
+ </div>
679
+
680
+
681
+
682
+
683
+ </div><!-- process_mkdirs-method -->
684
+
685
+
686
+ <div id="process_open-method" class="method-detail ">
687
+ <a name="method-i-process_open"></a>
688
+
689
+
690
+ <div class="method-heading">
691
+ <span class="method-name">process_open</span><span
692
+ class="method-args">(seqid, iprot, oprot)</span>
693
+ <span class="method-click-advice">click to toggle source</span>
694
+ </div>
695
+
696
+
697
+ <div class="method-description">
698
+
699
+
700
+
701
+
702
+
703
+ <div class="method-source-code" id="process_open-source">
704
+ <pre>
705
+ <span class="ruby-comment"># File lib/thrift/thrift_hadoop_file_system.rb, line 352</span>
706
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">process_open</span>(<span class="ruby-identifier">seqid</span>, <span class="ruby-identifier">iprot</span>, <span class="ruby-identifier">oprot</span>)
707
+ <span class="ruby-identifier">args</span> = <span class="ruby-identifier">read_args</span>(<span class="ruby-identifier">iprot</span>, <span class="ruby-constant">Open_args</span>)
708
+ <span class="ruby-identifier">result</span> = <span class="ruby-constant">Open_result</span>.<span class="ruby-identifier">new</span>()
709
+ <span class="ruby-keyword">begin</span>
710
+ <span class="ruby-identifier">result</span>.<span class="ruby-identifier">success</span> = <span class="ruby-ivar">@handler</span>.<span class="ruby-identifier">open</span>(<span class="ruby-identifier">args</span>.<span class="ruby-identifier">path</span>)
711
+ <span class="ruby-keyword">rescue</span> <span class="ruby-constant">ThriftIOException</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">ouch</span>
712
+ <span class="ruby-identifier">result</span>.<span class="ruby-identifier">ouch</span> = <span class="ruby-identifier">ouch</span>
713
+ <span class="ruby-keyword">end</span>
714
+ <span class="ruby-identifier">write_result</span>(<span class="ruby-identifier">result</span>, <span class="ruby-identifier">oprot</span>, <span class="ruby-string">'open'</span>, <span class="ruby-identifier">seqid</span>)
715
+ <span class="ruby-keyword">end</span></pre>
716
+ </div><!-- process_open-source -->
717
+
718
+ </div>
719
+
720
+
721
+
722
+
723
+ </div><!-- process_open-method -->
724
+
725
+
726
+ <div id="process_read-method" class="method-detail ">
727
+ <a name="method-i-process_read"></a>
728
+
729
+
730
+ <div class="method-heading">
731
+ <span class="method-name">process_read</span><span
732
+ class="method-args">(seqid, iprot, oprot)</span>
733
+ <span class="method-click-advice">click to toggle source</span>
734
+ </div>
735
+
736
+
737
+ <div class="method-description">
738
+
739
+
740
+
741
+
742
+
743
+ <div class="method-source-code" id="process_read-source">
744
+ <pre>
745
+ <span class="ruby-comment"># File lib/thrift/thrift_hadoop_file_system.rb, line 385</span>
746
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">process_read</span>(<span class="ruby-identifier">seqid</span>, <span class="ruby-identifier">iprot</span>, <span class="ruby-identifier">oprot</span>)
747
+ <span class="ruby-identifier">args</span> = <span class="ruby-identifier">read_args</span>(<span class="ruby-identifier">iprot</span>, <span class="ruby-constant">Read_args</span>)
748
+ <span class="ruby-identifier">result</span> = <span class="ruby-constant">Read_result</span>.<span class="ruby-identifier">new</span>()
749
+ <span class="ruby-keyword">begin</span>
750
+ <span class="ruby-identifier">result</span>.<span class="ruby-identifier">success</span> = <span class="ruby-ivar">@handler</span>.<span class="ruby-identifier">read</span>(<span class="ruby-identifier">args</span>.<span class="ruby-identifier">handle</span>, <span class="ruby-identifier">args</span>.<span class="ruby-identifier">offset</span>, <span class="ruby-identifier">args</span>.<span class="ruby-identifier">size</span>)
751
+ <span class="ruby-keyword">rescue</span> <span class="ruby-constant">ThriftIOException</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">ouch</span>
752
+ <span class="ruby-identifier">result</span>.<span class="ruby-identifier">ouch</span> = <span class="ruby-identifier">ouch</span>
753
+ <span class="ruby-keyword">end</span>
754
+ <span class="ruby-identifier">write_result</span>(<span class="ruby-identifier">result</span>, <span class="ruby-identifier">oprot</span>, <span class="ruby-string">'read'</span>, <span class="ruby-identifier">seqid</span>)
755
+ <span class="ruby-keyword">end</span></pre>
756
+ </div><!-- process_read-source -->
757
+
758
+ </div>
759
+
760
+
761
+
762
+
763
+ </div><!-- process_read-method -->
764
+
765
+
766
+ <div id="process_rename-method" class="method-detail ">
767
+ <a name="method-i-process_rename"></a>
768
+
769
+
770
+ <div class="method-heading">
771
+ <span class="method-name">process_rename</span><span
772
+ class="method-args">(seqid, iprot, oprot)</span>
773
+ <span class="method-click-advice">click to toggle source</span>
774
+ </div>
775
+
776
+
777
+ <div class="method-description">
778
+
779
+
780
+
781
+
782
+
783
+ <div class="method-source-code" id="process_rename-source">
784
+ <pre>
785
+ <span class="ruby-comment"># File lib/thrift/thrift_hadoop_file_system.rb, line 418</span>
786
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">process_rename</span>(<span class="ruby-identifier">seqid</span>, <span class="ruby-identifier">iprot</span>, <span class="ruby-identifier">oprot</span>)
787
+ <span class="ruby-identifier">args</span> = <span class="ruby-identifier">read_args</span>(<span class="ruby-identifier">iprot</span>, <span class="ruby-constant">Rename_args</span>)
788
+ <span class="ruby-identifier">result</span> = <span class="ruby-constant">Rename_result</span>.<span class="ruby-identifier">new</span>()
789
+ <span class="ruby-keyword">begin</span>
790
+ <span class="ruby-identifier">result</span>.<span class="ruby-identifier">success</span> = <span class="ruby-ivar">@handler</span>.<span class="ruby-identifier">rename</span>(<span class="ruby-identifier">args</span>.<span class="ruby-identifier">path</span>, <span class="ruby-identifier">args</span>.<span class="ruby-identifier">dest</span>)
791
+ <span class="ruby-keyword">rescue</span> <span class="ruby-constant">ThriftIOException</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">ouch</span>
792
+ <span class="ruby-identifier">result</span>.<span class="ruby-identifier">ouch</span> = <span class="ruby-identifier">ouch</span>
793
+ <span class="ruby-keyword">end</span>
794
+ <span class="ruby-identifier">write_result</span>(<span class="ruby-identifier">result</span>, <span class="ruby-identifier">oprot</span>, <span class="ruby-string">'rename'</span>, <span class="ruby-identifier">seqid</span>)
795
+ <span class="ruby-keyword">end</span></pre>
796
+ </div><!-- process_rename-source -->
797
+
798
+ </div>
799
+
800
+
801
+
802
+
803
+ </div><!-- process_rename-method -->
804
+
805
+
806
+ <div id="process_rm-method" class="method-detail ">
807
+ <a name="method-i-process_rm"></a>
808
+
809
+
810
+ <div class="method-heading">
811
+ <span class="method-name">process_rm</span><span
812
+ class="method-args">(seqid, iprot, oprot)</span>
813
+ <span class="method-click-advice">click to toggle source</span>
814
+ </div>
815
+
816
+
817
+ <div class="method-description">
818
+
819
+
820
+
821
+
822
+
823
+ <div class="method-source-code" id="process_rm-source">
824
+ <pre>
825
+ <span class="ruby-comment"># File lib/thrift/thrift_hadoop_file_system.rb, line 407</span>
826
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">process_rm</span>(<span class="ruby-identifier">seqid</span>, <span class="ruby-identifier">iprot</span>, <span class="ruby-identifier">oprot</span>)
827
+ <span class="ruby-identifier">args</span> = <span class="ruby-identifier">read_args</span>(<span class="ruby-identifier">iprot</span>, <span class="ruby-constant">Rm_args</span>)
828
+ <span class="ruby-identifier">result</span> = <span class="ruby-constant">Rm_result</span>.<span class="ruby-identifier">new</span>()
829
+ <span class="ruby-keyword">begin</span>
830
+ <span class="ruby-identifier">result</span>.<span class="ruby-identifier">success</span> = <span class="ruby-ivar">@handler</span>.<span class="ruby-identifier">rm</span>(<span class="ruby-identifier">args</span>.<span class="ruby-identifier">path</span>, <span class="ruby-identifier">args</span>.<span class="ruby-identifier">recursive</span>)
831
+ <span class="ruby-keyword">rescue</span> <span class="ruby-constant">ThriftIOException</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">ouch</span>
832
+ <span class="ruby-identifier">result</span>.<span class="ruby-identifier">ouch</span> = <span class="ruby-identifier">ouch</span>
833
+ <span class="ruby-keyword">end</span>
834
+ <span class="ruby-identifier">write_result</span>(<span class="ruby-identifier">result</span>, <span class="ruby-identifier">oprot</span>, <span class="ruby-string">'rm'</span>, <span class="ruby-identifier">seqid</span>)
835
+ <span class="ruby-keyword">end</span></pre>
836
+ </div><!-- process_rm-source -->
837
+
838
+ </div>
839
+
840
+
841
+
842
+
843
+ </div><!-- process_rm-method -->
844
+
845
+
846
+ <div id="process_setInactivityTimeoutPeriod-method" class="method-detail ">
847
+ <a name="method-i-process_setInactivityTimeoutPeriod"></a>
848
+
849
+
850
+ <div class="method-heading">
851
+ <span class="method-name">process_setInactivityTimeoutPeriod</span><span
852
+ class="method-args">(seqid, iprot, oprot)</span>
853
+ <span class="method-click-advice">click to toggle source</span>
854
+ </div>
855
+
856
+
857
+ <div class="method-description">
858
+
859
+
860
+
861
+
862
+
863
+ <div class="method-source-code" id="process_setInactivityTimeoutPeriod-source">
864
+ <pre>
865
+ <span class="ruby-comment"># File lib/thrift/thrift_hadoop_file_system.rb, line 316</span>
866
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">process_setInactivityTimeoutPeriod</span>(<span class="ruby-identifier">seqid</span>, <span class="ruby-identifier">iprot</span>, <span class="ruby-identifier">oprot</span>)
867
+ <span class="ruby-identifier">args</span> = <span class="ruby-identifier">read_args</span>(<span class="ruby-identifier">iprot</span>, <span class="ruby-constant">SetInactivityTimeoutPeriod_args</span>)
868
+ <span class="ruby-identifier">result</span> = <span class="ruby-constant">SetInactivityTimeoutPeriod_result</span>.<span class="ruby-identifier">new</span>()
869
+ <span class="ruby-ivar">@handler</span>.<span class="ruby-identifier">setInactivityTimeoutPeriod</span>(<span class="ruby-identifier">args</span>.<span class="ruby-identifier">periodInSeconds</span>)
870
+ <span class="ruby-identifier">write_result</span>(<span class="ruby-identifier">result</span>, <span class="ruby-identifier">oprot</span>, <span class="ruby-string">'setInactivityTimeoutPeriod'</span>, <span class="ruby-identifier">seqid</span>)
871
+ <span class="ruby-keyword">end</span></pre>
872
+ </div><!-- process_setInactivityTimeoutPeriod-source -->
873
+
874
+ </div>
875
+
876
+
877
+
878
+
879
+ </div><!-- process_setInactivityTimeoutPeriod-method -->
880
+
881
+
882
+ <div id="process_setReplication-method" class="method-detail ">
883
+ <a name="method-i-process_setReplication"></a>
884
+
885
+
886
+ <div class="method-heading">
887
+ <span class="method-name">process_setReplication</span><span
888
+ class="method-args">(seqid, iprot, oprot)</span>
889
+ <span class="method-click-advice">click to toggle source</span>
890
+ </div>
891
+
892
+
893
+ <div class="method-description">
894
+
895
+
896
+
897
+
898
+
899
+ <div class="method-source-code" id="process_setReplication-source">
900
+ <pre>
901
+ <span class="ruby-comment"># File lib/thrift/thrift_hadoop_file_system.rb, line 495</span>
902
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">process_setReplication</span>(<span class="ruby-identifier">seqid</span>, <span class="ruby-identifier">iprot</span>, <span class="ruby-identifier">oprot</span>)
903
+ <span class="ruby-identifier">args</span> = <span class="ruby-identifier">read_args</span>(<span class="ruby-identifier">iprot</span>, <span class="ruby-constant">SetReplication_args</span>)
904
+ <span class="ruby-identifier">result</span> = <span class="ruby-constant">SetReplication_result</span>.<span class="ruby-identifier">new</span>()
905
+ <span class="ruby-keyword">begin</span>
906
+ <span class="ruby-ivar">@handler</span>.<span class="ruby-identifier">setReplication</span>(<span class="ruby-identifier">args</span>.<span class="ruby-identifier">path</span>, <span class="ruby-identifier">args</span>.<span class="ruby-identifier">replication</span>)
907
+ <span class="ruby-keyword">rescue</span> <span class="ruby-constant">ThriftIOException</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">ouch</span>
908
+ <span class="ruby-identifier">result</span>.<span class="ruby-identifier">ouch</span> = <span class="ruby-identifier">ouch</span>
909
+ <span class="ruby-keyword">end</span>
910
+ <span class="ruby-identifier">write_result</span>(<span class="ruby-identifier">result</span>, <span class="ruby-identifier">oprot</span>, <span class="ruby-string">'setReplication'</span>, <span class="ruby-identifier">seqid</span>)
911
+ <span class="ruby-keyword">end</span></pre>
912
+ </div><!-- process_setReplication-source -->
913
+
914
+ </div>
915
+
916
+
917
+
918
+
919
+ </div><!-- process_setReplication-method -->
920
+
921
+
922
+ <div id="process_shutdown-method" class="method-detail ">
923
+ <a name="method-i-process_shutdown"></a>
924
+
925
+
926
+ <div class="method-heading">
927
+ <span class="method-name">process_shutdown</span><span
928
+ class="method-args">(seqid, iprot, oprot)</span>
929
+ <span class="method-click-advice">click to toggle source</span>
930
+ </div>
931
+
932
+
933
+ <div class="method-description">
934
+
935
+
936
+
937
+
938
+
939
+ <div class="method-source-code" id="process_shutdown-source">
940
+ <pre>
941
+ <span class="ruby-comment"># File lib/thrift/thrift_hadoop_file_system.rb, line 323</span>
942
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">process_shutdown</span>(<span class="ruby-identifier">seqid</span>, <span class="ruby-identifier">iprot</span>, <span class="ruby-identifier">oprot</span>)
943
+ <span class="ruby-identifier">args</span> = <span class="ruby-identifier">read_args</span>(<span class="ruby-identifier">iprot</span>, <span class="ruby-constant">Shutdown_args</span>)
944
+ <span class="ruby-identifier">result</span> = <span class="ruby-constant">Shutdown_result</span>.<span class="ruby-identifier">new</span>()
945
+ <span class="ruby-ivar">@handler</span>.<span class="ruby-identifier">shutdown</span>(<span class="ruby-identifier">args</span>.<span class="ruby-identifier">status</span>)
946
+ <span class="ruby-identifier">write_result</span>(<span class="ruby-identifier">result</span>, <span class="ruby-identifier">oprot</span>, <span class="ruby-string">'shutdown'</span>, <span class="ruby-identifier">seqid</span>)
947
+ <span class="ruby-keyword">end</span></pre>
948
+ </div><!-- process_shutdown-source -->
949
+
950
+ </div>
951
+
952
+
953
+
954
+
955
+ </div><!-- process_shutdown-method -->
956
+
957
+
958
+ <div id="process_stat-method" class="method-detail ">
959
+ <a name="method-i-process_stat"></a>
960
+
961
+
962
+ <div class="method-heading">
963
+ <span class="method-name">process_stat</span><span
964
+ class="method-args">(seqid, iprot, oprot)</span>
965
+ <span class="method-click-advice">click to toggle source</span>
966
+ </div>
967
+
968
+
969
+ <div class="method-description">
970
+
971
+
972
+
973
+
974
+
975
+ <div class="method-source-code" id="process_stat-source">
976
+ <pre>
977
+ <span class="ruby-comment"># File lib/thrift/thrift_hadoop_file_system.rb, line 451</span>
978
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">process_stat</span>(<span class="ruby-identifier">seqid</span>, <span class="ruby-identifier">iprot</span>, <span class="ruby-identifier">oprot</span>)
979
+ <span class="ruby-identifier">args</span> = <span class="ruby-identifier">read_args</span>(<span class="ruby-identifier">iprot</span>, <span class="ruby-constant">Stat_args</span>)
980
+ <span class="ruby-identifier">result</span> = <span class="ruby-constant">Stat_result</span>.<span class="ruby-identifier">new</span>()
981
+ <span class="ruby-keyword">begin</span>
982
+ <span class="ruby-identifier">result</span>.<span class="ruby-identifier">success</span> = <span class="ruby-ivar">@handler</span>.<span class="ruby-identifier">stat</span>(<span class="ruby-identifier">args</span>.<span class="ruby-identifier">path</span>)
983
+ <span class="ruby-keyword">rescue</span> <span class="ruby-constant">ThriftIOException</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">ouch</span>
984
+ <span class="ruby-identifier">result</span>.<span class="ruby-identifier">ouch</span> = <span class="ruby-identifier">ouch</span>
985
+ <span class="ruby-keyword">end</span>
986
+ <span class="ruby-identifier">write_result</span>(<span class="ruby-identifier">result</span>, <span class="ruby-identifier">oprot</span>, <span class="ruby-string">'stat'</span>, <span class="ruby-identifier">seqid</span>)
987
+ <span class="ruby-keyword">end</span></pre>
988
+ </div><!-- process_stat-source -->
989
+
990
+ </div>
991
+
992
+
993
+
994
+
995
+ </div><!-- process_stat-method -->
996
+
997
+
998
+ <div id="process_write-method" class="method-detail ">
999
+ <a name="method-i-process_write"></a>
1000
+
1001
+
1002
+ <div class="method-heading">
1003
+ <span class="method-name">process_write</span><span
1004
+ class="method-args">(seqid, iprot, oprot)</span>
1005
+ <span class="method-click-advice">click to toggle source</span>
1006
+ </div>
1007
+
1008
+
1009
+ <div class="method-description">
1010
+
1011
+
1012
+
1013
+
1014
+
1015
+ <div class="method-source-code" id="process_write-source">
1016
+ <pre>
1017
+ <span class="ruby-comment"># File lib/thrift/thrift_hadoop_file_system.rb, line 374</span>
1018
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier">process_write</span>(<span class="ruby-identifier">seqid</span>, <span class="ruby-identifier">iprot</span>, <span class="ruby-identifier">oprot</span>)
1019
+ <span class="ruby-identifier">args</span> = <span class="ruby-identifier">read_args</span>(<span class="ruby-identifier">iprot</span>, <span class="ruby-constant">Write_args</span>)
1020
+ <span class="ruby-identifier">result</span> = <span class="ruby-constant">Write_result</span>.<span class="ruby-identifier">new</span>()
1021
+ <span class="ruby-keyword">begin</span>
1022
+ <span class="ruby-identifier">result</span>.<span class="ruby-identifier">success</span> = <span class="ruby-ivar">@handler</span>.<span class="ruby-identifier">write</span>(<span class="ruby-identifier">args</span>.<span class="ruby-identifier">handle</span>, <span class="ruby-identifier">args</span>.<span class="ruby-identifier">data</span>)
1023
+ <span class="ruby-keyword">rescue</span> <span class="ruby-constant">ThriftIOException</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">ouch</span>
1024
+ <span class="ruby-identifier">result</span>.<span class="ruby-identifier">ouch</span> = <span class="ruby-identifier">ouch</span>
1025
+ <span class="ruby-keyword">end</span>
1026
+ <span class="ruby-identifier">write_result</span>(<span class="ruby-identifier">result</span>, <span class="ruby-identifier">oprot</span>, <span class="ruby-string">'write'</span>, <span class="ruby-identifier">seqid</span>)
1027
+ <span class="ruby-keyword">end</span></pre>
1028
+ </div><!-- process_write-source -->
1029
+
1030
+ </div>
1031
+
1032
+
1033
+
1034
+
1035
+ </div><!-- process_write-method -->
1036
+
1037
+
1038
+ </div><!-- public-instance-method-details -->
1039
+
1040
+ </div><!-- 5Buntitled-5D -->
1041
+
1042
+
1043
+ </div><!-- documentation -->
1044
+
1045
+ <div id="validator-badges">
1046
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
1047
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
1048
+ Rdoc Generator</a> 2</small>.</p>
1049
+ </div>
1050
+
1051
+ </body>
1052
+ </html>
1053
+