Modifier and Type | Method and Description |
---|---|
int |
lengthInBytes()
This method is called to return the number of bytes needed to store this object in the binary
form required by org.postgresql.
|
void |
setByteValue(byte[] value,
int offset)
This method is called to set the value of this object.
|
void |
toBytes(byte[] bytes,
int offset)
This method is called the to store the value of the object, in the binary form required by
org.postgresql.
|
void setByteValue(byte[] value, int offset) throws SQLException
value
- data containing the binary representation of the value of the objectoffset
- the offset in the byte array where object data startsSQLException
- thrown if value is invalid for this typeint lengthInBytes()
void toBytes(byte[] bytes, int offset)
bytes
- the array to store the value, it is guaranteed to be at lest
lengthInBytes()
in size.offset
- the offset in the byte array where object must be storedCopyright © 1997-2020 PostgreSQL Global Development Group. All Rights Reserved.