public interface BinaryValued extends ScalarValued
TokenValued
object containing a binary value.TokenTypeConstant#BINARY
Modifier and Type | Method and Description |
---|---|
byte[] |
asBinary()
Gets the contained binary value.
|
byte[] |
asBinaryRef()
Gets a reference to the contained binary value.
|
getType, isZero
isNull
byte[] asBinary()
The array returned is a copy of the binary data contained in
the object. To avoid this overhead, use asBinaryRef()
instead.
byte[]
. If
null valued, as indicated by TokenValued.isNull()
,
null
is returned.byte[] asBinaryRef()
While this call avoids the overhead seen with asBinary()
,
the caller must guarantee that the returned array will not be
modified. Failure to comply may result in the dataflow exhibiting
unexpected behavior, as other operators may (or may not)
see the modified value.
byte[]
holding the contained
value. If null valued, as indicated by TokenValued.isNull()
,
null
is returned.Copyright © 2024 Actian Corporation. All rights reserved.