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,169 @@
|
|
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>Module: ThriftHadoopFileSystem</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>Module</strong></td>
|
53
|
+
<td class="class-name-in-header">ThriftHadoopFileSystem</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../files/lib/thrift/hadoopfs_types_rb.html">
|
59
|
+
lib/thrift/hadoopfs_types.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
<a href="../files/lib/thrift/thrift_hadoop_file_system_rb.html">
|
63
|
+
lib/thrift/thrift_hadoop_file_system.rb
|
64
|
+
</a>
|
65
|
+
<br />
|
66
|
+
</td>
|
67
|
+
</tr>
|
68
|
+
|
69
|
+
</table>
|
70
|
+
</div>
|
71
|
+
<!-- banner header -->
|
72
|
+
|
73
|
+
<div id="bodyContent">
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
<div id="contextContent">
|
78
|
+
|
79
|
+
<div id="description">
|
80
|
+
<p>
|
81
|
+
Autogenerated by Thrift
|
82
|
+
</p>
|
83
|
+
<p>
|
84
|
+
DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
85
|
+
</p>
|
86
|
+
|
87
|
+
</div>
|
88
|
+
|
89
|
+
|
90
|
+
</div>
|
91
|
+
|
92
|
+
|
93
|
+
</div>
|
94
|
+
|
95
|
+
|
96
|
+
<!-- if includes -->
|
97
|
+
|
98
|
+
<div id="section">
|
99
|
+
|
100
|
+
<div id="class-list">
|
101
|
+
<h3 class="section-bar">Classes and Modules</h3>
|
102
|
+
|
103
|
+
Class <a href="ThriftHadoopFileSystem/Append_args.html" class="link">ThriftHadoopFileSystem::Append_args</a><br />
|
104
|
+
Class <a href="ThriftHadoopFileSystem/Append_result.html" class="link">ThriftHadoopFileSystem::Append_result</a><br />
|
105
|
+
Class <a href="ThriftHadoopFileSystem/BlockLocation.html" class="link">ThriftHadoopFileSystem::BlockLocation</a><br />
|
106
|
+
Class <a href="ThriftHadoopFileSystem/Chmod_args.html" class="link">ThriftHadoopFileSystem::Chmod_args</a><br />
|
107
|
+
Class <a href="ThriftHadoopFileSystem/Chmod_result.html" class="link">ThriftHadoopFileSystem::Chmod_result</a><br />
|
108
|
+
Class <a href="ThriftHadoopFileSystem/Chown_args.html" class="link">ThriftHadoopFileSystem::Chown_args</a><br />
|
109
|
+
Class <a href="ThriftHadoopFileSystem/Chown_result.html" class="link">ThriftHadoopFileSystem::Chown_result</a><br />
|
110
|
+
Class <a href="ThriftHadoopFileSystem/Client.html" class="link">ThriftHadoopFileSystem::Client</a><br />
|
111
|
+
Class <a href="ThriftHadoopFileSystem/Close_args.html" class="link">ThriftHadoopFileSystem::Close_args</a><br />
|
112
|
+
Class <a href="ThriftHadoopFileSystem/Close_result.html" class="link">ThriftHadoopFileSystem::Close_result</a><br />
|
113
|
+
Class <a href="ThriftHadoopFileSystem/CreateFile_args.html" class="link">ThriftHadoopFileSystem::CreateFile_args</a><br />
|
114
|
+
Class <a href="ThriftHadoopFileSystem/CreateFile_result.html" class="link">ThriftHadoopFileSystem::CreateFile_result</a><br />
|
115
|
+
Class <a href="ThriftHadoopFileSystem/Create_args.html" class="link">ThriftHadoopFileSystem::Create_args</a><br />
|
116
|
+
Class <a href="ThriftHadoopFileSystem/Create_result.html" class="link">ThriftHadoopFileSystem::Create_result</a><br />
|
117
|
+
Class <a href="ThriftHadoopFileSystem/Exists_args.html" class="link">ThriftHadoopFileSystem::Exists_args</a><br />
|
118
|
+
Class <a href="ThriftHadoopFileSystem/Exists_result.html" class="link">ThriftHadoopFileSystem::Exists_result</a><br />
|
119
|
+
Class <a href="ThriftHadoopFileSystem/FileStatus.html" class="link">ThriftHadoopFileSystem::FileStatus</a><br />
|
120
|
+
Class <a href="ThriftHadoopFileSystem/GetFileBlockLocations_args.html" class="link">ThriftHadoopFileSystem::GetFileBlockLocations_args</a><br />
|
121
|
+
Class <a href="ThriftHadoopFileSystem/GetFileBlockLocations_result.html" class="link">ThriftHadoopFileSystem::GetFileBlockLocations_result</a><br />
|
122
|
+
Class <a href="ThriftHadoopFileSystem/ListStatus_args.html" class="link">ThriftHadoopFileSystem::ListStatus_args</a><br />
|
123
|
+
Class <a href="ThriftHadoopFileSystem/ListStatus_result.html" class="link">ThriftHadoopFileSystem::ListStatus_result</a><br />
|
124
|
+
Class <a href="ThriftHadoopFileSystem/MalformedInputException.html" class="link">ThriftHadoopFileSystem::MalformedInputException</a><br />
|
125
|
+
Class <a href="ThriftHadoopFileSystem/Mkdirs_args.html" class="link">ThriftHadoopFileSystem::Mkdirs_args</a><br />
|
126
|
+
Class <a href="ThriftHadoopFileSystem/Mkdirs_result.html" class="link">ThriftHadoopFileSystem::Mkdirs_result</a><br />
|
127
|
+
Class <a href="ThriftHadoopFileSystem/Open_args.html" class="link">ThriftHadoopFileSystem::Open_args</a><br />
|
128
|
+
Class <a href="ThriftHadoopFileSystem/Open_result.html" class="link">ThriftHadoopFileSystem::Open_result</a><br />
|
129
|
+
Class <a href="ThriftHadoopFileSystem/Pathname.html" class="link">ThriftHadoopFileSystem::Pathname</a><br />
|
130
|
+
Class <a href="ThriftHadoopFileSystem/Processor.html" class="link">ThriftHadoopFileSystem::Processor</a><br />
|
131
|
+
Class <a href="ThriftHadoopFileSystem/Read_args.html" class="link">ThriftHadoopFileSystem::Read_args</a><br />
|
132
|
+
Class <a href="ThriftHadoopFileSystem/Read_result.html" class="link">ThriftHadoopFileSystem::Read_result</a><br />
|
133
|
+
Class <a href="ThriftHadoopFileSystem/Rename_args.html" class="link">ThriftHadoopFileSystem::Rename_args</a><br />
|
134
|
+
Class <a href="ThriftHadoopFileSystem/Rename_result.html" class="link">ThriftHadoopFileSystem::Rename_result</a><br />
|
135
|
+
Class <a href="ThriftHadoopFileSystem/Rm_args.html" class="link">ThriftHadoopFileSystem::Rm_args</a><br />
|
136
|
+
Class <a href="ThriftHadoopFileSystem/Rm_result.html" class="link">ThriftHadoopFileSystem::Rm_result</a><br />
|
137
|
+
Class <a href="ThriftHadoopFileSystem/SetInactivityTimeoutPeriod_args.html" class="link">ThriftHadoopFileSystem::SetInactivityTimeoutPeriod_args</a><br />
|
138
|
+
Class <a href="ThriftHadoopFileSystem/SetInactivityTimeoutPeriod_result.html" class="link">ThriftHadoopFileSystem::SetInactivityTimeoutPeriod_result</a><br />
|
139
|
+
Class <a href="ThriftHadoopFileSystem/SetReplication_args.html" class="link">ThriftHadoopFileSystem::SetReplication_args</a><br />
|
140
|
+
Class <a href="ThriftHadoopFileSystem/SetReplication_result.html" class="link">ThriftHadoopFileSystem::SetReplication_result</a><br />
|
141
|
+
Class <a href="ThriftHadoopFileSystem/Shutdown_args.html" class="link">ThriftHadoopFileSystem::Shutdown_args</a><br />
|
142
|
+
Class <a href="ThriftHadoopFileSystem/Shutdown_result.html" class="link">ThriftHadoopFileSystem::Shutdown_result</a><br />
|
143
|
+
Class <a href="ThriftHadoopFileSystem/Stat_args.html" class="link">ThriftHadoopFileSystem::Stat_args</a><br />
|
144
|
+
Class <a href="ThriftHadoopFileSystem/Stat_result.html" class="link">ThriftHadoopFileSystem::Stat_result</a><br />
|
145
|
+
Class <a href="ThriftHadoopFileSystem/ThriftHandle.html" class="link">ThriftHadoopFileSystem::ThriftHandle</a><br />
|
146
|
+
Class <a href="ThriftHadoopFileSystem/ThriftIOException.html" class="link">ThriftHadoopFileSystem::ThriftIOException</a><br />
|
147
|
+
Class <a href="ThriftHadoopFileSystem/Write_args.html" class="link">ThriftHadoopFileSystem::Write_args</a><br />
|
148
|
+
Class <a href="ThriftHadoopFileSystem/Write_result.html" class="link">ThriftHadoopFileSystem::Write_result</a><br />
|
149
|
+
|
150
|
+
</div>
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
<!-- if method_list -->
|
159
|
+
|
160
|
+
|
161
|
+
</div>
|
162
|
+
|
163
|
+
|
164
|
+
<div id="validator-badges">
|
165
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
166
|
+
</div>
|
167
|
+
|
168
|
+
</body>
|
169
|
+
</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::Append_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::Append_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="#M000034">struct_fields</a>
|
90
|
+
<a href="#M000035">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-M000034" class="method-detail">
|
139
|
+
<a name="M000034"></a>
|
140
|
+
|
141
|
+
<div class="method-heading">
|
142
|
+
<a href="#M000034" 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('M000034-source');return false;">[Source]</a></p>
|
150
|
+
<div class="method-source-code" id="M000034-source">
|
151
|
+
<pre>
|
152
|
+
<span class="ruby-comment cmt"># File lib/thrift/thrift_hadoop_file_system.rb, line 703</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-M000035" class="method-detail">
|
160
|
+
<a name="M000035"></a>
|
161
|
+
|
162
|
+
<div class="method-heading">
|
163
|
+
<a href="#M000035" 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('M000035-source');return false;">[Source]</a></p>
|
171
|
+
<div class="method-source-code" id="M000035-source">
|
172
|
+
<pre>
|
173
|
+
<span class="ruby-comment cmt"># File lib/thrift/thrift_hadoop_file_system.rb, line 705</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::Append_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::Append_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="#M000032">struct_fields</a>
|
90
|
+
<a href="#M000033">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-M000032" class="method-detail">
|
144
|
+
<a name="M000032"></a>
|
145
|
+
|
146
|
+
<div class="method-heading">
|
147
|
+
<a href="#M000032" 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('M000032-source');return false;">[Source]</a></p>
|
155
|
+
<div class="method-source-code" id="M000032-source">
|
156
|
+
<pre>
|
157
|
+
<span class="ruby-comment cmt"># File lib/thrift/thrift_hadoop_file_system.rb, line 721</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-M000033" class="method-detail">
|
165
|
+
<a name="M000033"></a>
|
166
|
+
|
167
|
+
<div class="method-heading">
|
168
|
+
<a href="#M000033" 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('M000033-source');return false;">[Source]</a></p>
|
176
|
+
<div class="method-source-code" id="M000033-source">
|
177
|
+
<pre>
|
178
|
+
<span class="ruby-comment cmt"># File lib/thrift/thrift_hadoop_file_system.rb, line 723</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>
|