Package oracle.kv.table
Interface StringDef
- All Superinterfaces:
FieldDef
StringDef is an extension of
FieldDef
to encapsulate a String.
It adds a minimum and maximum value range and type.
Comparisons to minimum and maxium values are done using
String.compareTo(java.lang.String)
.
- 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.getMax()
Deprecated.as of release 4.0 it is no longer possible to specify ranges on String types.getMin()
Deprecated.as of release 4.0 it is no longer possible to specify ranges on String types.boolean
Deprecated.as of release 4.0 it is no longer possible to specify ranges on String types.boolean
Deprecated.as of release 4.0 it is no longer possible to specify ranges on String types.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
-
getMin
Deprecated.as of release 4.0 it is no longer possible to specify ranges on String types.Get the minimum value for the string.- Returns:
- the minimum value for the instance if defined, otherwise null
-
getMax
Deprecated.as of release 4.0 it is no longer possible to specify ranges on String types.Get the maximum value for the string.- Returns:
- the maximum value for the instance if defined, otherwise null
-
isMinInclusive
Deprecated.as of release 4.0 it is no longer possible to specify ranges on String types.- Returns:
- true if the minimum is inclusive. This value is only relevant
if
getMin()
returns a non-null value.
-
isMaxInclusive
Deprecated.as of release 4.0 it is no longer possible to specify ranges on String types.- Returns:
- true if the maximum is inclusive. This value is only relevant
if
getMax()
returns a non-null value.
-
clone
StringDef clone()Description copied from interface:FieldDef
Perform a deep copy of this FieldDef instance.
-