public interface BinarySettable extends ScalarSettable
TokenSettable object containing a binary value.TokenTypeConstant#BINARY| Modifier and Type | Method and Description |
|---|---|
void |
set(byte[] value)
Sets the container to the given binary data.
|
void |
set(byte[] data,
int offset,
int length)
Sets the container to a subsequence of the given binary
data.
|
void |
setRef(byte[] ref)
Sets the container to the given byte array reference.
|
set, setNull, setZerogetTypevoid set(byte[] value)
The input array is copied to prevent later modification of the value
that is set. To avoid this overhead and prevent the data copy,
use the setRef(byte[]) method instead.
value - binary value to which to set the containervoid setRef(byte[] ref)
While this call avoids the overhead seen with set(byte[]),
the caller must guarantee that the input array will not be
modified subsequent to this call. Failure to comply may
result in the dataflow exhibiting unexpected behavior.
ref - binary value to which to set the containervoid set(byte[] data,
int offset,
int length)
data - binary data containing the subsequence to which to set the containeroffset - starting offset of the subsequencelength - length of the subsequence, in bytesCopyright © 2020 Actian Corporation. All rights reserved.