public interface BinaryValue extends FieldValue
FieldValue
to represent a byte array
value.Modifier and Type | Method and Description |
---|---|
BinaryValue |
clone()
Create a deep copy of this object.
|
int |
compareTo(FieldValue otherValue)
Returns 0 if the two values are equal in terms of length and byte
content, otherwise it returns -1.
|
byte[] |
get()
Returns the byte array value.
|
String |
toString()
Returns a String representation of the value using a Base64 encoding.
|
asArray, asBinary, asBoolean, asDouble, asEnum, asFixedBinary, asFloat, asIndexKey, asInteger, asLong, asMap, asPrimaryKey, asRecord, asRow, asString, getType, isArray, isBinary, isBoolean, isDouble, isEnum, isFixedBinary, isFloat, isIndexKey, isInteger, isLong, isMap, isNull, isPrimaryKey, isRecord, isRow, isString, toJsonString
byte[] get()
int compareTo(FieldValue otherValue)
compareTo
in interface Comparable<FieldValue>
BinaryValue clone()
clone
in interface FieldValue
Copyright (c) 2011, 2014 Oracle and/or its affiliates. All rights reserved.