java.lang.Comparable<FieldValue>, FieldValuepublic interface BinaryValue extends FieldValue
FieldValue to represent a byte array
value.| Modifier and Type | Method | 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.
|
java.lang.String |
toString() |
Returns a String representation of the value using a Base64 encoding.
|
asArray, asBinary, asBoolean, asDouble, asEnum, asFixedBinary, asFloat, asIndexKey, asInteger, asLong, asMap, asNumber, asPrimaryKey, asRecord, asRow, asString, asTimestamp, getDefinition, getType, isArray, isAtomic, isBinary, isBoolean, isComplex, isDouble, isEMPTY, isEnum, isFixedBinary, isFloat, isIndexKey, isInteger, isJsonNull, isLong, isMap, isNull, isNumber, isNumeric, isPrimaryKey, isRecord, isRow, isString, isTimestamp, toJsonStringbyte[] get()
int compareTo(FieldValue otherValue)
compareTo in interface java.lang.Comparable<FieldValue>BinaryValue clone()
clone in interface FieldValuejava.lang.String toString()
toString in class java.lang.ObjectCopyright (c) 2011, 2018 Oracle and/or its affiliates. All rights reserved.