[120] | 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:50 UTC 2009 --> |
---|
| 6 | <TITLE> |
---|
| 7 | ContentSummary (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="ContentSummary (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/ContentSummary.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/fs/ChecksumFileSystem.html" title="class in org.apache.hadoop.fs"><B>PREV CLASS</B></A> |
---|
| 59 | <A HREF="../../../../org/apache/hadoop/fs/DF.html" title="class in org.apache.hadoop.fs"><B>NEXT CLASS</B></A></FONT></TD> |
---|
| 60 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 61 | <A HREF="../../../../index.html?org/apache/hadoop/fs/ContentSummary.html" target="_top"><B>FRAMES</B></A> |
---|
| 62 | <A HREF="ContentSummary.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 | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
| 80 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 81 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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.fs</FONT> |
---|
| 92 | <BR> |
---|
| 93 | Class ContentSummary</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.fs.ContentSummary</B> |
---|
| 97 | </PRE> |
---|
| 98 | <DL> |
---|
| 99 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/apache/hadoop/io/Writable.html" title="interface in org.apache.hadoop.io">Writable</A></DD> |
---|
| 100 | </DL> |
---|
| 101 | <HR> |
---|
| 102 | <DL> |
---|
| 103 | <DT><PRE>public class <B>ContentSummary</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></DL> |
---|
| 104 | </PRE> |
---|
| 105 | |
---|
| 106 | <P> |
---|
| 107 | Store the summary of a content (a directory or a file). |
---|
| 108 | <P> |
---|
| 109 | |
---|
| 110 | <P> |
---|
| 111 | <HR> |
---|
| 112 | |
---|
| 113 | <P> |
---|
| 114 | |
---|
| 115 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
| 116 | |
---|
| 117 | <A NAME="constructor_summary"><!-- --></A> |
---|
| 118 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 119 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 120 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 121 | <B>Constructor Summary</B></FONT></TH> |
---|
| 122 | </TR> |
---|
| 123 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 124 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/ContentSummary.html#ContentSummary()">ContentSummary</A></B>()</CODE> |
---|
| 125 | |
---|
| 126 | <BR> |
---|
| 127 | Constructor</TD> |
---|
| 128 | </TR> |
---|
| 129 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 130 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/ContentSummary.html#ContentSummary(long, long, long)">ContentSummary</A></B>(long length, |
---|
| 131 | long fileCount, |
---|
| 132 | long directoryCount)</CODE> |
---|
| 133 | |
---|
| 134 | <BR> |
---|
| 135 | Constructor</TD> |
---|
| 136 | </TR> |
---|
| 137 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 138 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/ContentSummary.html#ContentSummary(long, long, long, long, long, long)">ContentSummary</A></B>(long length, |
---|
| 139 | long fileCount, |
---|
| 140 | long directoryCount, |
---|
| 141 | long quota, |
---|
| 142 | long spaceConsumed, |
---|
| 143 | long spaceQuota)</CODE> |
---|
| 144 | |
---|
| 145 | <BR> |
---|
| 146 | Constructor</TD> |
---|
| 147 | </TR> |
---|
| 148 | </TABLE> |
---|
| 149 | |
---|
| 150 | <!-- ========== METHOD SUMMARY =========== --> |
---|
| 151 | |
---|
| 152 | <A NAME="method_summary"><!-- --></A> |
---|
| 153 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 154 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 155 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 156 | <B>Method Summary</B></FONT></TH> |
---|
| 157 | </TR> |
---|
| 158 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 159 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 160 | <CODE> long</CODE></FONT></TD> |
---|
| 161 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/ContentSummary.html#getDirectoryCount()">getDirectoryCount</A></B>()</CODE> |
---|
| 162 | |
---|
| 163 | <BR> |
---|
| 164 | </TD> |
---|
| 165 | </TR> |
---|
| 166 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 167 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 168 | <CODE> long</CODE></FONT></TD> |
---|
| 169 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/ContentSummary.html#getFileCount()">getFileCount</A></B>()</CODE> |
---|
| 170 | |
---|
| 171 | <BR> |
---|
| 172 | </TD> |
---|
| 173 | </TR> |
---|
| 174 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 175 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 176 | <CODE>static <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> |
---|
| 177 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/ContentSummary.html#getHeader(boolean)">getHeader</A></B>(boolean qOption)</CODE> |
---|
| 178 | |
---|
| 179 | <BR> |
---|
| 180 | Return the header of the output.</TD> |
---|
| 181 | </TR> |
---|
| 182 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 183 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 184 | <CODE> long</CODE></FONT></TD> |
---|
| 185 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/ContentSummary.html#getLength()">getLength</A></B>()</CODE> |
---|
| 186 | |
---|
| 187 | <BR> |
---|
| 188 | </TD> |
---|
| 189 | </TR> |
---|
| 190 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 191 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 192 | <CODE> long</CODE></FONT></TD> |
---|
| 193 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/ContentSummary.html#getQuota()">getQuota</A></B>()</CODE> |
---|
| 194 | |
---|
| 195 | <BR> |
---|
| 196 | Return the directory quota</TD> |
---|
| 197 | </TR> |
---|
| 198 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 199 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 200 | <CODE> long</CODE></FONT></TD> |
---|
| 201 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/ContentSummary.html#getSpaceConsumed()">getSpaceConsumed</A></B>()</CODE> |
---|
| 202 | |
---|
| 203 | <BR> |
---|
| 204 | Retuns (disk) space consumed</TD> |
---|
| 205 | </TR> |
---|
| 206 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 207 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 208 | <CODE> long</CODE></FONT></TD> |
---|
| 209 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/ContentSummary.html#getSpaceQuota()">getSpaceQuota</A></B>()</CODE> |
---|
| 210 | |
---|
| 211 | <BR> |
---|
| 212 | Returns (disk) space quota</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/fs/ContentSummary.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> |
---|
| 218 | |
---|
| 219 | <BR> |
---|
| 220 | Deserialize the fields of this object from <code>in</code>.</TD> |
---|
| 221 | </TR> |
---|
| 222 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 223 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 224 | <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> |
---|
| 225 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/ContentSummary.html#toString()">toString</A></B>()</CODE> |
---|
| 226 | |
---|
| 227 | <BR> |
---|
| 228 | </TD> |
---|
| 229 | </TR> |
---|
| 230 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 231 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 232 | <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> |
---|
| 233 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/ContentSummary.html#toString(boolean)">toString</A></B>(boolean qOption)</CODE> |
---|
| 234 | |
---|
| 235 | <BR> |
---|
| 236 | Return the string representation of the object in the output format.</TD> |
---|
| 237 | </TR> |
---|
| 238 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 239 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 240 | <CODE> void</CODE></FONT></TD> |
---|
| 241 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/fs/ContentSummary.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> |
---|
| 242 | |
---|
| 243 | <BR> |
---|
| 244 | Serialize the fields of this object to <code>out</code>.</TD> |
---|
| 245 | </TR> |
---|
| 246 | </TABLE> |
---|
| 247 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
| 248 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 249 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
| 250 | <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> |
---|
| 251 | </TR> |
---|
| 252 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 253 | <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#equals(java.lang.Object)" title="class or interface in java.lang">equals</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#hashCode()" title="class or interface in java.lang">hashCode</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#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> |
---|
| 254 | </TR> |
---|
| 255 | </TABLE> |
---|
| 256 | |
---|
| 257 | <P> |
---|
| 258 | |
---|
| 259 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
| 260 | |
---|
| 261 | <A NAME="constructor_detail"><!-- --></A> |
---|
| 262 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 263 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 264 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 265 | <B>Constructor Detail</B></FONT></TH> |
---|
| 266 | </TR> |
---|
| 267 | </TABLE> |
---|
| 268 | |
---|
| 269 | <A NAME="ContentSummary()"><!-- --></A><H3> |
---|
| 270 | ContentSummary</H3> |
---|
| 271 | <PRE> |
---|
| 272 | public <B>ContentSummary</B>()</PRE> |
---|
| 273 | <DL> |
---|
| 274 | <DD>Constructor |
---|
| 275 | <P> |
---|
| 276 | </DL> |
---|
| 277 | <HR> |
---|
| 278 | |
---|
| 279 | <A NAME="ContentSummary(long, long, long)"><!-- --></A><H3> |
---|
| 280 | ContentSummary</H3> |
---|
| 281 | <PRE> |
---|
| 282 | public <B>ContentSummary</B>(long length, |
---|
| 283 | long fileCount, |
---|
| 284 | long directoryCount)</PRE> |
---|
| 285 | <DL> |
---|
| 286 | <DD>Constructor |
---|
| 287 | <P> |
---|
| 288 | </DL> |
---|
| 289 | <HR> |
---|
| 290 | |
---|
| 291 | <A NAME="ContentSummary(long, long, long, long, long, long)"><!-- --></A><H3> |
---|
| 292 | ContentSummary</H3> |
---|
| 293 | <PRE> |
---|
| 294 | public <B>ContentSummary</B>(long length, |
---|
| 295 | long fileCount, |
---|
| 296 | long directoryCount, |
---|
| 297 | long quota, |
---|
| 298 | long spaceConsumed, |
---|
| 299 | long spaceQuota)</PRE> |
---|
| 300 | <DL> |
---|
| 301 | <DD>Constructor |
---|
| 302 | <P> |
---|
| 303 | </DL> |
---|
| 304 | |
---|
| 305 | <!-- ============ METHOD DETAIL ========== --> |
---|
| 306 | |
---|
| 307 | <A NAME="method_detail"><!-- --></A> |
---|
| 308 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 309 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 310 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 311 | <B>Method Detail</B></FONT></TH> |
---|
| 312 | </TR> |
---|
| 313 | </TABLE> |
---|
| 314 | |
---|
| 315 | <A NAME="getLength()"><!-- --></A><H3> |
---|
| 316 | getLength</H3> |
---|
| 317 | <PRE> |
---|
| 318 | public long <B>getLength</B>()</PRE> |
---|
| 319 | <DL> |
---|
| 320 | <DD><DL> |
---|
| 321 | </DL> |
---|
| 322 | </DD> |
---|
| 323 | <DD><DL> |
---|
| 324 | |
---|
| 325 | <DT><B>Returns:</B><DD>the length</DL> |
---|
| 326 | </DD> |
---|
| 327 | </DL> |
---|
| 328 | <HR> |
---|
| 329 | |
---|
| 330 | <A NAME="getDirectoryCount()"><!-- --></A><H3> |
---|
| 331 | getDirectoryCount</H3> |
---|
| 332 | <PRE> |
---|
| 333 | public long <B>getDirectoryCount</B>()</PRE> |
---|
| 334 | <DL> |
---|
| 335 | <DD><DL> |
---|
| 336 | </DL> |
---|
| 337 | </DD> |
---|
| 338 | <DD><DL> |
---|
| 339 | |
---|
| 340 | <DT><B>Returns:</B><DD>the directory count</DL> |
---|
| 341 | </DD> |
---|
| 342 | </DL> |
---|
| 343 | <HR> |
---|
| 344 | |
---|
| 345 | <A NAME="getFileCount()"><!-- --></A><H3> |
---|
| 346 | getFileCount</H3> |
---|
| 347 | <PRE> |
---|
| 348 | public long <B>getFileCount</B>()</PRE> |
---|
| 349 | <DL> |
---|
| 350 | <DD><DL> |
---|
| 351 | </DL> |
---|
| 352 | </DD> |
---|
| 353 | <DD><DL> |
---|
| 354 | |
---|
| 355 | <DT><B>Returns:</B><DD>the file count</DL> |
---|
| 356 | </DD> |
---|
| 357 | </DL> |
---|
| 358 | <HR> |
---|
| 359 | |
---|
| 360 | <A NAME="getQuota()"><!-- --></A><H3> |
---|
| 361 | getQuota</H3> |
---|
| 362 | <PRE> |
---|
| 363 | public long <B>getQuota</B>()</PRE> |
---|
| 364 | <DL> |
---|
| 365 | <DD>Return the directory quota |
---|
| 366 | <P> |
---|
| 367 | <DD><DL> |
---|
| 368 | </DL> |
---|
| 369 | </DD> |
---|
| 370 | <DD><DL> |
---|
| 371 | </DL> |
---|
| 372 | </DD> |
---|
| 373 | </DL> |
---|
| 374 | <HR> |
---|
| 375 | |
---|
| 376 | <A NAME="getSpaceConsumed()"><!-- --></A><H3> |
---|
| 377 | getSpaceConsumed</H3> |
---|
| 378 | <PRE> |
---|
| 379 | public long <B>getSpaceConsumed</B>()</PRE> |
---|
| 380 | <DL> |
---|
| 381 | <DD>Retuns (disk) space consumed |
---|
| 382 | <P> |
---|
| 383 | <DD><DL> |
---|
| 384 | </DL> |
---|
| 385 | </DD> |
---|
| 386 | <DD><DL> |
---|
| 387 | </DL> |
---|
| 388 | </DD> |
---|
| 389 | </DL> |
---|
| 390 | <HR> |
---|
| 391 | |
---|
| 392 | <A NAME="getSpaceQuota()"><!-- --></A><H3> |
---|
| 393 | getSpaceQuota</H3> |
---|
| 394 | <PRE> |
---|
| 395 | public long <B>getSpaceQuota</B>()</PRE> |
---|
| 396 | <DL> |
---|
| 397 | <DD>Returns (disk) space quota |
---|
| 398 | <P> |
---|
| 399 | <DD><DL> |
---|
| 400 | </DL> |
---|
| 401 | </DD> |
---|
| 402 | <DD><DL> |
---|
| 403 | </DL> |
---|
| 404 | </DD> |
---|
| 405 | </DL> |
---|
| 406 | <HR> |
---|
| 407 | |
---|
| 408 | <A NAME="write(java.io.DataOutput)"><!-- --></A><H3> |
---|
| 409 | write</H3> |
---|
| 410 | <PRE> |
---|
| 411 | 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) |
---|
| 412 | 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> |
---|
| 413 | <DL> |
---|
| 414 | <DD>Serialize the fields of this object to <code>out</code>. |
---|
| 415 | <P> |
---|
| 416 | <DD><DL> |
---|
| 417 | <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> |
---|
| 418 | </DD> |
---|
| 419 | <DD><DL> |
---|
| 420 | <DT><B>Parameters:</B><DD><CODE>out</CODE> - <code>DataOuput</code> to serialize this object into. |
---|
| 421 | <DT><B>Throws:</B> |
---|
| 422 | <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> |
---|
| 423 | </DD> |
---|
| 424 | </DL> |
---|
| 425 | <HR> |
---|
| 426 | |
---|
| 427 | <A NAME="readFields(java.io.DataInput)"><!-- --></A><H3> |
---|
| 428 | readFields</H3> |
---|
| 429 | <PRE> |
---|
| 430 | 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) |
---|
| 431 | 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> |
---|
| 432 | <DL> |
---|
| 433 | <DD>Deserialize the fields of this object from <code>in</code>. |
---|
| 434 | |
---|
| 435 | <p>For efficiency, implementations should attempt to re-use storage in the |
---|
| 436 | existing object where possible.</p> |
---|
| 437 | <P> |
---|
| 438 | <DD><DL> |
---|
| 439 | <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> |
---|
| 440 | </DD> |
---|
| 441 | <DD><DL> |
---|
| 442 | <DT><B>Parameters:</B><DD><CODE>in</CODE> - <code>DataInput</code> to deseriablize this object from. |
---|
| 443 | <DT><B>Throws:</B> |
---|
| 444 | <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> |
---|
| 445 | </DD> |
---|
| 446 | </DL> |
---|
| 447 | <HR> |
---|
| 448 | |
---|
| 449 | <A NAME="getHeader(boolean)"><!-- --></A><H3> |
---|
| 450 | getHeader</H3> |
---|
| 451 | <PRE> |
---|
| 452 | public static <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>getHeader</B>(boolean qOption)</PRE> |
---|
| 453 | <DL> |
---|
| 454 | <DD>Return the header of the output. |
---|
| 455 | if qOption is false, output directory count, file count, and content size; |
---|
| 456 | if qOption is true, output quota and remaining quota as well. |
---|
| 457 | <P> |
---|
| 458 | <DD><DL> |
---|
| 459 | </DL> |
---|
| 460 | </DD> |
---|
| 461 | <DD><DL> |
---|
| 462 | <DT><B>Parameters:</B><DD><CODE>qOption</CODE> - a flag indicating if quota needs to be printed or not |
---|
| 463 | <DT><B>Returns:</B><DD>the header of the output</DL> |
---|
| 464 | </DD> |
---|
| 465 | </DL> |
---|
| 466 | <HR> |
---|
| 467 | |
---|
| 468 | <A NAME="toString()"><!-- --></A><H3> |
---|
| 469 | toString</H3> |
---|
| 470 | <PRE> |
---|
| 471 | 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>toString</B>()</PRE> |
---|
| 472 | <DL> |
---|
| 473 | <DD> |
---|
| 474 | <P> |
---|
| 475 | <DD><DL> |
---|
| 476 | <DT><B>Overrides:</B><DD><CODE><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></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> |
---|
| 477 | </DD> |
---|
| 478 | <DD><DL> |
---|
| 479 | </DL> |
---|
| 480 | </DD> |
---|
| 481 | </DL> |
---|
| 482 | <HR> |
---|
| 483 | |
---|
| 484 | <A NAME="toString(boolean)"><!-- --></A><H3> |
---|
| 485 | toString</H3> |
---|
| 486 | <PRE> |
---|
| 487 | 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>toString</B>(boolean qOption)</PRE> |
---|
| 488 | <DL> |
---|
| 489 | <DD>Return the string representation of the object in the output format. |
---|
| 490 | if qOption is false, output directory count, file count, and content size; |
---|
| 491 | if qOption is true, output quota and remaining quota as well. |
---|
| 492 | <P> |
---|
| 493 | <DD><DL> |
---|
| 494 | </DL> |
---|
| 495 | </DD> |
---|
| 496 | <DD><DL> |
---|
| 497 | <DT><B>Parameters:</B><DD><CODE>qOption</CODE> - a flag indicating if quota needs to be printed or not |
---|
| 498 | <DT><B>Returns:</B><DD>the string representation of the object</DL> |
---|
| 499 | </DD> |
---|
| 500 | </DL> |
---|
| 501 | <!-- ========= END OF CLASS DATA ========= --> |
---|
| 502 | <HR> |
---|
| 503 | |
---|
| 504 | |
---|
| 505 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
| 506 | <A NAME="navbar_bottom"><!-- --></A> |
---|
| 507 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
| 508 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
| 509 | <TR> |
---|
| 510 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
| 511 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
| 512 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
| 513 | <TR ALIGN="center" VALIGN="top"> |
---|
| 514 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
| 515 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
| 516 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
| 517 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ContentSummary.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
| 518 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
| 519 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
| 520 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
| 521 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
| 522 | </TR> |
---|
| 523 | </TABLE> |
---|
| 524 | </TD> |
---|
| 525 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
| 526 | </EM> |
---|
| 527 | </TD> |
---|
| 528 | </TR> |
---|
| 529 | |
---|
| 530 | <TR> |
---|
| 531 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 532 | <A HREF="../../../../org/apache/hadoop/fs/ChecksumFileSystem.html" title="class in org.apache.hadoop.fs"><B>PREV CLASS</B></A> |
---|
| 533 | <A HREF="../../../../org/apache/hadoop/fs/DF.html" title="class in org.apache.hadoop.fs"><B>NEXT CLASS</B></A></FONT></TD> |
---|
| 534 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 535 | <A HREF="../../../../index.html?org/apache/hadoop/fs/ContentSummary.html" target="_top"><B>FRAMES</B></A> |
---|
| 536 | <A HREF="ContentSummary.html" target="_top"><B>NO FRAMES</B></A> |
---|
| 537 | <SCRIPT type="text/javascript"> |
---|
| 538 | <!-- |
---|
| 539 | if(window==top) { |
---|
| 540 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
| 541 | } |
---|
| 542 | //--> |
---|
| 543 | </SCRIPT> |
---|
| 544 | <NOSCRIPT> |
---|
| 545 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
| 546 | </NOSCRIPT> |
---|
| 547 | |
---|
| 548 | |
---|
| 549 | </FONT></TD> |
---|
| 550 | </TR> |
---|
| 551 | <TR> |
---|
| 552 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 553 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
| 554 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 555 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
| 556 | </TR> |
---|
| 557 | </TABLE> |
---|
| 558 | <A NAME="skip-navbar_bottom"></A> |
---|
| 559 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
| 560 | |
---|
| 561 | <HR> |
---|
| 562 | Copyright © 2009 The Apache Software Foundation |
---|
| 563 | </BODY> |
---|
| 564 | </HTML> |
---|