RecordOutput@Deprecated @Public @Stable public class CsvRecordOutput extends java.lang.Object implements RecordOutput
| Constructor | Description |
|---|---|
CsvRecordOutput(java.io.OutputStream out) |
Deprecated.
Creates a new instance of CsvRecordOutput
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
endMap(java.util.TreeMap v,
java.lang.String tag) |
Deprecated.
Mark the end of a serialized map.
|
void |
endRecord(Record r,
java.lang.String tag) |
Deprecated.
Mark the end of a serialized record.
|
void |
endVector(java.util.ArrayList v,
java.lang.String tag) |
Deprecated.
Mark the end of a serialized vector.
|
void |
startMap(java.util.TreeMap v,
java.lang.String tag) |
Deprecated.
Mark the start of a map to be serialized.
|
void |
startRecord(Record r,
java.lang.String tag) |
Deprecated.
Mark the start of a record to be serialized.
|
void |
startVector(java.util.ArrayList v,
java.lang.String tag) |
Deprecated.
Mark the start of a vector to be serialized.
|
void |
writeBool(boolean b,
java.lang.String tag) |
Deprecated.
Write a boolean to serialized record.
|
void |
writeBuffer(Buffer buf,
java.lang.String tag) |
Deprecated.
Write a buffer to serialized record.
|
void |
writeByte(byte b,
java.lang.String tag) |
Deprecated.
Write a byte to serialized record.
|
void |
writeDouble(double d,
java.lang.String tag) |
Deprecated.
Write a double precision floating point number to serialized record.
|
void |
writeFloat(float f,
java.lang.String tag) |
Deprecated.
Write a single-precision float to serialized record.
|
void |
writeInt(int i,
java.lang.String tag) |
Deprecated.
Write an integer to serialized record.
|
void |
writeLong(long l,
java.lang.String tag) |
Deprecated.
Write a long integer to serialized record.
|
void |
writeString(java.lang.String s,
java.lang.String tag) |
Deprecated.
Write a unicode string to serialized record.
|
public CsvRecordOutput(java.io.OutputStream out)
public void writeByte(byte b,
java.lang.String tag)
throws java.io.IOException
RecordOutputwriteByte in interface RecordOutputb - Byte to be serializedtag - Used by tagged serialization formats (such as XML)java.io.IOException - Indicates error in serializationpublic void writeBool(boolean b,
java.lang.String tag)
throws java.io.IOException
RecordOutputwriteBool in interface RecordOutputb - Boolean to be serializedtag - Used by tagged serialization formats (such as XML)java.io.IOException - Indicates error in serializationpublic void writeInt(int i,
java.lang.String tag)
throws java.io.IOException
RecordOutputwriteInt in interface RecordOutputi - Integer to be serializedtag - Used by tagged serialization formats (such as XML)java.io.IOException - Indicates error in serializationpublic void writeLong(long l,
java.lang.String tag)
throws java.io.IOException
RecordOutputwriteLong in interface RecordOutputl - Long to be serializedtag - Used by tagged serialization formats (such as XML)java.io.IOException - Indicates error in serializationpublic void writeFloat(float f,
java.lang.String tag)
throws java.io.IOException
RecordOutputwriteFloat in interface RecordOutputf - Float to be serializedtag - Used by tagged serialization formats (such as XML)java.io.IOException - Indicates error in serializationpublic void writeDouble(double d,
java.lang.String tag)
throws java.io.IOException
RecordOutputwriteDouble in interface RecordOutputd - Double to be serializedtag - Used by tagged serialization formats (such as XML)java.io.IOException - Indicates error in serializationpublic void writeString(java.lang.String s,
java.lang.String tag)
throws java.io.IOException
RecordOutputwriteString in interface RecordOutputs - String to be serializedtag - Used by tagged serialization formats (such as XML)java.io.IOException - Indicates error in serializationpublic void writeBuffer(Buffer buf, java.lang.String tag) throws java.io.IOException
RecordOutputwriteBuffer in interface RecordOutputbuf - Buffer to be serializedtag - Used by tagged serialization formats (such as XML)java.io.IOException - Indicates error in serializationpublic void startRecord(Record r, java.lang.String tag) throws java.io.IOException
RecordOutputstartRecord in interface RecordOutputr - Record to be serializedtag - Used by tagged serialization formats (such as XML)java.io.IOException - Indicates error in serializationpublic void endRecord(Record r, java.lang.String tag) throws java.io.IOException
RecordOutputendRecord in interface RecordOutputr - Record to be serializedtag - Used by tagged serialization formats (such as XML)java.io.IOException - Indicates error in serializationpublic void startVector(java.util.ArrayList v,
java.lang.String tag)
throws java.io.IOException
RecordOutputstartVector in interface RecordOutputv - Vector to be serializedtag - Used by tagged serialization formats (such as XML)java.io.IOException - Indicates error in serializationpublic void endVector(java.util.ArrayList v,
java.lang.String tag)
throws java.io.IOException
RecordOutputendVector in interface RecordOutputv - Vector to be serializedtag - Used by tagged serialization formats (such as XML)java.io.IOException - Indicates error in serializationpublic void startMap(java.util.TreeMap v,
java.lang.String tag)
throws java.io.IOException
RecordOutputstartMap in interface RecordOutputv - Map to be serializedtag - Used by tagged serialization formats (such as XML)java.io.IOException - Indicates error in serializationpublic void endMap(java.util.TreeMap v,
java.lang.String tag)
throws java.io.IOException
RecordOutputendMap in interface RecordOutputv - Map to be serializedtag - Used by tagged serialization formats (such as XML)java.io.IOException - Indicates error in serializationCopyright © 2008–2025 Apache Software Foundation. All rights reserved.