Package oracle.kv.table
Interface BinaryValue
- 
- All Superinterfaces:
 Comparable<FieldValue>,FieldValue
public interface BinaryValue extends FieldValue
BinaryValue extendsFieldValueto represent a byte array value.- Since:
 - 3.0
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BinaryValueclone()Create a deep copy of this object.intcompareTo(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.StringtoString()Returns a String representation of the value using a Base64 encoding.- 
Methods inherited from interface oracle.kv.table.FieldValue
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, toJsonString 
 - 
 
 - 
 
- 
- 
Method Detail
- 
get
byte[] get()
Returns the byte array value.- Returns:
 - the byte array value
 
 
- 
compareTo
int compareTo(FieldValue otherValue)
Returns 0 if the two values are equal in terms of length and byte content, otherwise it returns -1.- Specified by:
 compareToin interfaceComparable<FieldValue>- Returns:
 - 0 if the values are equal, -1 otherwise
 
 
- 
clone
BinaryValue clone()
Create a deep copy of this object.- Specified by:
 clonein interfaceFieldValue- Returns:
 - a deep copy of this object
 
 
 - 
 
 -