1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
---|
2 | <!--NewPage--> |
---|
3 | <HTML> |
---|
4 | <HEAD> |
---|
5 | <!-- Generated by javadoc (build 1.6.0_07) on Tue Sep 01 20:56:56 UTC 2009 --> |
---|
6 | <TITLE> |
---|
7 | Counters.Group (Hadoop 0.20.1 API) |
---|
8 | </TITLE> |
---|
9 | |
---|
10 | <META NAME="date" CONTENT="2009-09-01"> |
---|
11 | |
---|
12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
---|
13 | |
---|
14 | <SCRIPT type="text/javascript"> |
---|
15 | function windowTitle() |
---|
16 | { |
---|
17 | if (location.href.indexOf('is-external=true') == -1) { |
---|
18 | parent.document.title="Counters.Group (Hadoop 0.20.1 API)"; |
---|
19 | } |
---|
20 | } |
---|
21 | </SCRIPT> |
---|
22 | <NOSCRIPT> |
---|
23 | </NOSCRIPT> |
---|
24 | |
---|
25 | </HEAD> |
---|
26 | |
---|
27 | <BODY BGCOLOR="white" onload="windowTitle();"> |
---|
28 | <HR> |
---|
29 | |
---|
30 | |
---|
31 | <!-- ========= START OF TOP NAVBAR ======= --> |
---|
32 | <A NAME="navbar_top"><!-- --></A> |
---|
33 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
---|
34 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
35 | <TR> |
---|
36 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
37 | <A NAME="navbar_top_firstrow"><!-- --></A> |
---|
38 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
39 | <TR ALIGN="center" VALIGN="top"> |
---|
40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
42 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
43 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Counters.Group.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
44 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
45 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
46 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
47 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
48 | </TR> |
---|
49 | </TABLE> |
---|
50 | </TD> |
---|
51 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
52 | </EM> |
---|
53 | </TD> |
---|
54 | </TR> |
---|
55 | |
---|
56 | <TR> |
---|
57 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
58 | <A HREF="../../../../org/apache/hadoop/mapred/Counters.Counter.html" title="class in org.apache.hadoop.mapred"><B>PREV CLASS</B></A> |
---|
59 | <A HREF="../../../../org/apache/hadoop/mapred/DefaultJobHistoryParser.html" title="class in org.apache.hadoop.mapred"><B>NEXT CLASS</B></A></FONT></TD> |
---|
60 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
61 | <A HREF="../../../../index.html?org/apache/hadoop/mapred/Counters.Group.html" target="_top"><B>FRAMES</B></A> |
---|
62 | <A HREF="Counters.Group.html" target="_top"><B>NO FRAMES</B></A> |
---|
63 | <SCRIPT type="text/javascript"> |
---|
64 | <!-- |
---|
65 | if(window==top) { |
---|
66 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
67 | } |
---|
68 | //--> |
---|
69 | </SCRIPT> |
---|
70 | <NOSCRIPT> |
---|
71 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
72 | </NOSCRIPT> |
---|
73 | |
---|
74 | |
---|
75 | </FONT></TD> |
---|
76 | </TR> |
---|
77 | <TR> |
---|
78 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
79 | SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
80 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
81 | DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
82 | </TR> |
---|
83 | </TABLE> |
---|
84 | <A NAME="skip-navbar_top"></A> |
---|
85 | <!-- ========= END OF TOP NAVBAR ========= --> |
---|
86 | |
---|
87 | <HR> |
---|
88 | <!-- ======== START OF CLASS DATA ======== --> |
---|
89 | <H2> |
---|
90 | <FONT SIZE="-1"> |
---|
91 | org.apache.hadoop.mapred</FONT> |
---|
92 | <BR> |
---|
93 | Class Counters.Group</H2> |
---|
94 | <PRE> |
---|
95 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
---|
96 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.hadoop.mapred.Counters.Group</B> |
---|
97 | </PRE> |
---|
98 | <DL> |
---|
99 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A><<A HREF="../../../../org/apache/hadoop/mapred/Counters.Counter.html" title="class in org.apache.hadoop.mapred">Counters.Counter</A>>, <A HREF="../../../../org/apache/hadoop/io/Writable.html" title="interface in org.apache.hadoop.io">Writable</A></DD> |
---|
100 | </DL> |
---|
101 | <DL> |
---|
102 | <DT><B>Enclosing class:</B><DD><A HREF="../../../../org/apache/hadoop/mapred/Counters.html" title="class in org.apache.hadoop.mapred">Counters</A></DD> |
---|
103 | </DL> |
---|
104 | <HR> |
---|
105 | <DL> |
---|
106 | <DT><PRE>public static class <B>Counters.Group</B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../../org/apache/hadoop/io/Writable.html" title="interface in org.apache.hadoop.io">Writable</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A><<A HREF="../../../../org/apache/hadoop/mapred/Counters.Counter.html" title="class in org.apache.hadoop.mapred">Counters.Counter</A>></DL> |
---|
107 | </PRE> |
---|
108 | |
---|
109 | <P> |
---|
110 | <code>Group</code> of counters, comprising of counters from a particular |
---|
111 | counter <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><CODE>Enum</CODE></A> class. |
---|
112 | |
---|
113 | <p><code>Group</code>handles localization of the class name and the |
---|
114 | counter names.</p> |
---|
115 | <P> |
---|
116 | |
---|
117 | <P> |
---|
118 | <HR> |
---|
119 | |
---|
120 | <P> |
---|
121 | |
---|
122 | <!-- ========== METHOD SUMMARY =========== --> |
---|
123 | |
---|
124 | <A NAME="method_summary"><!-- --></A> |
---|
125 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
126 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
127 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
128 | <B>Method Summary</B></FONT></TH> |
---|
129 | </TR> |
---|
130 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
131 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
132 | <CODE> boolean</CODE></FONT></TD> |
---|
133 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.Group.html#equals(java.lang.Object)">equals</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</CODE> |
---|
134 | |
---|
135 | <BR> |
---|
136 | Checks for (content) equality of Groups</TD> |
---|
137 | </TR> |
---|
138 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
139 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
140 | <CODE> <A HREF="../../../../org/apache/hadoop/mapred/Counters.Counter.html" title="class in org.apache.hadoop.mapred">Counters.Counter</A></CODE></FONT></TD> |
---|
141 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.Group.html#getCounter(int, java.lang.String)">getCounter</A></B>(int id, |
---|
142 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE> |
---|
143 | |
---|
144 | <BR> |
---|
145 | <B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/hadoop/mapred/Counters.Group.html#getCounter(java.lang.String)"><CODE>getCounter(String)</CODE></A> instead</I></TD> |
---|
146 | </TR> |
---|
147 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
148 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
149 | <CODE> long</CODE></FONT></TD> |
---|
150 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.Group.html#getCounter(java.lang.String)">getCounter</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> counterName)</CODE> |
---|
151 | |
---|
152 | <BR> |
---|
153 | Returns the value of the specified counter, or 0 if the counter does |
---|
154 | not exist.</TD> |
---|
155 | </TR> |
---|
156 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
157 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
158 | <CODE> <A HREF="../../../../org/apache/hadoop/mapred/Counters.Counter.html" title="class in org.apache.hadoop.mapred">Counters.Counter</A></CODE></FONT></TD> |
---|
159 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.Group.html#getCounterForName(java.lang.String)">getCounterForName</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE> |
---|
160 | |
---|
161 | <BR> |
---|
162 | Get the counter for the given name and create it if it doesn't exist.</TD> |
---|
163 | </TR> |
---|
164 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
165 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
166 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
167 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.Group.html#getDisplayName()">getDisplayName</A></B>()</CODE> |
---|
168 | |
---|
169 | <BR> |
---|
170 | Returns localized name of the group.</TD> |
---|
171 | </TR> |
---|
172 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
173 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
174 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
175 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.Group.html#getName()">getName</A></B>()</CODE> |
---|
176 | |
---|
177 | <BR> |
---|
178 | Returns raw name of the group.</TD> |
---|
179 | </TR> |
---|
180 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
181 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
182 | <CODE> int</CODE></FONT></TD> |
---|
183 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.Group.html#hashCode()">hashCode</A></B>()</CODE> |
---|
184 | |
---|
185 | <BR> |
---|
186 | </TD> |
---|
187 | </TR> |
---|
188 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
189 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
190 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A><<A HREF="../../../../org/apache/hadoop/mapred/Counters.Counter.html" title="class in org.apache.hadoop.mapred">Counters.Counter</A>></CODE></FONT></TD> |
---|
191 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.Group.html#iterator()">iterator</A></B>()</CODE> |
---|
192 | |
---|
193 | <BR> |
---|
194 | </TD> |
---|
195 | </TR> |
---|
196 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
197 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
198 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
199 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.Group.html#makeEscapedCompactString()">makeEscapedCompactString</A></B>()</CODE> |
---|
200 | |
---|
201 | <BR> |
---|
202 | Returns the compact stringified version of the group in the format |
---|
203 | {(actual-name)(display-name)(value)[][][]} where [] are compact strings for the |
---|
204 | counters within.</TD> |
---|
205 | </TR> |
---|
206 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
207 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
208 | <CODE> void</CODE></FONT></TD> |
---|
209 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.Group.html#readFields(java.io.DataInput)">readFields</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/DataInput.html?is-external=true" title="class or interface in java.io">DataInput</A> in)</CODE> |
---|
210 | |
---|
211 | <BR> |
---|
212 | Deserialize the fields of this object from <code>in</code>.</TD> |
---|
213 | </TR> |
---|
214 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
215 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
216 | <CODE> void</CODE></FONT></TD> |
---|
217 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.Group.html#setDisplayName(java.lang.String)">setDisplayName</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> displayName)</CODE> |
---|
218 | |
---|
219 | <BR> |
---|
220 | Set the display name</TD> |
---|
221 | </TR> |
---|
222 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
223 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
224 | <CODE> int</CODE></FONT></TD> |
---|
225 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.Group.html#size()">size</A></B>()</CODE> |
---|
226 | |
---|
227 | <BR> |
---|
228 | Returns the number of counters in this group.</TD> |
---|
229 | </TR> |
---|
230 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
231 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
232 | <CODE> void</CODE></FONT></TD> |
---|
233 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/mapred/Counters.Group.html#write(java.io.DataOutput)">write</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</A> out)</CODE> |
---|
234 | |
---|
235 | <BR> |
---|
236 | Serialize the fields of this object to <code>out</code>.</TD> |
---|
237 | </TR> |
---|
238 | </TABLE> |
---|
239 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
240 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
241 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
242 | <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> |
---|
243 | </TR> |
---|
244 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
245 | <TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> |
---|
246 | </TR> |
---|
247 | </TABLE> |
---|
248 | |
---|
249 | <P> |
---|
250 | |
---|
251 | <!-- ============ METHOD DETAIL ========== --> |
---|
252 | |
---|
253 | <A NAME="method_detail"><!-- --></A> |
---|
254 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
255 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
256 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
257 | <B>Method Detail</B></FONT></TH> |
---|
258 | </TR> |
---|
259 | </TABLE> |
---|
260 | |
---|
261 | <A NAME="getName()"><!-- --></A><H3> |
---|
262 | getName</H3> |
---|
263 | <PRE> |
---|
264 | public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getName</B>()</PRE> |
---|
265 | <DL> |
---|
266 | <DD>Returns raw name of the group. This is the name of the enum class |
---|
267 | for this group of counters. |
---|
268 | <P> |
---|
269 | <DD><DL> |
---|
270 | </DL> |
---|
271 | </DD> |
---|
272 | <DD><DL> |
---|
273 | </DL> |
---|
274 | </DD> |
---|
275 | </DL> |
---|
276 | <HR> |
---|
277 | |
---|
278 | <A NAME="getDisplayName()"><!-- --></A><H3> |
---|
279 | getDisplayName</H3> |
---|
280 | <PRE> |
---|
281 | public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getDisplayName</B>()</PRE> |
---|
282 | <DL> |
---|
283 | <DD>Returns localized name of the group. This is the same as getName() by |
---|
284 | default, but different if an appropriate ResourceBundle is found. |
---|
285 | <P> |
---|
286 | <DD><DL> |
---|
287 | </DL> |
---|
288 | </DD> |
---|
289 | <DD><DL> |
---|
290 | </DL> |
---|
291 | </DD> |
---|
292 | </DL> |
---|
293 | <HR> |
---|
294 | |
---|
295 | <A NAME="setDisplayName(java.lang.String)"><!-- --></A><H3> |
---|
296 | setDisplayName</H3> |
---|
297 | <PRE> |
---|
298 | public void <B>setDisplayName</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> displayName)</PRE> |
---|
299 | <DL> |
---|
300 | <DD>Set the display name |
---|
301 | <P> |
---|
302 | <DD><DL> |
---|
303 | </DL> |
---|
304 | </DD> |
---|
305 | <DD><DL> |
---|
306 | </DL> |
---|
307 | </DD> |
---|
308 | </DL> |
---|
309 | <HR> |
---|
310 | |
---|
311 | <A NAME="makeEscapedCompactString()"><!-- --></A><H3> |
---|
312 | makeEscapedCompactString</H3> |
---|
313 | <PRE> |
---|
314 | public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>makeEscapedCompactString</B>()</PRE> |
---|
315 | <DL> |
---|
316 | <DD>Returns the compact stringified version of the group in the format |
---|
317 | {(actual-name)(display-name)(value)[][][]} where [] are compact strings for the |
---|
318 | counters within. |
---|
319 | <P> |
---|
320 | <DD><DL> |
---|
321 | </DL> |
---|
322 | </DD> |
---|
323 | <DD><DL> |
---|
324 | </DL> |
---|
325 | </DD> |
---|
326 | </DL> |
---|
327 | <HR> |
---|
328 | |
---|
329 | <A NAME="hashCode()"><!-- --></A><H3> |
---|
330 | hashCode</H3> |
---|
331 | <PRE> |
---|
332 | public int <B>hashCode</B>()</PRE> |
---|
333 | <DL> |
---|
334 | <DD><DL> |
---|
335 | <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL> |
---|
336 | </DD> |
---|
337 | <DD><DL> |
---|
338 | </DL> |
---|
339 | </DD> |
---|
340 | </DL> |
---|
341 | <HR> |
---|
342 | |
---|
343 | <A NAME="equals(java.lang.Object)"><!-- --></A><H3> |
---|
344 | equals</H3> |
---|
345 | <PRE> |
---|
346 | public boolean <B>equals</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> obj)</PRE> |
---|
347 | <DL> |
---|
348 | <DD>Checks for (content) equality of Groups |
---|
349 | <P> |
---|
350 | <DD><DL> |
---|
351 | <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL> |
---|
352 | </DD> |
---|
353 | <DD><DL> |
---|
354 | </DL> |
---|
355 | </DD> |
---|
356 | </DL> |
---|
357 | <HR> |
---|
358 | |
---|
359 | <A NAME="getCounter(java.lang.String)"><!-- --></A><H3> |
---|
360 | getCounter</H3> |
---|
361 | <PRE> |
---|
362 | public long <B>getCounter</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> counterName)</PRE> |
---|
363 | <DL> |
---|
364 | <DD>Returns the value of the specified counter, or 0 if the counter does |
---|
365 | not exist. |
---|
366 | <P> |
---|
367 | <DD><DL> |
---|
368 | </DL> |
---|
369 | </DD> |
---|
370 | <DD><DL> |
---|
371 | </DL> |
---|
372 | </DD> |
---|
373 | </DL> |
---|
374 | <HR> |
---|
375 | |
---|
376 | <A NAME="getCounter(int, java.lang.String)"><!-- --></A><H3> |
---|
377 | getCounter</H3> |
---|
378 | <PRE> |
---|
379 | <FONT SIZE="-1"><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</A> |
---|
380 | </FONT>public <A HREF="../../../../org/apache/hadoop/mapred/Counters.Counter.html" title="class in org.apache.hadoop.mapred">Counters.Counter</A> <B>getCounter</B>(int id, |
---|
381 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</PRE> |
---|
382 | <DL> |
---|
383 | <DD><B>Deprecated.</B> <I>use <A HREF="../../../../org/apache/hadoop/mapred/Counters.Group.html#getCounter(java.lang.String)"><CODE>getCounter(String)</CODE></A> instead</I> |
---|
384 | <P> |
---|
385 | <DD>Get the counter for the given id and create it if it doesn't exist. |
---|
386 | <P> |
---|
387 | <DD><DL> |
---|
388 | </DL> |
---|
389 | </DD> |
---|
390 | <DD><DL> |
---|
391 | <DT><B>Parameters:</B><DD><CODE>id</CODE> - the numeric id of the counter within the group<DD><CODE>name</CODE> - the internal counter name |
---|
392 | <DT><B>Returns:</B><DD>the counter</DL> |
---|
393 | </DD> |
---|
394 | </DL> |
---|
395 | <HR> |
---|
396 | |
---|
397 | <A NAME="getCounterForName(java.lang.String)"><!-- --></A><H3> |
---|
398 | getCounterForName</H3> |
---|
399 | <PRE> |
---|
400 | public <A HREF="../../../../org/apache/hadoop/mapred/Counters.Counter.html" title="class in org.apache.hadoop.mapred">Counters.Counter</A> <B>getCounterForName</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</PRE> |
---|
401 | <DL> |
---|
402 | <DD>Get the counter for the given name and create it if it doesn't exist. |
---|
403 | <P> |
---|
404 | <DD><DL> |
---|
405 | </DL> |
---|
406 | </DD> |
---|
407 | <DD><DL> |
---|
408 | <DT><B>Parameters:</B><DD><CODE>name</CODE> - the internal counter name |
---|
409 | <DT><B>Returns:</B><DD>the counter</DL> |
---|
410 | </DD> |
---|
411 | </DL> |
---|
412 | <HR> |
---|
413 | |
---|
414 | <A NAME="size()"><!-- --></A><H3> |
---|
415 | size</H3> |
---|
416 | <PRE> |
---|
417 | public int <B>size</B>()</PRE> |
---|
418 | <DL> |
---|
419 | <DD>Returns the number of counters in this group. |
---|
420 | <P> |
---|
421 | <DD><DL> |
---|
422 | </DL> |
---|
423 | </DD> |
---|
424 | <DD><DL> |
---|
425 | </DL> |
---|
426 | </DD> |
---|
427 | </DL> |
---|
428 | <HR> |
---|
429 | |
---|
430 | <A NAME="write(java.io.DataOutput)"><!-- --></A><H3> |
---|
431 | write</H3> |
---|
432 | <PRE> |
---|
433 | public void <B>write</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</A> out) |
---|
434 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
435 | <DL> |
---|
436 | <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/hadoop/io/Writable.html#write(java.io.DataOutput)">Writable</A></CODE></B></DD> |
---|
437 | <DD>Serialize the fields of this object to <code>out</code>. |
---|
438 | <P> |
---|
439 | <DD><DL> |
---|
440 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/hadoop/io/Writable.html#write(java.io.DataOutput)">write</A></CODE> in interface <CODE><A HREF="../../../../org/apache/hadoop/io/Writable.html" title="interface in org.apache.hadoop.io">Writable</A></CODE></DL> |
---|
441 | </DD> |
---|
442 | <DD><DL> |
---|
443 | <DT><B>Parameters:</B><DD><CODE>out</CODE> - <code>DataOuput</code> to serialize this object into. |
---|
444 | <DT><B>Throws:</B> |
---|
445 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
446 | </DD> |
---|
447 | </DL> |
---|
448 | <HR> |
---|
449 | |
---|
450 | <A NAME="readFields(java.io.DataInput)"><!-- --></A><H3> |
---|
451 | readFields</H3> |
---|
452 | <PRE> |
---|
453 | public void <B>readFields</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/DataInput.html?is-external=true" title="class or interface in java.io">DataInput</A> in) |
---|
454 | throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE> |
---|
455 | <DL> |
---|
456 | <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/apache/hadoop/io/Writable.html#readFields(java.io.DataInput)">Writable</A></CODE></B></DD> |
---|
457 | <DD>Deserialize the fields of this object from <code>in</code>. |
---|
458 | |
---|
459 | <p>For efficiency, implementations should attempt to re-use storage in the |
---|
460 | existing object where possible.</p> |
---|
461 | <P> |
---|
462 | <DD><DL> |
---|
463 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/hadoop/io/Writable.html#readFields(java.io.DataInput)">readFields</A></CODE> in interface <CODE><A HREF="../../../../org/apache/hadoop/io/Writable.html" title="interface in org.apache.hadoop.io">Writable</A></CODE></DL> |
---|
464 | </DD> |
---|
465 | <DD><DL> |
---|
466 | <DT><B>Parameters:</B><DD><CODE>in</CODE> - <code>DataInput</code> to deseriablize this object from. |
---|
467 | <DT><B>Throws:</B> |
---|
468 | <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL> |
---|
469 | </DD> |
---|
470 | </DL> |
---|
471 | <HR> |
---|
472 | |
---|
473 | <A NAME="iterator()"><!-- --></A><H3> |
---|
474 | iterator</H3> |
---|
475 | <PRE> |
---|
476 | public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A><<A HREF="../../../../org/apache/hadoop/mapred/Counters.Counter.html" title="class in org.apache.hadoop.mapred">Counters.Counter</A>> <B>iterator</B>()</PRE> |
---|
477 | <DL> |
---|
478 | <DD><DL> |
---|
479 | <DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true#iterator()" title="class or interface in java.lang">iterator</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A><<A HREF="../../../../org/apache/hadoop/mapred/Counters.Counter.html" title="class in org.apache.hadoop.mapred">Counters.Counter</A>></CODE></DL> |
---|
480 | </DD> |
---|
481 | <DD><DL> |
---|
482 | </DL> |
---|
483 | </DD> |
---|
484 | </DL> |
---|
485 | <!-- ========= END OF CLASS DATA ========= --> |
---|
486 | <HR> |
---|
487 | |
---|
488 | |
---|
489 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
490 | <A NAME="navbar_bottom"><!-- --></A> |
---|
491 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
492 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
493 | <TR> |
---|
494 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
495 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
496 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
497 | <TR ALIGN="center" VALIGN="top"> |
---|
498 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
499 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
500 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
501 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Counters.Group.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
502 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
503 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
504 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
505 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
506 | </TR> |
---|
507 | </TABLE> |
---|
508 | </TD> |
---|
509 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
510 | </EM> |
---|
511 | </TD> |
---|
512 | </TR> |
---|
513 | |
---|
514 | <TR> |
---|
515 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
516 | <A HREF="../../../../org/apache/hadoop/mapred/Counters.Counter.html" title="class in org.apache.hadoop.mapred"><B>PREV CLASS</B></A> |
---|
517 | <A HREF="../../../../org/apache/hadoop/mapred/DefaultJobHistoryParser.html" title="class in org.apache.hadoop.mapred"><B>NEXT CLASS</B></A></FONT></TD> |
---|
518 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
519 | <A HREF="../../../../index.html?org/apache/hadoop/mapred/Counters.Group.html" target="_top"><B>FRAMES</B></A> |
---|
520 | <A HREF="Counters.Group.html" target="_top"><B>NO FRAMES</B></A> |
---|
521 | <SCRIPT type="text/javascript"> |
---|
522 | <!-- |
---|
523 | if(window==top) { |
---|
524 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
525 | } |
---|
526 | //--> |
---|
527 | </SCRIPT> |
---|
528 | <NOSCRIPT> |
---|
529 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
530 | </NOSCRIPT> |
---|
531 | |
---|
532 | |
---|
533 | </FONT></TD> |
---|
534 | </TR> |
---|
535 | <TR> |
---|
536 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
537 | SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
538 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
539 | DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
540 | </TR> |
---|
541 | </TABLE> |
---|
542 | <A NAME="skip-navbar_bottom"></A> |
---|
543 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
544 | |
---|
545 | <HR> |
---|
546 | Copyright © 2009 The Apache Software Foundation |
---|
547 | </BODY> |
---|
548 | </HTML> |
---|