blob and clob
types.Warning
This interface should not be implemented or extended by code outside of this library.
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public IonLob | clone()
Redeclares com. Creates a copy of this value and all of its children. |
| public byte[] | Returns: a new byte array, ornull if this.isNullValue().Gets all the data of this lob, or |
| public InputStream | Returns: a new stream positioned at the start of the lob, ornull if this.isNullValue().Creates a new |
| public void | setBytes(byte[]
the new data for the lob;
may be bytes)null to make this an Ion null value.Sets the data of this lob, copying bytes from an array. |
| public void | setBytes(byte[]
the new data for the lob;
may be bytes, int null to make this an Ion null value.the offset within the array of the first byte to copy;
must be non-negative and no larger than offset, int bytes.length.the number of bytes to be copied from the given array;
must be non-negative and no larger than length)bytes.length - offset.Sets the data of this lob, copying bytes from part of an array. |
| byteSize | back to summary |
|---|---|
| public int byteSize() Gets the size in bytes of this lob.
| |
| clone | back to summary |
|---|---|
| public IonLob clone() throws UnknownSymbolException Redeclares com. Doc from com. Creates a copy of this value and all of its children. The cloned value
may use the same shared symbol tables, but it will have an independent local
symbol table if necessary. The cloned value will
be modifiable regardless of whether this instance
The cloned value will be created in the context of the same
| |
| getBytes | back to summary |
|---|---|
| public byte[] getBytes() Gets all the data of this lob, or
| |
| newInputStream | back to summary |
|---|---|
| public InputStream newInputStream() Creates a new
| |
| setBytes | back to summary |
|---|---|
| public void setBytes(byte[] bytes) Sets the data of this lob, copying bytes from an array.
| |
| setBytes | back to summary |
|---|---|
| public void setBytes(byte[] bytes, int offset, int length) Sets the data of this lob, copying bytes from part of an array.
This method copies
| |