BinaryRecordOutput, CsvRecordOutput, TypedBytesRecordOutput@Deprecated
@Public
@Stable
public interface RecordOutput
| Modifier and Type | Method | Description |
|---|---|---|
void |
endMap(java.util.TreeMap m,
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 m,
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.
|
void writeByte(byte b,
java.lang.String tag)
throws java.io.IOException
b - Byte to be serializedtag - Used by tagged serialization formats (such as XML)java.io.IOException - Indicates error in serializationvoid writeBool(boolean b,
java.lang.String tag)
throws java.io.IOException
b - Boolean to be serializedtag - Used by tagged serialization formats (such as XML)java.io.IOException - Indicates error in serializationvoid writeInt(int i,
java.lang.String tag)
throws java.io.IOException
i - Integer to be serializedtag - Used by tagged serialization formats (such as XML)java.io.IOException - Indicates error in serializationvoid writeLong(long l,
java.lang.String tag)
throws java.io.IOException
l - Long to be serializedtag - Used by tagged serialization formats (such as XML)java.io.IOException - Indicates error in serializationvoid writeFloat(float f,
java.lang.String tag)
throws java.io.IOException
f - Float to be serializedtag - Used by tagged serialization formats (such as XML)java.io.IOException - Indicates error in serializationvoid writeDouble(double d,
java.lang.String tag)
throws java.io.IOException
d - Double to be serializedtag - Used by tagged serialization formats (such as XML)java.io.IOException - Indicates error in serializationvoid writeString(java.lang.String s,
java.lang.String tag)
throws java.io.IOException
s - String to be serializedtag - Used by tagged serialization formats (such as XML)java.io.IOException - Indicates error in serializationvoid writeBuffer(Buffer buf, java.lang.String tag) throws java.io.IOException
buf - Buffer to be serializedtag - Used by tagged serialization formats (such as XML)java.io.IOException - Indicates error in serializationvoid startRecord(Record r, java.lang.String tag) throws java.io.IOException
r - Record to be serializedtag - Used by tagged serialization formats (such as XML)java.io.IOException - Indicates error in serializationvoid endRecord(Record r, java.lang.String tag) throws java.io.IOException
r - Record to be serializedtag - Used by tagged serialization formats (such as XML)java.io.IOException - Indicates error in serializationvoid startVector(java.util.ArrayList v,
java.lang.String tag)
throws java.io.IOException
v - Vector to be serializedtag - Used by tagged serialization formats (such as XML)java.io.IOException - Indicates error in serializationvoid endVector(java.util.ArrayList v,
java.lang.String tag)
throws java.io.IOException
v - Vector to be serializedtag - Used by tagged serialization formats (such as XML)java.io.IOException - Indicates error in serializationvoid startMap(java.util.TreeMap m,
java.lang.String tag)
throws java.io.IOException
m - Map to be serializedtag - Used by tagged serialization formats (such as XML)java.io.IOException - Indicates error in serializationvoid endMap(java.util.TreeMap m,
java.lang.String tag)
throws java.io.IOException
m - 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.