Package oracle.kv.table
Interface EnumDef
- All Superinterfaces:
FieldDef
EnumDef is a extension of
FieldDef
to support an enumeration type.
Valid members of an enumeration are represented as an array of strings.
A value instance of EnumDef is represented by a single string, which
must exist in the set of valid strings.- Since:
- 3.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface oracle.kv.table.FieldDef
FieldDef.Type
-
Method Summary
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
-
getValues
String[] getValues()- Returns:
- the legal values for the enumeration
-
getName
String getName()- Returns:
- the name of the enumeration. Unlike most FieldDef instances enumerations require a name to be included in the schema.
-
clone
EnumDef clone()Description copied from interface:FieldDef
Perform a deep copy of this FieldDef instance.
-