source: proiecte/HadoopJUnit/hadoop-0.20.1/docs/api/org/apache/hadoop/record/RecordInput.html @ 120

Last change on this file since 120 was 120, checked in by (none), 14 years ago

Added the mail files for the Hadoop JUNit Project

  • Property svn:executable set to *
File size: 27.6 KB
Line 
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>
7RecordInput (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">
15function 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>&nbsp;</TD>
41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/RecordInput.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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&nbsp;<A HREF="../../../../org/apache/hadoop/record/RecordComparator.html" title="class in org.apache.hadoop.record"><B>PREV CLASS</B></A>&nbsp;
59&nbsp;<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>  &nbsp;
62&nbsp;<A HREF="RecordInput.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
63&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<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">
91org.apache.hadoop.record</FONT>
92<BR>
93Interface 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>
103Interface 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>&nbsp;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>&nbsp;tag)</CODE>
123
124<BR>
125&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;tag)</CODE>
131
132<BR>
133&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;tag)</CODE>
139
140<BR>
141&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;tag)</CODE>
147
148<BR>
149&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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>&nbsp;tag)</CODE>
155
156<BR>
157&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;tag)</CODE>
163
164<BR>
165&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;tag)</CODE>
171
172<BR>
173&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;tag)</CODE>
179
180<BR>
181&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;tag)</CODE>
187
188<BR>
189&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;tag)</CODE>
195
196<BR>
197&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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>&nbsp;tag)</CODE>
203
204<BR>
205&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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>&nbsp;tag)</CODE>
211
212<BR>
213&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;tag)</CODE>
219
220<BR>
221&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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>&nbsp;tag)</CODE>
227
228<BR>
229&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Check the mark for start of the serialized vector.</TD>
230</TR>
231</TABLE>
232&nbsp;
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>
246readByte</H3>
247<PRE>
248byte <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>&nbsp;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>
263readBool</H3>
264<PRE>
265boolean <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>&nbsp;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>
280readInt</H3>
281<PRE>
282int <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>&nbsp;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>
297readLong</H3>
298<PRE>
299long <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>&nbsp;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>
314readFloat</H3>
315<PRE>
316float <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>&nbsp;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>
331readDouble</H3>
332<PRE>
333double <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>&nbsp;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>
348readString</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>&nbsp;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>
365readBuffer</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>&nbsp;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>
382startRecord</H3>
383<PRE>
384void <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>&nbsp;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>
398endRecord</H3>
399<PRE>
400void <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>&nbsp;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>
414startVector</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>&nbsp;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>
431endVector</H3>
432<PRE>
433void <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>&nbsp;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>
447startMap</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>&nbsp;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>
464endMap</H3>
465<PRE>
466void <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>&nbsp;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>&nbsp;</TD>
491  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
492  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
493  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/RecordInput.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
494  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
495  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
496  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
497  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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&nbsp;<A HREF="../../../../org/apache/hadoop/record/RecordComparator.html" title="class in org.apache.hadoop.record"><B>PREV CLASS</B></A>&nbsp;
509&nbsp;<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>  &nbsp;
512&nbsp;<A HREF="RecordInput.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
513&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
530<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
531DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<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>
538Copyright &copy; 2009 The Apache Software Foundation
539</BODY>
540</HTML>
Note: See TracBrowser for help on using the repository browser.