ganapati 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +674 -0
- data/README.rdoc +86 -0
- data/Rakefile +32 -0
- data/bin/hcp +64 -0
- data/bin/hls +42 -0
- data/docs/classes/Ganapati.html +138 -0
- data/docs/classes/Ganapati/Client.html +666 -0
- data/docs/classes/Ganapati/FileUrl.html +253 -0
- data/docs/classes/Ganapati/HFile.html +271 -0
- data/docs/classes/ThriftHadoopFileSystem.html +169 -0
- data/docs/classes/ThriftHadoopFileSystem/Append_args.html +193 -0
- data/docs/classes/ThriftHadoopFileSystem/Append_result.html +198 -0
- data/docs/classes/ThriftHadoopFileSystem/BlockLocation.html +208 -0
- data/docs/classes/ThriftHadoopFileSystem/Chmod_args.html +198 -0
- data/docs/classes/ThriftHadoopFileSystem/Chmod_result.html +193 -0
- data/docs/classes/ThriftHadoopFileSystem/Chown_args.html +203 -0
- data/docs/classes/ThriftHadoopFileSystem/Chown_result.html +193 -0
- data/docs/classes/ThriftHadoopFileSystem/Client.html +1566 -0
- data/docs/classes/ThriftHadoopFileSystem/Close_args.html +193 -0
- data/docs/classes/ThriftHadoopFileSystem/Close_result.html +198 -0
- data/docs/classes/ThriftHadoopFileSystem/CreateFile_args.html +218 -0
- data/docs/classes/ThriftHadoopFileSystem/CreateFile_result.html +198 -0
- data/docs/classes/ThriftHadoopFileSystem/Create_args.html +193 -0
- data/docs/classes/ThriftHadoopFileSystem/Create_result.html +198 -0
- data/docs/classes/ThriftHadoopFileSystem/Exists_args.html +193 -0
- data/docs/classes/ThriftHadoopFileSystem/Exists_result.html +198 -0
- data/docs/classes/ThriftHadoopFileSystem/FileStatus.html +233 -0
- data/docs/classes/ThriftHadoopFileSystem/GetFileBlockLocations_args.html +203 -0
- data/docs/classes/ThriftHadoopFileSystem/GetFileBlockLocations_result.html +198 -0
- data/docs/classes/ThriftHadoopFileSystem/ListStatus_args.html +193 -0
- data/docs/classes/ThriftHadoopFileSystem/ListStatus_result.html +198 -0
- data/docs/classes/ThriftHadoopFileSystem/MalformedInputException.html +220 -0
- data/docs/classes/ThriftHadoopFileSystem/Mkdirs_args.html +193 -0
- data/docs/classes/ThriftHadoopFileSystem/Mkdirs_result.html +198 -0
- data/docs/classes/ThriftHadoopFileSystem/Open_args.html +193 -0
- data/docs/classes/ThriftHadoopFileSystem/Open_result.html +198 -0
- data/docs/classes/ThriftHadoopFileSystem/Pathname.html +193 -0
- data/docs/classes/ThriftHadoopFileSystem/Processor.html +710 -0
- data/docs/classes/ThriftHadoopFileSystem/Read_args.html +203 -0
- data/docs/classes/ThriftHadoopFileSystem/Read_result.html +198 -0
- data/docs/classes/ThriftHadoopFileSystem/Rename_args.html +198 -0
- data/docs/classes/ThriftHadoopFileSystem/Rename_result.html +198 -0
- data/docs/classes/ThriftHadoopFileSystem/Rm_args.html +198 -0
- data/docs/classes/ThriftHadoopFileSystem/Rm_result.html +198 -0
- data/docs/classes/ThriftHadoopFileSystem/SetInactivityTimeoutPeriod_args.html +199 -0
- data/docs/classes/ThriftHadoopFileSystem/SetInactivityTimeoutPeriod_result.html +188 -0
- data/docs/classes/ThriftHadoopFileSystem/SetReplication_args.html +198 -0
- data/docs/classes/ThriftHadoopFileSystem/SetReplication_result.html +193 -0
- data/docs/classes/ThriftHadoopFileSystem/Shutdown_args.html +193 -0
- data/docs/classes/ThriftHadoopFileSystem/Shutdown_result.html +188 -0
- data/docs/classes/ThriftHadoopFileSystem/Stat_args.html +193 -0
- data/docs/classes/ThriftHadoopFileSystem/Stat_result.html +198 -0
- data/docs/classes/ThriftHadoopFileSystem/ThriftHandle.html +193 -0
- data/docs/classes/ThriftHadoopFileSystem/ThriftIOException.html +220 -0
- data/docs/classes/ThriftHadoopFileSystem/Write_args.html +198 -0
- data/docs/classes/ThriftHadoopFileSystem/Write_result.html +198 -0
- data/docs/created.rid +1 -0
- data/docs/files/README_rdoc.html +209 -0
- data/docs/files/lib/ganapati/client_rb.html +101 -0
- data/docs/files/lib/ganapati/hfile_rb.html +101 -0
- data/docs/files/lib/ganapati/utils_rb.html +101 -0
- data/docs/files/lib/ganapati/version_rb.html +101 -0
- data/docs/files/lib/ganapati_rb.html +112 -0
- data/docs/files/lib/thrift/hadoopfs_constants_rb.html +117 -0
- data/docs/files/lib/thrift/hadoopfs_types_rb.html +110 -0
- data/docs/files/lib/thrift/thrift_hadoop_file_system_rb.html +118 -0
- data/docs/fr_class_index.html +77 -0
- data/docs/fr_file_index.html +35 -0
- data/docs/fr_method_index.html +222 -0
- data/docs/index.html +24 -0
- data/docs/rdoc-style.css +208 -0
- data/lib/ganapati.rb +1 -0
- data/lib/ganapati/client.rb +4 -2
- data/lib/ganapati/utils.rb +47 -0
- data/lib/ganapati/version.rb +3 -0
- metadata +79 -4
@@ -0,0 +1,198 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>Class: ThriftHadoopFileSystem::Mkdirs_result</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Class</strong></td>
|
53
|
+
<td class="class-name-in-header">ThriftHadoopFileSystem::Mkdirs_result</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../../files/lib/thrift/thrift_hadoop_file_system_rb.html">
|
59
|
+
lib/thrift/thrift_hadoop_file_system.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
<tr class="top-aligned-row">
|
66
|
+
<td><strong>Parent:</strong></td>
|
67
|
+
<td>
|
68
|
+
Object
|
69
|
+
</td>
|
70
|
+
</tr>
|
71
|
+
</table>
|
72
|
+
</div>
|
73
|
+
<!-- banner header -->
|
74
|
+
|
75
|
+
<div id="bodyContent">
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
<div id="contextContent">
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
</div>
|
84
|
+
|
85
|
+
<div id="method-list">
|
86
|
+
<h3 class="section-bar">Methods</h3>
|
87
|
+
|
88
|
+
<div class="name-list">
|
89
|
+
<a href="#M000108">struct_fields</a>
|
90
|
+
<a href="#M000109">validate</a>
|
91
|
+
</div>
|
92
|
+
</div>
|
93
|
+
|
94
|
+
</div>
|
95
|
+
|
96
|
+
|
97
|
+
<!-- if includes -->
|
98
|
+
<div id="includes">
|
99
|
+
<h3 class="section-bar">Included Modules</h3>
|
100
|
+
|
101
|
+
<div id="includes-list">
|
102
|
+
<span class="include-name">::Thrift::Struct</span>
|
103
|
+
<span class="include-name">::Thrift::Struct_Union</span>
|
104
|
+
</div>
|
105
|
+
</div>
|
106
|
+
|
107
|
+
<div id="section">
|
108
|
+
|
109
|
+
|
110
|
+
<div id="constants-list">
|
111
|
+
<h3 class="section-bar">Constants</h3>
|
112
|
+
|
113
|
+
<div class="name-list">
|
114
|
+
<table summary="Constants">
|
115
|
+
<tr class="top-aligned-row context-row">
|
116
|
+
<td class="context-item-name">SUCCESS</td>
|
117
|
+
<td>=</td>
|
118
|
+
<td class="context-item-value">0</td>
|
119
|
+
</tr>
|
120
|
+
<tr class="top-aligned-row context-row">
|
121
|
+
<td class="context-item-name">OUCH</td>
|
122
|
+
<td>=</td>
|
123
|
+
<td class="context-item-value">1</td>
|
124
|
+
</tr>
|
125
|
+
<tr class="top-aligned-row context-row">
|
126
|
+
<td class="context-item-name">FIELDS</td>
|
127
|
+
<td>=</td>
|
128
|
+
<td class="context-item-value">{ SUCCESS => {:type => ::Thrift::Types::BOOL, :name => 'success'}, OUCH => {:type => ::Thrift::Types::STRUCT, :name => 'ouch', :class => ThriftIOException}</td>
|
129
|
+
</tr>
|
130
|
+
</table>
|
131
|
+
</div>
|
132
|
+
</div>
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
<!-- if method_list -->
|
140
|
+
<div id="methods">
|
141
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
142
|
+
|
143
|
+
<div id="method-M000108" class="method-detail">
|
144
|
+
<a name="M000108"></a>
|
145
|
+
|
146
|
+
<div class="method-heading">
|
147
|
+
<a href="#M000108" class="method-signature">
|
148
|
+
<span class="method-name">struct_fields</span><span class="method-args">()</span>
|
149
|
+
</a>
|
150
|
+
</div>
|
151
|
+
|
152
|
+
<div class="method-description">
|
153
|
+
<p><a class="source-toggle" href="#"
|
154
|
+
onclick="toggleCode('M000108-source');return false;">[Source]</a></p>
|
155
|
+
<div class="method-source-code" id="M000108-source">
|
156
|
+
<pre>
|
157
|
+
<span class="ruby-comment cmt"># File lib/thrift/thrift_hadoop_file_system.rb, line 935</span>
|
158
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">struct_fields</span>; <span class="ruby-constant">FIELDS</span>; <span class="ruby-keyword kw">end</span>
|
159
|
+
</pre>
|
160
|
+
</div>
|
161
|
+
</div>
|
162
|
+
</div>
|
163
|
+
|
164
|
+
<div id="method-M000109" class="method-detail">
|
165
|
+
<a name="M000109"></a>
|
166
|
+
|
167
|
+
<div class="method-heading">
|
168
|
+
<a href="#M000109" class="method-signature">
|
169
|
+
<span class="method-name">validate</span><span class="method-args">()</span>
|
170
|
+
</a>
|
171
|
+
</div>
|
172
|
+
|
173
|
+
<div class="method-description">
|
174
|
+
<p><a class="source-toggle" href="#"
|
175
|
+
onclick="toggleCode('M000109-source');return false;">[Source]</a></p>
|
176
|
+
<div class="method-source-code" id="M000109-source">
|
177
|
+
<pre>
|
178
|
+
<span class="ruby-comment cmt"># File lib/thrift/thrift_hadoop_file_system.rb, line 937</span>
|
179
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">validate</span>
|
180
|
+
<span class="ruby-keyword kw">end</span>
|
181
|
+
</pre>
|
182
|
+
</div>
|
183
|
+
</div>
|
184
|
+
</div>
|
185
|
+
|
186
|
+
|
187
|
+
</div>
|
188
|
+
|
189
|
+
|
190
|
+
</div>
|
191
|
+
|
192
|
+
|
193
|
+
<div id="validator-badges">
|
194
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
195
|
+
</div>
|
196
|
+
|
197
|
+
</body>
|
198
|
+
</html>
|
@@ -0,0 +1,193 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>Class: ThriftHadoopFileSystem::Open_args</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Class</strong></td>
|
53
|
+
<td class="class-name-in-header">ThriftHadoopFileSystem::Open_args</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../../files/lib/thrift/thrift_hadoop_file_system_rb.html">
|
59
|
+
lib/thrift/thrift_hadoop_file_system.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
<tr class="top-aligned-row">
|
66
|
+
<td><strong>Parent:</strong></td>
|
67
|
+
<td>
|
68
|
+
Object
|
69
|
+
</td>
|
70
|
+
</tr>
|
71
|
+
</table>
|
72
|
+
</div>
|
73
|
+
<!-- banner header -->
|
74
|
+
|
75
|
+
<div id="bodyContent">
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
<div id="contextContent">
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
</div>
|
84
|
+
|
85
|
+
<div id="method-list">
|
86
|
+
<h3 class="section-bar">Methods</h3>
|
87
|
+
|
88
|
+
<div class="name-list">
|
89
|
+
<a href="#M000150">struct_fields</a>
|
90
|
+
<a href="#M000151">validate</a>
|
91
|
+
</div>
|
92
|
+
</div>
|
93
|
+
|
94
|
+
</div>
|
95
|
+
|
96
|
+
|
97
|
+
<!-- if includes -->
|
98
|
+
<div id="includes">
|
99
|
+
<h3 class="section-bar">Included Modules</h3>
|
100
|
+
|
101
|
+
<div id="includes-list">
|
102
|
+
<span class="include-name">::Thrift::Struct</span>
|
103
|
+
<span class="include-name">::Thrift::Struct_Union</span>
|
104
|
+
</div>
|
105
|
+
</div>
|
106
|
+
|
107
|
+
<div id="section">
|
108
|
+
|
109
|
+
|
110
|
+
<div id="constants-list">
|
111
|
+
<h3 class="section-bar">Constants</h3>
|
112
|
+
|
113
|
+
<div class="name-list">
|
114
|
+
<table summary="Constants">
|
115
|
+
<tr class="top-aligned-row context-row">
|
116
|
+
<td class="context-item-name">PATH</td>
|
117
|
+
<td>=</td>
|
118
|
+
<td class="context-item-value">1</td>
|
119
|
+
</tr>
|
120
|
+
<tr class="top-aligned-row context-row">
|
121
|
+
<td class="context-item-name">FIELDS</td>
|
122
|
+
<td>=</td>
|
123
|
+
<td class="context-item-value">{ PATH => {:type => ::Thrift::Types::STRUCT, :name => 'path', :class => Pathname}</td>
|
124
|
+
</tr>
|
125
|
+
</table>
|
126
|
+
</div>
|
127
|
+
</div>
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
<!-- if method_list -->
|
135
|
+
<div id="methods">
|
136
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
137
|
+
|
138
|
+
<div id="method-M000150" class="method-detail">
|
139
|
+
<a name="M000150"></a>
|
140
|
+
|
141
|
+
<div class="method-heading">
|
142
|
+
<a href="#M000150" class="method-signature">
|
143
|
+
<span class="method-name">struct_fields</span><span class="method-args">()</span>
|
144
|
+
</a>
|
145
|
+
</div>
|
146
|
+
|
147
|
+
<div class="method-description">
|
148
|
+
<p><a class="source-toggle" href="#"
|
149
|
+
onclick="toggleCode('M000150-source');return false;">[Source]</a></p>
|
150
|
+
<div class="method-source-code" id="M000150-source">
|
151
|
+
<pre>
|
152
|
+
<span class="ruby-comment cmt"># File lib/thrift/thrift_hadoop_file_system.rb, line 669</span>
|
153
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">struct_fields</span>; <span class="ruby-constant">FIELDS</span>; <span class="ruby-keyword kw">end</span>
|
154
|
+
</pre>
|
155
|
+
</div>
|
156
|
+
</div>
|
157
|
+
</div>
|
158
|
+
|
159
|
+
<div id="method-M000151" class="method-detail">
|
160
|
+
<a name="M000151"></a>
|
161
|
+
|
162
|
+
<div class="method-heading">
|
163
|
+
<a href="#M000151" class="method-signature">
|
164
|
+
<span class="method-name">validate</span><span class="method-args">()</span>
|
165
|
+
</a>
|
166
|
+
</div>
|
167
|
+
|
168
|
+
<div class="method-description">
|
169
|
+
<p><a class="source-toggle" href="#"
|
170
|
+
onclick="toggleCode('M000151-source');return false;">[Source]</a></p>
|
171
|
+
<div class="method-source-code" id="M000151-source">
|
172
|
+
<pre>
|
173
|
+
<span class="ruby-comment cmt"># File lib/thrift/thrift_hadoop_file_system.rb, line 671</span>
|
174
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">validate</span>
|
175
|
+
<span class="ruby-keyword kw">end</span>
|
176
|
+
</pre>
|
177
|
+
</div>
|
178
|
+
</div>
|
179
|
+
</div>
|
180
|
+
|
181
|
+
|
182
|
+
</div>
|
183
|
+
|
184
|
+
|
185
|
+
</div>
|
186
|
+
|
187
|
+
|
188
|
+
<div id="validator-badges">
|
189
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
190
|
+
</div>
|
191
|
+
|
192
|
+
</body>
|
193
|
+
</html>
|
@@ -0,0 +1,198 @@
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
2
|
+
<!DOCTYPE html
|
3
|
+
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
4
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
5
|
+
|
6
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7
|
+
<head>
|
8
|
+
<title>Class: ThriftHadoopFileSystem::Open_result</title>
|
9
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
10
|
+
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
11
|
+
<link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
|
12
|
+
<script type="text/javascript">
|
13
|
+
// <![CDATA[
|
14
|
+
|
15
|
+
function popupCode( url ) {
|
16
|
+
window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
|
17
|
+
}
|
18
|
+
|
19
|
+
function toggleCode( id ) {
|
20
|
+
if ( document.getElementById )
|
21
|
+
elem = document.getElementById( id );
|
22
|
+
else if ( document.all )
|
23
|
+
elem = eval( "document.all." + id );
|
24
|
+
else
|
25
|
+
return false;
|
26
|
+
|
27
|
+
elemStyle = elem.style;
|
28
|
+
|
29
|
+
if ( elemStyle.display != "block" ) {
|
30
|
+
elemStyle.display = "block"
|
31
|
+
} else {
|
32
|
+
elemStyle.display = "none"
|
33
|
+
}
|
34
|
+
|
35
|
+
return true;
|
36
|
+
}
|
37
|
+
|
38
|
+
// Make codeblocks hidden by default
|
39
|
+
document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
|
40
|
+
|
41
|
+
// ]]>
|
42
|
+
</script>
|
43
|
+
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<div id="classHeader">
|
50
|
+
<table class="header-table">
|
51
|
+
<tr class="top-aligned-row">
|
52
|
+
<td><strong>Class</strong></td>
|
53
|
+
<td class="class-name-in-header">ThriftHadoopFileSystem::Open_result</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../../files/lib/thrift/thrift_hadoop_file_system_rb.html">
|
59
|
+
lib/thrift/thrift_hadoop_file_system.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
|
65
|
+
<tr class="top-aligned-row">
|
66
|
+
<td><strong>Parent:</strong></td>
|
67
|
+
<td>
|
68
|
+
Object
|
69
|
+
</td>
|
70
|
+
</tr>
|
71
|
+
</table>
|
72
|
+
</div>
|
73
|
+
<!-- banner header -->
|
74
|
+
|
75
|
+
<div id="bodyContent">
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
<div id="contextContent">
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
</div>
|
84
|
+
|
85
|
+
<div id="method-list">
|
86
|
+
<h3 class="section-bar">Methods</h3>
|
87
|
+
|
88
|
+
<div class="name-list">
|
89
|
+
<a href="#M000003">struct_fields</a>
|
90
|
+
<a href="#M000004">validate</a>
|
91
|
+
</div>
|
92
|
+
</div>
|
93
|
+
|
94
|
+
</div>
|
95
|
+
|
96
|
+
|
97
|
+
<!-- if includes -->
|
98
|
+
<div id="includes">
|
99
|
+
<h3 class="section-bar">Included Modules</h3>
|
100
|
+
|
101
|
+
<div id="includes-list">
|
102
|
+
<span class="include-name">::Thrift::Struct</span>
|
103
|
+
<span class="include-name">::Thrift::Struct_Union</span>
|
104
|
+
</div>
|
105
|
+
</div>
|
106
|
+
|
107
|
+
<div id="section">
|
108
|
+
|
109
|
+
|
110
|
+
<div id="constants-list">
|
111
|
+
<h3 class="section-bar">Constants</h3>
|
112
|
+
|
113
|
+
<div class="name-list">
|
114
|
+
<table summary="Constants">
|
115
|
+
<tr class="top-aligned-row context-row">
|
116
|
+
<td class="context-item-name">SUCCESS</td>
|
117
|
+
<td>=</td>
|
118
|
+
<td class="context-item-value">0</td>
|
119
|
+
</tr>
|
120
|
+
<tr class="top-aligned-row context-row">
|
121
|
+
<td class="context-item-name">OUCH</td>
|
122
|
+
<td>=</td>
|
123
|
+
<td class="context-item-value">1</td>
|
124
|
+
</tr>
|
125
|
+
<tr class="top-aligned-row context-row">
|
126
|
+
<td class="context-item-name">FIELDS</td>
|
127
|
+
<td>=</td>
|
128
|
+
<td class="context-item-value">{ SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ThriftHandle}, OUCH => {:type => ::Thrift::Types::STRUCT, :name => 'ouch', :class => ThriftIOException}</td>
|
129
|
+
</tr>
|
130
|
+
</table>
|
131
|
+
</div>
|
132
|
+
</div>
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
<!-- if method_list -->
|
140
|
+
<div id="methods">
|
141
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
142
|
+
|
143
|
+
<div id="method-M000003" class="method-detail">
|
144
|
+
<a name="M000003"></a>
|
145
|
+
|
146
|
+
<div class="method-heading">
|
147
|
+
<a href="#M000003" class="method-signature">
|
148
|
+
<span class="method-name">struct_fields</span><span class="method-args">()</span>
|
149
|
+
</a>
|
150
|
+
</div>
|
151
|
+
|
152
|
+
<div class="method-description">
|
153
|
+
<p><a class="source-toggle" href="#"
|
154
|
+
onclick="toggleCode('M000003-source');return false;">[Source]</a></p>
|
155
|
+
<div class="method-source-code" id="M000003-source">
|
156
|
+
<pre>
|
157
|
+
<span class="ruby-comment cmt"># File lib/thrift/thrift_hadoop_file_system.rb, line 687</span>
|
158
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">struct_fields</span>; <span class="ruby-constant">FIELDS</span>; <span class="ruby-keyword kw">end</span>
|
159
|
+
</pre>
|
160
|
+
</div>
|
161
|
+
</div>
|
162
|
+
</div>
|
163
|
+
|
164
|
+
<div id="method-M000004" class="method-detail">
|
165
|
+
<a name="M000004"></a>
|
166
|
+
|
167
|
+
<div class="method-heading">
|
168
|
+
<a href="#M000004" class="method-signature">
|
169
|
+
<span class="method-name">validate</span><span class="method-args">()</span>
|
170
|
+
</a>
|
171
|
+
</div>
|
172
|
+
|
173
|
+
<div class="method-description">
|
174
|
+
<p><a class="source-toggle" href="#"
|
175
|
+
onclick="toggleCode('M000004-source');return false;">[Source]</a></p>
|
176
|
+
<div class="method-source-code" id="M000004-source">
|
177
|
+
<pre>
|
178
|
+
<span class="ruby-comment cmt"># File lib/thrift/thrift_hadoop_file_system.rb, line 689</span>
|
179
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">validate</span>
|
180
|
+
<span class="ruby-keyword kw">end</span>
|
181
|
+
</pre>
|
182
|
+
</div>
|
183
|
+
</div>
|
184
|
+
</div>
|
185
|
+
|
186
|
+
|
187
|
+
</div>
|
188
|
+
|
189
|
+
|
190
|
+
</div>
|
191
|
+
|
192
|
+
|
193
|
+
<div id="validator-badges">
|
194
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
195
|
+
</div>
|
196
|
+
|
197
|
+
</body>
|
198
|
+
</html>
|