Package oracle.kv.table
Interface FixedBinaryDef
- All Superinterfaces:
FieldDef
FixedBinaryDef is an extension of
FieldDef
to encapsulate a fixed
length binary value.- Since:
- 3.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface oracle.kv.table.FieldDef
FieldDef.Type
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Perform a deep copy of this FieldDef instance.fromString
(String encodedString) Creates a FixedBinaryValue instance from a String.getName()
int
getSize()
Methods inherited from interface oracle.kv.table.FieldDef
asAny, asAnyAtomic, asAnyJsonAtomic, asAnyRecord, asArray, asBinary, asBoolean, asDouble, asEnum, asFixedBinary, asFloat, asInteger, asJson, asLong, asMap, asNumber, asRecord, asString, asTimestamp, createArray, createBinary, createBoolean, createDouble, createEnum, createFixedBinary, createFloat, createInteger, createJsonNull, createLong, createMap, createNumber, createNumber, createNumber, createNumber, createNumber, createRecord, createString, createTimestamp, getDescription, getType, isAny, isAnyAtomic, isAnyJsonAtomic, isAnyRecord, isArray, isAtomic, isBinary, isBoolean, isComplex, isDouble, isEnum, isFixedBinary, isFloat, isInteger, isJson, isLong, isMap, isMRCounter, isNumber, isNumeric, isPrecise, isRecord, isString, isTimestamp, isType, isUUIDString, isValidIndexField, isValidKeyField
-
Method Details
-
getSize
int getSize()- Returns:
- the size of the binary value in bytes
-
getName
String getName()- Returns:
- the name of the type. A name is required for serialization.
-
clone
FixedBinaryDef clone()Description copied from interface:FieldDef
Perform a deep copy of this FieldDef instance. -
fromString
Creates a FixedBinaryValue instance from a String. The String must be a Base64 encoded string returned fromFixedBinaryValue.toString()
.- Returns:
- a String representation of the value
- Throws:
IllegalArgumentException
- if the string cannot be decoded
-