Package com.yandex.ydb.table.values
Class VariantType
- java.lang.Object
-
- com.yandex.ydb.table.values.VariantType
-
-
Field Summary
-
Fields inherited from interface com.yandex.ydb.table.values.Type
EMPTY_ARRAY
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)intgetItemsCount()TypegetItemType(int index)Type.KindgetKind()inthashCode()VariantValuenewValue(Value item, int typeIndex)static VariantTypeof(List<Type> itemTypes)static VariantTypeofCopy(Type... itemTypes)static VariantTypeofOwn(Type... itemTypes)will not clone given arraycom.yandex.ydb.ValueProtos.TypetoPb()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.Type
makeOptional, unwrapOptional
-
-
-
-
Method Detail
-
ofCopy
public static VariantType ofCopy(Type... itemTypes)
-
ofOwn
public static VariantType ofOwn(Type... itemTypes)
will not clone given array
-
of
public static VariantType of(List<Type> itemTypes)
-
getItemsCount
public int getItemsCount()
-
getItemType
public Type getItemType(int index)
-
equals
public boolean equals(Object o)
-
hashCode
public int hashCode()
-
toString
public String toString()
-
newValue
public VariantValue newValue(Value item, int typeIndex)
-
-