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, writeUnshared
public 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.IOException
public void writeSideband(boolean force) throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
CompactObjectOutput
close
in interface java.io.Closeable
close
in interface java.io.ObjectOutput
close
in interface java.lang.AutoCloseable
close
in class CompactObjectOutput
java.io.IOException
public void write(byte[] v) throws java.io.IOException
CompactObjectOutput
write
in interface java.io.DataOutput
write
in interface java.io.ObjectOutput
write
in class CompactObjectOutput
java.io.IOException
public void write(byte[] v, int off, int len) throws java.io.IOException
CompactObjectOutput
write
in interface java.io.DataOutput
write
in interface java.io.ObjectOutput
write
in class CompactObjectOutput
java.io.IOException
public void write(int v) throws java.io.IOException
CompactObjectOutput
write
in interface java.io.DataOutput
write
in interface java.io.ObjectOutput
write
in class CompactObjectOutput
java.io.IOException
public void writeBoolean(boolean v) throws java.io.IOException
CompactObjectOutput
writeBoolean
in interface java.io.DataOutput
writeBoolean
in class CompactObjectOutput
java.io.IOException
public void writeByte(int v) throws java.io.IOException
CompactObjectOutput
writeByte
in interface java.io.DataOutput
writeByte
in class CompactObjectOutput
java.io.IOException
public void writeBytes(java.lang.String v) throws java.io.IOException
CompactObjectOutput
writeBytes
in interface java.io.DataOutput
writeBytes
in class CompactObjectOutput
java.io.IOException
public void writeChar(int v) throws java.io.IOException
CompactObjectOutput
writeChar
in interface java.io.DataOutput
writeChar
in class CompactObjectOutput
java.io.IOException
public void writeChars(java.lang.String v) throws java.io.IOException
CompactObjectOutput
writeChars
in interface java.io.DataOutput
writeChars
in class CompactObjectOutput
java.io.IOException
public void writeDouble(double v) throws java.io.IOException
CompactObjectOutput
writeDouble
in interface java.io.DataOutput
writeDouble
in class CompactObjectOutput
java.io.IOException
public void writeFloat(float v) throws java.io.IOException
CompactObjectOutput
writeFloat
in interface java.io.DataOutput
writeFloat
in class CompactObjectOutput
java.io.IOException
public void writeInt(int v) throws java.io.IOException
CompactObjectOutput
writeInt
in interface java.io.DataOutput
writeInt
in class CompactObjectOutput
java.io.IOException
public void writeLong(long v) throws java.io.IOException
CompactObjectOutput
writeLong
in interface java.io.DataOutput
writeLong
in class CompactObjectOutput
java.io.IOException
public void writeShort(int v) throws java.io.IOException
CompactObjectOutput
writeShort
in interface java.io.DataOutput
writeShort
in class CompactObjectOutput
java.io.IOException
public void writeUTF(java.lang.String v) throws java.io.IOException
CompactObjectOutput
writeUTF
in interface java.io.DataOutput
writeUTF
in class CompactObjectOutput
java.io.IOException
public void writeBooleanObject(java.lang.Boolean v) throws java.io.IOException
ObjectDataOutputI
writeBooleanObject
in interface ObjectDataOutputI
writeBooleanObject
in class CompactObjectOutput
java.io.IOException
public void writeByteObject(java.lang.Byte v) throws java.io.IOException
ObjectDataOutputI
writeByteObject
in interface ObjectDataOutputI
writeByteObject
in class CompactObjectOutput
java.io.IOException
public void writeDoubleObject(java.lang.Double v) throws java.io.IOException
ObjectDataOutputI
writeDoubleObject
in interface ObjectDataOutputI
writeDoubleObject
in class CompactObjectOutput
java.io.IOException
public void writeFloatObject(java.lang.Float v) throws java.io.IOException
ObjectDataOutputI
writeFloatObject
in interface ObjectDataOutputI
writeFloatObject
in class CompactObjectOutput
java.io.IOException
public void writeIntegerObject(java.lang.Integer v) throws java.io.IOException
ObjectDataOutputI
writeIntegerObject
in interface ObjectDataOutputI
writeIntegerObject
in class CompactObjectOutput
java.io.IOException
public void writeLongObject(java.lang.Long v) throws java.io.IOException
ObjectDataOutputI
writeLongObject
in interface ObjectDataOutputI
writeLongObject
in class CompactObjectOutput
java.io.IOException
public void writeShortObject(java.lang.Short v) throws java.io.IOException
ObjectDataOutputI
writeShortObject
in interface ObjectDataOutputI
writeShortObject
in class CompactObjectOutput
java.io.IOException
public void writeBigDecimal(java.math.BigDecimal v) throws java.io.IOException
ObjectDataOutputI
writeBigDecimal
in interface ObjectDataOutputI
writeBigDecimal
in class CompactObjectOutput
java.io.IOException
public void writeString(java.lang.String v) throws java.io.IOException
ObjectDataOutputI
writeString
in interface ObjectDataOutputI
writeString
in class CompactObjectOutput
java.io.IOException
public void writeDate(java.util.Date v) throws java.io.IOException
ObjectDataOutputI
writeDate
in interface ObjectDataOutputI
writeDate
in class CompactObjectOutput
java.io.IOException
public void flush() throws java.io.IOException
CompactObjectOutput
flush
in interface ObjectDataOutputI
flush
in interface java.io.Flushable
flush
in interface java.io.ObjectOutput
flush
in class CompactObjectOutput
java.io.IOException
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.