Package org.apache.iceberg.variants
Interface VariantPrimitive<T>
- All Superinterfaces:
VariantValue
A primitive variant value.
-
Method Summary
Modifier and TypeMethodDescriptiondefault VariantPrimitive<?>
Returns this value as aVariantPrimitive
.static String
asString
(VariantPrimitive<?> primitive) static boolean
equals
(VariantPrimitive<?> self, Object obj) get()
static int
hash
(VariantPrimitive<?> self) Methods inherited from interface org.apache.iceberg.variants.VariantValue
asArray, asObject, sizeInBytes, type, writeTo
-
Method Details
-
get
T get() -
asPrimitive
Description copied from interface:VariantValue
Returns this value as aVariantPrimitive
.- Specified by:
asPrimitive
in interfaceVariantValue
-
asString
-
hash
-
equals
-