Package com.yandex.ydb.table.values
Class VariantValue
- java.lang.Object
-
- com.yandex.ydb.table.values.VariantValue
-
- All Implemented Interfaces:
Value<VariantType>
public class VariantValue extends Object implements Value<VariantType>
- Author:
- Sergey Polovko
-
-
Field Summary
-
Fields inherited from interface com.yandex.ydb.table.values.Value
EMPTY_ARRAY
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)ValuegetItem()VariantTypegetType()intgetTypeIndex()inthashCode()com.yandex.ydb.ValueProtos.ValuetoPb()StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.yandex.ydb.table.values.Value
asData, asDict, asList, asOptional, asStuct, asVariant, asVoid, makeOptional
-
-
-
-
Method Detail
-
getTypeIndex
public int getTypeIndex()
-
getItem
public Value getItem()
-
getType
public VariantType getType()
- Specified by:
getTypein interfaceValue<VariantType>
-
toPb
public com.yandex.ydb.ValueProtos.Value toPb()
- Specified by:
toPbin interfaceValue<VariantType>
-
-