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