Interface FieldValue
- All Superinterfaces:
FieldValue
- All Known Implementing Classes:
BooleanFieldValue,ByteArrayFieldValue,IntegerFieldValue,RealFieldValue,StringFieldValue,TimestampFieldValue,TupleFieldValue,UuidFieldValue
public sealed interface FieldValue
extends FieldValue
permits BooleanFieldValue, ByteArrayFieldValue, IntegerFieldValue, RealFieldValue, StringFieldValue, TimestampFieldValue, TupleFieldValue, UuidFieldValue
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Comparable<?>getComparable(@NonNull Map<String, Object> values, @NonNull Schema.JavaField field) default Comparable<?>getComparable(@NonNull Schema.JavaField field) Optional<Comparable<?>>getComparableByType(Type fieldType, FieldValueType valueType) default ObjectgetRaw(@NonNull Schema.JavaField field) isValidValueOfType(Type fieldType, FieldValueType valueType) static FieldValueofObj(@NonNull Object obj, @NonNull Schema.JavaField schemaField) Methods inherited from interface tech.ydb.yoj.databind.expression.FieldValue
isBool, isByteArray, isNumber, isReal, isString, isTimestamp, isTuple, isUuid
-
Method Details
-
getComparableByType
-
isValidValueOfType
-
getRaw
- Specified by:
getRawin interfaceFieldValue
-
getComparable
- Specified by:
getComparablein interfaceFieldValue
-
ofObj
static FieldValue ofObj(@NonNull @NonNull Object obj, @NonNull @NonNull Schema.JavaField schemaField) -
getComparable
@Nullable static Comparable<?> getComparable(@NonNull @NonNull Map<String, Object> values, @NonNull @NonNull Schema.JavaField field)
-