@ParametersAreNonnullByDefault public class OptionalValue extends Object implements Value<OptionalType>
EMPTY_ARRAY| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Value<?> |
get() |
OptionalType |
getType() |
int |
hashCode() |
boolean |
isPresent() |
static OptionalValue |
of(Value<?> value) |
Value<?> |
orElse(Value<?> other) |
tech.ydb.proto.ValueProtos.Value |
toPb() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitasData, asDict, asList, asOptional, asStuct, asVariant, asVoid, makeOptionalpublic static OptionalValue of(Value<?> value)
public boolean isPresent()
public Value<?> get()
public OptionalType getType()
getType in interface Value<OptionalType>public tech.ydb.proto.ValueProtos.Value toPb()
toPb in interface Value<OptionalType>Copyright © 2023. All rights reserved.