public class PgBinaryWriter extends Object implements AutoCloseable
| Constructor and Description |
|---|
PgBinaryWriter() |
PgBinaryWriter(int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
open(OutputStream out) |
void |
startRow(int numColumns) |
<TTargetType> |
write(IValueHandler<TTargetType> handler,
TTargetType value) |
void |
writeBoolean(boolean value)
Writes primitive boolean to the output stream
|
void |
writeByte(int value)
Writes primitive byte to the output stream
|
void |
writeDouble(double value)
Writes primitive double to the output stream
|
void |
writeFloat(float value)
Writes primitive float to the output stream
|
void |
writeInt(int value)
Writes primitive integer to the output stream
|
void |
writeLong(long value)
Writes primitive long to the output stream
|
void |
writeNull()
Writes a Null Value.
|
void |
writeShort(int value)
Writes primitive short to the output stream
|
public PgBinaryWriter()
public PgBinaryWriter(int bufferSize)
public void open(OutputStream out)
public void startRow(int numColumns)
public <TTargetType> void write(IValueHandler<TTargetType> handler, TTargetType value)
public void writeBoolean(boolean value)
value - value to writepublic void writeByte(int value)
value - value to writepublic void writeShort(int value)
value - value to writepublic void writeInt(int value)
value - value to writepublic void writeLong(long value)
value - value to writepublic void writeFloat(float value)
value - value to writepublic void writeDouble(double value)
value - value to writepublic void writeNull()
public void close()
close in interface AutoCloseableCopyright © 2020. All rights reserved.