source: proiecte/HadoopJUnit/hadoop-0.20.1/docs/api/org/apache/hadoop/record/RecordOutput.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: 30.2 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>
7RecordOutput (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="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>&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/RecordOutput.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/RecordInput.html" title="interface in org.apache.hadoop.record"><B>PREV CLASS</B></A>&nbsp;
59&nbsp;<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>  &nbsp;
62&nbsp;<A HREF="RecordOutput.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 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>
103Interface 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>&nbsp;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>&nbsp;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>&nbsp;tag)</CODE>
124
125<BR>
126&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;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>&nbsp;tag)</CODE>
133
134<BR>
135&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;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>&nbsp;tag)</CODE>
142
143<BR>
144&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;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>&nbsp;tag)</CODE>
151
152<BR>
153&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;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>&nbsp;tag)</CODE>
160
161<BR>
162&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;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>&nbsp;tag)</CODE>
169
170<BR>
171&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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&nbsp;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>&nbsp;tag)</CODE>
178
179<BR>
180&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;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>&nbsp;tag)</CODE>
187
188<BR>
189&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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&nbsp;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>&nbsp;tag)</CODE>
196
197<BR>
198&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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&nbsp;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>&nbsp;tag)</CODE>
205
206<BR>
207&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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&nbsp;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>&nbsp;tag)</CODE>
214
215<BR>
216&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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&nbsp;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>&nbsp;tag)</CODE>
223
224<BR>
225&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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&nbsp;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>&nbsp;tag)</CODE>
232
233<BR>
234&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;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>&nbsp;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>&nbsp;tag)</CODE>
241
242<BR>
243&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write a unicode string to serialized record.</TD>
244</TR>
245</TABLE>
246&nbsp;
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>
260writeByte</H3>
261<PRE>
262void <B>writeByte</B>(byte&nbsp;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>&nbsp;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>
277writeBool</H3>
278<PRE>
279void <B>writeBool</B>(boolean&nbsp;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>&nbsp;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>
294writeInt</H3>
295<PRE>
296void <B>writeInt</B>(int&nbsp;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>&nbsp;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>
311writeLong</H3>
312<PRE>
313void <B>writeLong</B>(long&nbsp;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>&nbsp;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>
328writeFloat</H3>
329<PRE>
330void <B>writeFloat</B>(float&nbsp;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>&nbsp;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>
345writeDouble</H3>
346<PRE>
347void <B>writeDouble</B>(double&nbsp;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>&nbsp;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>
362writeString</H3>
363<PRE>
364void <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>&nbsp;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>&nbsp;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>
379writeBuffer</H3>
380<PRE>
381void <B>writeBuffer</B>(<A HREF="../../../../org/apache/hadoop/record/Buffer.html" title="class in org.apache.hadoop.record">Buffer</A>&nbsp;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>&nbsp;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>
396startRecord</H3>
397<PRE>
398void <B>startRecord</B>(<A HREF="../../../../org/apache/hadoop/record/Record.html" title="class in org.apache.hadoop.record">Record</A>&nbsp;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>&nbsp;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>
413endRecord</H3>
414<PRE>
415void <B>endRecord</B>(<A HREF="../../../../org/apache/hadoop/record/Record.html" title="class in org.apache.hadoop.record">Record</A>&nbsp;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>&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>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>
430startVector</H3>
431<PRE>
432void <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>&nbsp;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>&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>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>
447endVector</H3>
448<PRE>
449void <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>&nbsp;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>&nbsp;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>
464startMap</H3>
465<PRE>
466void <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>&nbsp;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>&nbsp;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>
481endMap</H3>
482<PRE>
483void <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>&nbsp;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>&nbsp;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>&nbsp;</TD>
509  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
510  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
511  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/RecordOutput.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
512  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
513  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
514  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
515  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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&nbsp;<A HREF="../../../../org/apache/hadoop/record/RecordInput.html" title="interface in org.apache.hadoop.record"><B>PREV CLASS</B></A>&nbsp;
527&nbsp;<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>  &nbsp;
530&nbsp;<A HREF="RecordOutput.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
531&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
548<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
549DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<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>
556Copyright &copy; 2009 The Apache Software Foundation
557</BODY>
558</HTML>
Note: See TracBrowser for help on using the repository browser.