public class CompactObjectOutputWithSideband extends CompactObjectOutput
ANNOUNCE_POJO, ANNOUNCE_POJO_END, SIDEBAND_SIGNAL_RESET| Constructor and Description |
|---|
CompactObjectOutputWithSideband(java.io.OutputStream out) |
CompactObjectOutputWithSideband(java.io.OutputStream out,
SchemaI schema) |
CompactObjectOutputWithSideband(java.io.OutputStream out,
SchemaI schema,
java.util.function.Function replaceBoBeforeWrite) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this CompactObjectOutput and releases any system resources associated with it.
|
void |
flush()
Flushes this CompactObjectOutput by writing any buffered output to the underlying DataOutput.
|
void |
write(byte[] v)
Writes to our DataOutput all the bytes in array b.
|
void |
write(byte[] v,
int off,
int len)
Writes len bytes from array b, in order, to our DataOutput.
|
void |
write(int v)
Writes to our DataOutput the eight low-order bits of the argument b.
|
void |
writeBigDecimal(java.math.BigDecimal v)
Writes a BigDecimal object to our DataOutput.
|
void |
writeBoolean(boolean v)
Writes a boolean value to our DataOutput.
|
void |
writeBooleanObject(java.lang.Boolean v)
Writes a Boolean object to our DataOutput.
|
void |
writeByte(int v)
Writes to our DataOutput the eight low- order bits of the argument v.
|
void |
writeByteObject(java.lang.Byte v)
Writes a Byte object to our DataOutput.
|
void |
writeBytes(java.lang.String v)
Writes a string to our DataOutput.
|
void |
writeChar(int v)
Writes a char value, which is comprised of two bytes, to our DataOutput.
|
void |
writeChars(java.lang.String v)
Writes every character in the string s, to our DataOutput, in order, two bytes per character.
|
void |
writeDate(java.util.Date v)
Writes the Date to our DataOutput.
|
void |
writeDouble(double v)
Writes a double value, which is comprised of eight bytes, to our DataOutput.
|
void |
writeDoubleObject(java.lang.Double v)
Writes a Double object to our DataOutput.
|
void |
writeFloat(float v)
Writes a float value, which is comprised of four bytes, to our DataOutput.
|
void |
writeFloatObject(java.lang.Float v)
Writes a Float object to our DataOutput.
|
void |
writeInt(int v)
Writes an int value, which is comprised of four bytes, to our DataOutput.
|
void |
writeIntegerObject(java.lang.Integer v)
Writes a Integer object to our DataOutput.
|
void |
writeLong(long v)
Writes a long value, which is comprised of eight bytes, to our DataOutput.
|
void |
writeLongObject(java.lang.Long v)
Writes a Long object to our DataOutput.
|
void |
writeShort(int v)
Writes two bytes to our DataOutput to represent the value of the argument.
|
void |
writeShortObject(java.lang.Short v)
Writes a Short object to our DataOutput.
|
void |
writeSideband()
Writes sideband-data to the underlying DataOutput.
|
void |
writeSideband(boolean force) |
void |
writeString(java.lang.String v)
Writes the UTF-8 String to our DataOutput.
|
void |
writeUTF(java.lang.String v)
Writes the UTF-8 String to our DataOutput.
|
getDescription, getLastNetworkActivity, reset, setBlocksize, setDescription, setObjectTransferHandler, writeBLOB, writeBLOB, writeBLOB, writeBLOB, writeIntegerArray, writeLongArray, writeObject, writeObjectArray, writeStringArray, writeUnsharedpublic CompactObjectOutputWithSideband(java.io.OutputStream out)
public CompactObjectOutputWithSideband(java.io.OutputStream out,
SchemaI schema)
public CompactObjectOutputWithSideband(java.io.OutputStream out,
SchemaI schema,
java.util.function.Function replaceBoBeforeWrite)
public void writeSideband()
throws java.io.IOException
java.io.IOExceptionpublic void writeSideband(boolean force)
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
CompactObjectOutputclose in interface java.io.Closeableclose in interface java.io.ObjectOutputclose in interface java.lang.AutoCloseableclose in class CompactObjectOutputjava.io.IOExceptionpublic void write(byte[] v)
throws java.io.IOException
CompactObjectOutputwrite in interface java.io.DataOutputwrite in interface java.io.ObjectOutputwrite in class CompactObjectOutputjava.io.IOExceptionpublic void write(byte[] v,
int off,
int len)
throws java.io.IOException
CompactObjectOutputwrite in interface java.io.DataOutputwrite in interface java.io.ObjectOutputwrite in class CompactObjectOutputjava.io.IOExceptionpublic void write(int v)
throws java.io.IOException
CompactObjectOutputwrite in interface java.io.DataOutputwrite in interface java.io.ObjectOutputwrite in class CompactObjectOutputjava.io.IOExceptionpublic void writeBoolean(boolean v)
throws java.io.IOException
CompactObjectOutputwriteBoolean in interface java.io.DataOutputwriteBoolean in class CompactObjectOutputjava.io.IOExceptionpublic void writeByte(int v)
throws java.io.IOException
CompactObjectOutputwriteByte in interface java.io.DataOutputwriteByte in class CompactObjectOutputjava.io.IOExceptionpublic void writeBytes(java.lang.String v)
throws java.io.IOException
CompactObjectOutputwriteBytes in interface java.io.DataOutputwriteBytes in class CompactObjectOutputjava.io.IOExceptionpublic void writeChar(int v)
throws java.io.IOException
CompactObjectOutputwriteChar in interface java.io.DataOutputwriteChar in class CompactObjectOutputjava.io.IOExceptionpublic void writeChars(java.lang.String v)
throws java.io.IOException
CompactObjectOutputwriteChars in interface java.io.DataOutputwriteChars in class CompactObjectOutputjava.io.IOExceptionpublic void writeDouble(double v)
throws java.io.IOException
CompactObjectOutputwriteDouble in interface java.io.DataOutputwriteDouble in class CompactObjectOutputjava.io.IOExceptionpublic void writeFloat(float v)
throws java.io.IOException
CompactObjectOutputwriteFloat in interface java.io.DataOutputwriteFloat in class CompactObjectOutputjava.io.IOExceptionpublic void writeInt(int v)
throws java.io.IOException
CompactObjectOutputwriteInt in interface java.io.DataOutputwriteInt in class CompactObjectOutputjava.io.IOExceptionpublic void writeLong(long v)
throws java.io.IOException
CompactObjectOutputwriteLong in interface java.io.DataOutputwriteLong in class CompactObjectOutputjava.io.IOExceptionpublic void writeShort(int v)
throws java.io.IOException
CompactObjectOutputwriteShort in interface java.io.DataOutputwriteShort in class CompactObjectOutputjava.io.IOExceptionpublic void writeUTF(java.lang.String v)
throws java.io.IOException
CompactObjectOutputwriteUTF in interface java.io.DataOutputwriteUTF in class CompactObjectOutputjava.io.IOExceptionpublic void writeBooleanObject(java.lang.Boolean v)
throws java.io.IOException
ObjectDataOutputIwriteBooleanObject in interface ObjectDataOutputIwriteBooleanObject in class CompactObjectOutputjava.io.IOExceptionpublic void writeByteObject(java.lang.Byte v)
throws java.io.IOException
ObjectDataOutputIwriteByteObject in interface ObjectDataOutputIwriteByteObject in class CompactObjectOutputjava.io.IOExceptionpublic void writeDoubleObject(java.lang.Double v)
throws java.io.IOException
ObjectDataOutputIwriteDoubleObject in interface ObjectDataOutputIwriteDoubleObject in class CompactObjectOutputjava.io.IOExceptionpublic void writeFloatObject(java.lang.Float v)
throws java.io.IOException
ObjectDataOutputIwriteFloatObject in interface ObjectDataOutputIwriteFloatObject in class CompactObjectOutputjava.io.IOExceptionpublic void writeIntegerObject(java.lang.Integer v)
throws java.io.IOException
ObjectDataOutputIwriteIntegerObject in interface ObjectDataOutputIwriteIntegerObject in class CompactObjectOutputjava.io.IOExceptionpublic void writeLongObject(java.lang.Long v)
throws java.io.IOException
ObjectDataOutputIwriteLongObject in interface ObjectDataOutputIwriteLongObject in class CompactObjectOutputjava.io.IOExceptionpublic void writeShortObject(java.lang.Short v)
throws java.io.IOException
ObjectDataOutputIwriteShortObject in interface ObjectDataOutputIwriteShortObject in class CompactObjectOutputjava.io.IOExceptionpublic void writeBigDecimal(java.math.BigDecimal v)
throws java.io.IOException
ObjectDataOutputIwriteBigDecimal in interface ObjectDataOutputIwriteBigDecimal in class CompactObjectOutputjava.io.IOExceptionpublic void writeString(java.lang.String v)
throws java.io.IOException
ObjectDataOutputIwriteString in interface ObjectDataOutputIwriteString in class CompactObjectOutputjava.io.IOExceptionpublic void writeDate(java.util.Date v)
throws java.io.IOException
ObjectDataOutputIwriteDate in interface ObjectDataOutputIwriteDate in class CompactObjectOutputjava.io.IOExceptionpublic void flush()
throws java.io.IOException
CompactObjectOutputflush in interface ObjectDataOutputIflush in interface java.io.Flushableflush in interface java.io.ObjectOutputflush in class CompactObjectOutputjava.io.IOExceptionCopyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.