[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:55 UTC 2009 --> |
---|
| 6 | <TITLE> |
---|
| 7 | RecordOutput (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="RecordOutput (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/RecordOutput.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/record/RecordInput.html" title="interface in org.apache.hadoop.record"><B>PREV CLASS</B></A> |
---|
| 59 | <A HREF="../../../../org/apache/hadoop/record/Utils.html" title="class in org.apache.hadoop.record"><B>NEXT CLASS</B></A></FONT></TD> |
---|
| 60 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 61 | <A HREF="../../../../index.html?org/apache/hadoop/record/RecordOutput.html" target="_top"><B>FRAMES</B></A> |
---|
| 62 | <A HREF="RecordOutput.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.record</FONT> |
---|
| 92 | <BR> |
---|
| 93 | Interface RecordOutput</H2> |
---|
| 94 | <DL> |
---|
| 95 | <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../org/apache/hadoop/record/BinaryRecordOutput.html" title="class in org.apache.hadoop.record">BinaryRecordOutput</A>, <A HREF="../../../../org/apache/hadoop/record/CsvRecordOutput.html" title="class in org.apache.hadoop.record">CsvRecordOutput</A>, <A HREF="../../../../org/apache/hadoop/record/XmlRecordOutput.html" title="class in org.apache.hadoop.record">XmlRecordOutput</A></DD> |
---|
| 96 | </DL> |
---|
| 97 | <HR> |
---|
| 98 | <DL> |
---|
| 99 | <DT><PRE>public interface <B>RecordOutput</B></DL> |
---|
| 100 | </PRE> |
---|
| 101 | |
---|
| 102 | <P> |
---|
| 103 | Interface that alll the serializers have to implement. |
---|
| 104 | <P> |
---|
| 105 | |
---|
| 106 | <P> |
---|
| 107 | <HR> |
---|
| 108 | |
---|
| 109 | <P> |
---|
| 110 | |
---|
| 111 | <!-- ========== METHOD SUMMARY =========== --> |
---|
| 112 | |
---|
| 113 | <A NAME="method_summary"><!-- --></A> |
---|
| 114 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 115 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 116 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 117 | <B>Method Summary</B></FONT></TH> |
---|
| 118 | </TR> |
---|
| 119 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 120 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 121 | <CODE> void</CODE></FONT></TD> |
---|
| 122 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/record/RecordOutput.html#endMap(java.util.TreeMap, java.lang.String)">endMap</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/TreeMap.html?is-external=true" title="class or interface in java.util">TreeMap</A> m, |
---|
| 123 | <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> tag)</CODE> |
---|
| 124 | |
---|
| 125 | <BR> |
---|
| 126 | Mark the end of a serialized map.</TD> |
---|
| 127 | </TR> |
---|
| 128 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 129 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 130 | <CODE> void</CODE></FONT></TD> |
---|
| 131 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/record/RecordOutput.html#endRecord(org.apache.hadoop.record.Record, java.lang.String)">endRecord</A></B>(<A HREF="../../../../org/apache/hadoop/record/Record.html" title="class in org.apache.hadoop.record">Record</A> r, |
---|
| 132 | <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> tag)</CODE> |
---|
| 133 | |
---|
| 134 | <BR> |
---|
| 135 | Mark the end of a serialized record.</TD> |
---|
| 136 | </TR> |
---|
| 137 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 138 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 139 | <CODE> void</CODE></FONT></TD> |
---|
| 140 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/record/RecordOutput.html#endVector(java.util.ArrayList, java.lang.String)">endVector</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A> v, |
---|
| 141 | <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> tag)</CODE> |
---|
| 142 | |
---|
| 143 | <BR> |
---|
| 144 | Mark the end of a serialized vector.</TD> |
---|
| 145 | </TR> |
---|
| 146 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 147 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 148 | <CODE> void</CODE></FONT></TD> |
---|
| 149 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/record/RecordOutput.html#startMap(java.util.TreeMap, java.lang.String)">startMap</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/TreeMap.html?is-external=true" title="class or interface in java.util">TreeMap</A> m, |
---|
| 150 | <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> tag)</CODE> |
---|
| 151 | |
---|
| 152 | <BR> |
---|
| 153 | Mark the start of a map to be serialized.</TD> |
---|
| 154 | </TR> |
---|
| 155 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 156 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 157 | <CODE> void</CODE></FONT></TD> |
---|
| 158 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/record/RecordOutput.html#startRecord(org.apache.hadoop.record.Record, java.lang.String)">startRecord</A></B>(<A HREF="../../../../org/apache/hadoop/record/Record.html" title="class in org.apache.hadoop.record">Record</A> r, |
---|
| 159 | <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> tag)</CODE> |
---|
| 160 | |
---|
| 161 | <BR> |
---|
| 162 | Mark the start of a record to be serialized.</TD> |
---|
| 163 | </TR> |
---|
| 164 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 165 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 166 | <CODE> void</CODE></FONT></TD> |
---|
| 167 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/record/RecordOutput.html#startVector(java.util.ArrayList, java.lang.String)">startVector</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A> v, |
---|
| 168 | <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> tag)</CODE> |
---|
| 169 | |
---|
| 170 | <BR> |
---|
| 171 | Mark the start of a vector to be serialized.</TD> |
---|
| 172 | </TR> |
---|
| 173 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 174 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 175 | <CODE> void</CODE></FONT></TD> |
---|
| 176 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/record/RecordOutput.html#writeBool(boolean, java.lang.String)">writeBool</A></B>(boolean b, |
---|
| 177 | <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> tag)</CODE> |
---|
| 178 | |
---|
| 179 | <BR> |
---|
| 180 | Write a boolean to serialized record.</TD> |
---|
| 181 | </TR> |
---|
| 182 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 183 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 184 | <CODE> void</CODE></FONT></TD> |
---|
| 185 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/record/RecordOutput.html#writeBuffer(org.apache.hadoop.record.Buffer, java.lang.String)">writeBuffer</A></B>(<A HREF="../../../../org/apache/hadoop/record/Buffer.html" title="class in org.apache.hadoop.record">Buffer</A> buf, |
---|
| 186 | <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> tag)</CODE> |
---|
| 187 | |
---|
| 188 | <BR> |
---|
| 189 | Write a buffer to serialized record.</TD> |
---|
| 190 | </TR> |
---|
| 191 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 192 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 193 | <CODE> void</CODE></FONT></TD> |
---|
| 194 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/record/RecordOutput.html#writeByte(byte, java.lang.String)">writeByte</A></B>(byte b, |
---|
| 195 | <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> tag)</CODE> |
---|
| 196 | |
---|
| 197 | <BR> |
---|
| 198 | Write a byte to serialized record.</TD> |
---|
| 199 | </TR> |
---|
| 200 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 201 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 202 | <CODE> void</CODE></FONT></TD> |
---|
| 203 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/record/RecordOutput.html#writeDouble(double, java.lang.String)">writeDouble</A></B>(double d, |
---|
| 204 | <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> tag)</CODE> |
---|
| 205 | |
---|
| 206 | <BR> |
---|
| 207 | Write a double precision floating point number to serialized record.</TD> |
---|
| 208 | </TR> |
---|
| 209 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 210 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 211 | <CODE> void</CODE></FONT></TD> |
---|
| 212 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/record/RecordOutput.html#writeFloat(float, java.lang.String)">writeFloat</A></B>(float f, |
---|
| 213 | <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> tag)</CODE> |
---|
| 214 | |
---|
| 215 | <BR> |
---|
| 216 | Write a single-precision float to serialized record.</TD> |
---|
| 217 | </TR> |
---|
| 218 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 219 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 220 | <CODE> void</CODE></FONT></TD> |
---|
| 221 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/record/RecordOutput.html#writeInt(int, java.lang.String)">writeInt</A></B>(int i, |
---|
| 222 | <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> tag)</CODE> |
---|
| 223 | |
---|
| 224 | <BR> |
---|
| 225 | Write an integer to serialized record.</TD> |
---|
| 226 | </TR> |
---|
| 227 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 228 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 229 | <CODE> void</CODE></FONT></TD> |
---|
| 230 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/record/RecordOutput.html#writeLong(long, java.lang.String)">writeLong</A></B>(long l, |
---|
| 231 | <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> tag)</CODE> |
---|
| 232 | |
---|
| 233 | <BR> |
---|
| 234 | Write a long integer to serialized record.</TD> |
---|
| 235 | </TR> |
---|
| 236 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 237 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 238 | <CODE> void</CODE></FONT></TD> |
---|
| 239 | <TD><CODE><B><A HREF="../../../../org/apache/hadoop/record/RecordOutput.html#writeString(java.lang.String, java.lang.String)">writeString</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> s, |
---|
| 240 | <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> tag)</CODE> |
---|
| 241 | |
---|
| 242 | <BR> |
---|
| 243 | Write a unicode string to serialized record.</TD> |
---|
| 244 | </TR> |
---|
| 245 | </TABLE> |
---|
| 246 | |
---|
| 247 | <P> |
---|
| 248 | |
---|
| 249 | <!-- ============ METHOD DETAIL ========== --> |
---|
| 250 | |
---|
| 251 | <A NAME="method_detail"><!-- --></A> |
---|
| 252 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 253 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 254 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 255 | <B>Method Detail</B></FONT></TH> |
---|
| 256 | </TR> |
---|
| 257 | </TABLE> |
---|
| 258 | |
---|
| 259 | <A NAME="writeByte(byte, java.lang.String)"><!-- --></A><H3> |
---|
| 260 | writeByte</H3> |
---|
| 261 | <PRE> |
---|
| 262 | void <B>writeByte</B>(byte b, |
---|
| 263 | <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> tag) |
---|
| 264 | 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> |
---|
| 265 | <DL> |
---|
| 266 | <DD>Write a byte to serialized record. |
---|
| 267 | <P> |
---|
| 268 | <DD><DL> |
---|
| 269 | <DT><B>Parameters:</B><DD><CODE>b</CODE> - Byte to be serialized<DD><CODE>tag</CODE> - Used by tagged serialization formats (such as XML) |
---|
| 270 | <DT><B>Throws:</B> |
---|
| 271 | <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> - Indicates error in serialization</DL> |
---|
| 272 | </DD> |
---|
| 273 | </DL> |
---|
| 274 | <HR> |
---|
| 275 | |
---|
| 276 | <A NAME="writeBool(boolean, java.lang.String)"><!-- --></A><H3> |
---|
| 277 | writeBool</H3> |
---|
| 278 | <PRE> |
---|
| 279 | void <B>writeBool</B>(boolean b, |
---|
| 280 | <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> tag) |
---|
| 281 | 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> |
---|
| 282 | <DL> |
---|
| 283 | <DD>Write a boolean to serialized record. |
---|
| 284 | <P> |
---|
| 285 | <DD><DL> |
---|
| 286 | <DT><B>Parameters:</B><DD><CODE>b</CODE> - Boolean to be serialized<DD><CODE>tag</CODE> - Used by tagged serialization formats (such as XML) |
---|
| 287 | <DT><B>Throws:</B> |
---|
| 288 | <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> - Indicates error in serialization</DL> |
---|
| 289 | </DD> |
---|
| 290 | </DL> |
---|
| 291 | <HR> |
---|
| 292 | |
---|
| 293 | <A NAME="writeInt(int, java.lang.String)"><!-- --></A><H3> |
---|
| 294 | writeInt</H3> |
---|
| 295 | <PRE> |
---|
| 296 | void <B>writeInt</B>(int i, |
---|
| 297 | <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> tag) |
---|
| 298 | 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> |
---|
| 299 | <DL> |
---|
| 300 | <DD>Write an integer to serialized record. |
---|
| 301 | <P> |
---|
| 302 | <DD><DL> |
---|
| 303 | <DT><B>Parameters:</B><DD><CODE>i</CODE> - Integer to be serialized<DD><CODE>tag</CODE> - Used by tagged serialization formats (such as XML) |
---|
| 304 | <DT><B>Throws:</B> |
---|
| 305 | <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> - Indicates error in serialization</DL> |
---|
| 306 | </DD> |
---|
| 307 | </DL> |
---|
| 308 | <HR> |
---|
| 309 | |
---|
| 310 | <A NAME="writeLong(long, java.lang.String)"><!-- --></A><H3> |
---|
| 311 | writeLong</H3> |
---|
| 312 | <PRE> |
---|
| 313 | void <B>writeLong</B>(long l, |
---|
| 314 | <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> tag) |
---|
| 315 | 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> |
---|
| 316 | <DL> |
---|
| 317 | <DD>Write a long integer to serialized record. |
---|
| 318 | <P> |
---|
| 319 | <DD><DL> |
---|
| 320 | <DT><B>Parameters:</B><DD><CODE>l</CODE> - Long to be serialized<DD><CODE>tag</CODE> - Used by tagged serialization formats (such as XML) |
---|
| 321 | <DT><B>Throws:</B> |
---|
| 322 | <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> - Indicates error in serialization</DL> |
---|
| 323 | </DD> |
---|
| 324 | </DL> |
---|
| 325 | <HR> |
---|
| 326 | |
---|
| 327 | <A NAME="writeFloat(float, java.lang.String)"><!-- --></A><H3> |
---|
| 328 | writeFloat</H3> |
---|
| 329 | <PRE> |
---|
| 330 | void <B>writeFloat</B>(float f, |
---|
| 331 | <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> tag) |
---|
| 332 | 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> |
---|
| 333 | <DL> |
---|
| 334 | <DD>Write a single-precision float to serialized record. |
---|
| 335 | <P> |
---|
| 336 | <DD><DL> |
---|
| 337 | <DT><B>Parameters:</B><DD><CODE>f</CODE> - Float to be serialized<DD><CODE>tag</CODE> - Used by tagged serialization formats (such as XML) |
---|
| 338 | <DT><B>Throws:</B> |
---|
| 339 | <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> - Indicates error in serialization</DL> |
---|
| 340 | </DD> |
---|
| 341 | </DL> |
---|
| 342 | <HR> |
---|
| 343 | |
---|
| 344 | <A NAME="writeDouble(double, java.lang.String)"><!-- --></A><H3> |
---|
| 345 | writeDouble</H3> |
---|
| 346 | <PRE> |
---|
| 347 | void <B>writeDouble</B>(double d, |
---|
| 348 | <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> tag) |
---|
| 349 | 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> |
---|
| 350 | <DL> |
---|
| 351 | <DD>Write a double precision floating point number to serialized record. |
---|
| 352 | <P> |
---|
| 353 | <DD><DL> |
---|
| 354 | <DT><B>Parameters:</B><DD><CODE>d</CODE> - Double to be serialized<DD><CODE>tag</CODE> - Used by tagged serialization formats (such as XML) |
---|
| 355 | <DT><B>Throws:</B> |
---|
| 356 | <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> - Indicates error in serialization</DL> |
---|
| 357 | </DD> |
---|
| 358 | </DL> |
---|
| 359 | <HR> |
---|
| 360 | |
---|
| 361 | <A NAME="writeString(java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
| 362 | writeString</H3> |
---|
| 363 | <PRE> |
---|
| 364 | void <B>writeString</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> s, |
---|
| 365 | <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> tag) |
---|
| 366 | 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> |
---|
| 367 | <DL> |
---|
| 368 | <DD>Write a unicode string to serialized record. |
---|
| 369 | <P> |
---|
| 370 | <DD><DL> |
---|
| 371 | <DT><B>Parameters:</B><DD><CODE>s</CODE> - String to be serialized<DD><CODE>tag</CODE> - Used by tagged serialization formats (such as XML) |
---|
| 372 | <DT><B>Throws:</B> |
---|
| 373 | <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> - Indicates error in serialization</DL> |
---|
| 374 | </DD> |
---|
| 375 | </DL> |
---|
| 376 | <HR> |
---|
| 377 | |
---|
| 378 | <A NAME="writeBuffer(org.apache.hadoop.record.Buffer, java.lang.String)"><!-- --></A><H3> |
---|
| 379 | writeBuffer</H3> |
---|
| 380 | <PRE> |
---|
| 381 | void <B>writeBuffer</B>(<A HREF="../../../../org/apache/hadoop/record/Buffer.html" title="class in org.apache.hadoop.record">Buffer</A> buf, |
---|
| 382 | <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> tag) |
---|
| 383 | 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> |
---|
| 384 | <DL> |
---|
| 385 | <DD>Write a buffer to serialized record. |
---|
| 386 | <P> |
---|
| 387 | <DD><DL> |
---|
| 388 | <DT><B>Parameters:</B><DD><CODE>buf</CODE> - Buffer to be serialized<DD><CODE>tag</CODE> - Used by tagged serialization formats (such as XML) |
---|
| 389 | <DT><B>Throws:</B> |
---|
| 390 | <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> - Indicates error in serialization</DL> |
---|
| 391 | </DD> |
---|
| 392 | </DL> |
---|
| 393 | <HR> |
---|
| 394 | |
---|
| 395 | <A NAME="startRecord(org.apache.hadoop.record.Record, java.lang.String)"><!-- --></A><H3> |
---|
| 396 | startRecord</H3> |
---|
| 397 | <PRE> |
---|
| 398 | void <B>startRecord</B>(<A HREF="../../../../org/apache/hadoop/record/Record.html" title="class in org.apache.hadoop.record">Record</A> r, |
---|
| 399 | <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> tag) |
---|
| 400 | 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> |
---|
| 401 | <DL> |
---|
| 402 | <DD>Mark the start of a record to be serialized. |
---|
| 403 | <P> |
---|
| 404 | <DD><DL> |
---|
| 405 | <DT><B>Parameters:</B><DD><CODE>r</CODE> - Record to be serialized<DD><CODE>tag</CODE> - Used by tagged serialization formats (such as XML) |
---|
| 406 | <DT><B>Throws:</B> |
---|
| 407 | <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> - Indicates error in serialization</DL> |
---|
| 408 | </DD> |
---|
| 409 | </DL> |
---|
| 410 | <HR> |
---|
| 411 | |
---|
| 412 | <A NAME="endRecord(org.apache.hadoop.record.Record, java.lang.String)"><!-- --></A><H3> |
---|
| 413 | endRecord</H3> |
---|
| 414 | <PRE> |
---|
| 415 | void <B>endRecord</B>(<A HREF="../../../../org/apache/hadoop/record/Record.html" title="class in org.apache.hadoop.record">Record</A> r, |
---|
| 416 | <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> tag) |
---|
| 417 | 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> |
---|
| 418 | <DL> |
---|
| 419 | <DD>Mark the end of a serialized record. |
---|
| 420 | <P> |
---|
| 421 | <DD><DL> |
---|
| 422 | <DT><B>Parameters:</B><DD><CODE>r</CODE> - Record to be serialized<DD><CODE>tag</CODE> - Used by tagged serialization formats (such as XML) |
---|
| 423 | <DT><B>Throws:</B> |
---|
| 424 | <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> - Indicates error in serialization</DL> |
---|
| 425 | </DD> |
---|
| 426 | </DL> |
---|
| 427 | <HR> |
---|
| 428 | |
---|
| 429 | <A NAME="startVector(java.util.ArrayList, java.lang.String)"><!-- --></A><H3> |
---|
| 430 | startVector</H3> |
---|
| 431 | <PRE> |
---|
| 432 | void <B>startVector</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A> v, |
---|
| 433 | <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> tag) |
---|
| 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>Mark the start of a vector to be serialized. |
---|
| 437 | <P> |
---|
| 438 | <DD><DL> |
---|
| 439 | <DT><B>Parameters:</B><DD><CODE>v</CODE> - Vector to be serialized<DD><CODE>tag</CODE> - Used by tagged serialization formats (such as XML) |
---|
| 440 | <DT><B>Throws:</B> |
---|
| 441 | <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> - Indicates error in serialization</DL> |
---|
| 442 | </DD> |
---|
| 443 | </DL> |
---|
| 444 | <HR> |
---|
| 445 | |
---|
| 446 | <A NAME="endVector(java.util.ArrayList, java.lang.String)"><!-- --></A><H3> |
---|
| 447 | endVector</H3> |
---|
| 448 | <PRE> |
---|
| 449 | void <B>endVector</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A> v, |
---|
| 450 | <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> tag) |
---|
| 451 | 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> |
---|
| 452 | <DL> |
---|
| 453 | <DD>Mark the end of a serialized vector. |
---|
| 454 | <P> |
---|
| 455 | <DD><DL> |
---|
| 456 | <DT><B>Parameters:</B><DD><CODE>v</CODE> - Vector to be serialized<DD><CODE>tag</CODE> - Used by tagged serialization formats (such as XML) |
---|
| 457 | <DT><B>Throws:</B> |
---|
| 458 | <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> - Indicates error in serialization</DL> |
---|
| 459 | </DD> |
---|
| 460 | </DL> |
---|
| 461 | <HR> |
---|
| 462 | |
---|
| 463 | <A NAME="startMap(java.util.TreeMap, java.lang.String)"><!-- --></A><H3> |
---|
| 464 | startMap</H3> |
---|
| 465 | <PRE> |
---|
| 466 | void <B>startMap</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/TreeMap.html?is-external=true" title="class or interface in java.util">TreeMap</A> m, |
---|
| 467 | <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> tag) |
---|
| 468 | 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> |
---|
| 469 | <DL> |
---|
| 470 | <DD>Mark the start of a map to be serialized. |
---|
| 471 | <P> |
---|
| 472 | <DD><DL> |
---|
| 473 | <DT><B>Parameters:</B><DD><CODE>m</CODE> - Map to be serialized<DD><CODE>tag</CODE> - Used by tagged serialization formats (such as XML) |
---|
| 474 | <DT><B>Throws:</B> |
---|
| 475 | <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> - Indicates error in serialization</DL> |
---|
| 476 | </DD> |
---|
| 477 | </DL> |
---|
| 478 | <HR> |
---|
| 479 | |
---|
| 480 | <A NAME="endMap(java.util.TreeMap, java.lang.String)"><!-- --></A><H3> |
---|
| 481 | endMap</H3> |
---|
| 482 | <PRE> |
---|
| 483 | void <B>endMap</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/TreeMap.html?is-external=true" title="class or interface in java.util">TreeMap</A> m, |
---|
| 484 | <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> tag) |
---|
| 485 | 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> |
---|
| 486 | <DL> |
---|
| 487 | <DD>Mark the end of a serialized map. |
---|
| 488 | <P> |
---|
| 489 | <DD><DL> |
---|
| 490 | <DT><B>Parameters:</B><DD><CODE>m</CODE> - Map to be serialized<DD><CODE>tag</CODE> - Used by tagged serialization formats (such as XML) |
---|
| 491 | <DT><B>Throws:</B> |
---|
| 492 | <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> - Indicates error in serialization</DL> |
---|
| 493 | </DD> |
---|
| 494 | </DL> |
---|
| 495 | <!-- ========= END OF CLASS DATA ========= --> |
---|
| 496 | <HR> |
---|
| 497 | |
---|
| 498 | |
---|
| 499 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
| 500 | <A NAME="navbar_bottom"><!-- --></A> |
---|
| 501 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
| 502 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
| 503 | <TR> |
---|
| 504 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
| 505 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
| 506 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
| 507 | <TR ALIGN="center" VALIGN="top"> |
---|
| 508 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
| 509 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
| 510 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
| 511 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RecordOutput.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
| 512 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
| 513 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
| 514 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
| 515 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
| 516 | </TR> |
---|
| 517 | </TABLE> |
---|
| 518 | </TD> |
---|
| 519 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
| 520 | </EM> |
---|
| 521 | </TD> |
---|
| 522 | </TR> |
---|
| 523 | |
---|
| 524 | <TR> |
---|
| 525 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 526 | <A HREF="../../../../org/apache/hadoop/record/RecordInput.html" title="interface in org.apache.hadoop.record"><B>PREV CLASS</B></A> |
---|
| 527 | <A HREF="../../../../org/apache/hadoop/record/Utils.html" title="class in org.apache.hadoop.record"><B>NEXT CLASS</B></A></FONT></TD> |
---|
| 528 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 529 | <A HREF="../../../../index.html?org/apache/hadoop/record/RecordOutput.html" target="_top"><B>FRAMES</B></A> |
---|
| 530 | <A HREF="RecordOutput.html" target="_top"><B>NO FRAMES</B></A> |
---|
| 531 | <SCRIPT type="text/javascript"> |
---|
| 532 | <!-- |
---|
| 533 | if(window==top) { |
---|
| 534 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
| 535 | } |
---|
| 536 | //--> |
---|
| 537 | </SCRIPT> |
---|
| 538 | <NOSCRIPT> |
---|
| 539 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
| 540 | </NOSCRIPT> |
---|
| 541 | |
---|
| 542 | |
---|
| 543 | </FONT></TD> |
---|
| 544 | </TR> |
---|
| 545 | <TR> |
---|
| 546 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 547 | SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
| 548 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 549 | DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
| 550 | </TR> |
---|
| 551 | </TABLE> |
---|
| 552 | <A NAME="skip-navbar_bottom"></A> |
---|
| 553 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
| 554 | |
---|
| 555 | <HR> |
---|
| 556 | Copyright © 2009 The Apache Software Foundation |
---|
| 557 | </BODY> |
---|
| 558 | </HTML> |
---|