public class ProtoValue extends Object
| Modifier and Type | Method and Description |
|---|---|
static tech.ydb.proto.ValueProtos.Value |
dict() |
static tech.ydb.proto.ValueProtos.Value |
dict(tech.ydb.proto.ValueProtos.ValuePair... pairs) |
static tech.ydb.proto.ValueProtos.Value |
dict(tech.ydb.proto.ValueProtos.Value key,
tech.ydb.proto.ValueProtos.Value value) |
static tech.ydb.proto.ValueProtos.Value |
dict(tech.ydb.proto.ValueProtos.Value key1,
tech.ydb.proto.ValueProtos.Value value1,
tech.ydb.proto.ValueProtos.Value key2,
tech.ydb.proto.ValueProtos.Value value2) |
static tech.ydb.proto.ValueProtos.Value |
dict(tech.ydb.proto.ValueProtos.Value key1,
tech.ydb.proto.ValueProtos.Value value1,
tech.ydb.proto.ValueProtos.Value key2,
tech.ydb.proto.ValueProtos.Value value2,
tech.ydb.proto.ValueProtos.Value key3,
tech.ydb.proto.ValueProtos.Value value3) |
static tech.ydb.proto.ValueProtos.Value |
dict(tech.ydb.proto.ValueProtos.Value key1,
tech.ydb.proto.ValueProtos.Value value1,
tech.ydb.proto.ValueProtos.Value key2,
tech.ydb.proto.ValueProtos.Value value2,
tech.ydb.proto.ValueProtos.Value key3,
tech.ydb.proto.ValueProtos.Value value3,
tech.ydb.proto.ValueProtos.Value key4,
tech.ydb.proto.ValueProtos.Value value4) |
static tech.ydb.proto.ValueProtos.Value |
dict(tech.ydb.proto.ValueProtos.Value key1,
tech.ydb.proto.ValueProtos.Value value1,
tech.ydb.proto.ValueProtos.Value key2,
tech.ydb.proto.ValueProtos.Value value2,
tech.ydb.proto.ValueProtos.Value key3,
tech.ydb.proto.ValueProtos.Value value3,
tech.ydb.proto.ValueProtos.Value key4,
tech.ydb.proto.ValueProtos.Value value4,
tech.ydb.proto.ValueProtos.Value key5,
tech.ydb.proto.ValueProtos.Value value5) |
static tech.ydb.proto.ValueProtos.Value |
fromBool(boolean value) |
static tech.ydb.proto.ValueProtos.Value |
fromBytes(byte[] value) |
static tech.ydb.proto.ValueProtos.Value |
fromBytes(com.google.protobuf.ByteString value) |
static tech.ydb.proto.ValueProtos.Value |
fromBytesOwn(byte[] value) |
static tech.ydb.proto.ValueProtos.Value |
fromDate(Instant value) |
static tech.ydb.proto.ValueProtos.Value |
fromDate(LocalDate value) |
static tech.ydb.proto.ValueProtos.Value |
fromDate(long daysSinceEpoch) |
static tech.ydb.proto.ValueProtos.Value |
fromDatetime(Instant value) |
static tech.ydb.proto.ValueProtos.Value |
fromDatetime(LocalDateTime value) |
static tech.ydb.proto.ValueProtos.Value |
fromDatetime(long secondsSinceEpoch) |
static tech.ydb.proto.ValueProtos.Value |
fromDecimal(long high,
long low) |
static tech.ydb.proto.ValueProtos.Value |
fromDouble(double value) |
static tech.ydb.proto.ValueProtos.Value |
fromFloat(float value) |
static tech.ydb.proto.ValueProtos.Value |
fromInt16(short value) |
static tech.ydb.proto.ValueProtos.Value |
fromInt32(int value) |
static tech.ydb.proto.ValueProtos.Value |
fromInt64(long value) |
static tech.ydb.proto.ValueProtos.Value |
fromInt8(byte value) |
static tech.ydb.proto.ValueProtos.Value |
fromInterval(Duration value) |
static tech.ydb.proto.ValueProtos.Value |
fromInterval(long micros) |
static tech.ydb.proto.ValueProtos.Value |
fromJson(String value) |
static tech.ydb.proto.ValueProtos.Value |
fromJsonDocument(String value) |
static tech.ydb.proto.ValueProtos.Value |
fromOwnYson(byte[] value) |
static Value<?> |
fromPb(Type type,
tech.ydb.proto.ValueProtos.Value value) |
static tech.ydb.proto.ValueProtos.Value |
fromStringAsBytes(String value,
Charset charset) |
static tech.ydb.proto.ValueProtos.Value |
fromText(String value) |
static tech.ydb.proto.ValueProtos.Value |
fromTimestamp(Instant value) |
static tech.ydb.proto.ValueProtos.Value |
fromTimestamp(long microsSinceEpoch) |
static tech.ydb.proto.ValueProtos.Value |
fromTzDate(String text) |
static tech.ydb.proto.ValueProtos.Value |
fromTzDatetime(String text) |
static tech.ydb.proto.ValueProtos.Value |
fromUint16(int value) |
static tech.ydb.proto.ValueProtos.Value |
fromUint32(long value) |
static tech.ydb.proto.ValueProtos.Value |
fromUint64(long value) |
static tech.ydb.proto.ValueProtos.Value |
fromUint8(int value) |
static tech.ydb.proto.ValueProtos.Value |
fromUuid(long high,
long low) |
static tech.ydb.proto.ValueProtos.Value |
fromUuid(UUID uuid) |
static tech.ydb.proto.ValueProtos.Value |
fromYson(byte[] value) |
static tech.ydb.proto.ValueProtos.Value |
list() |
static tech.ydb.proto.ValueProtos.Value |
list(Iterable<tech.ydb.proto.ValueProtos.Value> items) |
static tech.ydb.proto.ValueProtos.Value |
list(tech.ydb.proto.ValueProtos.Value... items) |
static tech.ydb.proto.ValueProtos.Value |
list(tech.ydb.proto.ValueProtos.Value item) |
static tech.ydb.proto.ValueProtos.Value |
list(tech.ydb.proto.ValueProtos.Value item1,
tech.ydb.proto.ValueProtos.Value item2) |
static tech.ydb.proto.ValueProtos.Value |
list(tech.ydb.proto.ValueProtos.Value item1,
tech.ydb.proto.ValueProtos.Value item2,
tech.ydb.proto.ValueProtos.Value item3) |
static tech.ydb.proto.ValueProtos.Value |
list(tech.ydb.proto.ValueProtos.Value item1,
tech.ydb.proto.ValueProtos.Value item2,
tech.ydb.proto.ValueProtos.Value item3,
tech.ydb.proto.ValueProtos.Value item4) |
static tech.ydb.proto.ValueProtos.Value |
list(tech.ydb.proto.ValueProtos.Value item1,
tech.ydb.proto.ValueProtos.Value item2,
tech.ydb.proto.ValueProtos.Value item3,
tech.ydb.proto.ValueProtos.Value item4,
tech.ydb.proto.ValueProtos.Value item5) |
static tech.ydb.proto.ValueProtos.Value |
optional() |
static tech.ydb.proto.ValueProtos.Value |
optional(tech.ydb.proto.ValueProtos.Value value) |
static tech.ydb.proto.ValueProtos.Value |
struct(tech.ydb.proto.ValueProtos.Value member) |
static tech.ydb.proto.ValueProtos.Value |
struct(tech.ydb.proto.ValueProtos.Value firstMember,
tech.ydb.proto.ValueProtos.Value... members) |
static tech.ydb.proto.ValueProtos.Value |
struct(tech.ydb.proto.ValueProtos.Value member1,
tech.ydb.proto.ValueProtos.Value member2) |
static tech.ydb.proto.ValueProtos.Value |
struct(tech.ydb.proto.ValueProtos.Value member1,
tech.ydb.proto.ValueProtos.Value member2,
tech.ydb.proto.ValueProtos.Value member3) |
static tech.ydb.proto.ValueProtos.Value |
struct(tech.ydb.proto.ValueProtos.Value member1,
tech.ydb.proto.ValueProtos.Value member2,
tech.ydb.proto.ValueProtos.Value member3,
tech.ydb.proto.ValueProtos.Value member4) |
static tech.ydb.proto.ValueProtos.Value |
struct(tech.ydb.proto.ValueProtos.Value member1,
tech.ydb.proto.ValueProtos.Value member2,
tech.ydb.proto.ValueProtos.Value member3,
tech.ydb.proto.ValueProtos.Value member4,
tech.ydb.proto.ValueProtos.Value member5) |
static byte[] |
toBytes(tech.ydb.proto.ValueProtos.Value value) |
static String |
toBytesAsString(tech.ydb.proto.ValueProtos.Value value,
Charset charset) |
static LocalDate |
toDate(long daysSinceEpoch) |
static LocalDate |
toDate(tech.ydb.proto.ValueProtos.Value value) |
static LocalDateTime |
toDatetime(long secondsSinceEpoch) |
static LocalDateTime |
toDatetime(tech.ydb.proto.ValueProtos.Value value) |
static DecimalValue |
toDecimal(tech.ydb.proto.ValueProtos.Type type,
tech.ydb.proto.ValueProtos.Value value) |
static Duration |
toInterval(tech.ydb.proto.ValueProtos.Value value) |
static String |
toJson(tech.ydb.proto.ValueProtos.Value value) |
static String |
toJsonDocument(tech.ydb.proto.ValueProtos.Value value) |
static String |
toText(tech.ydb.proto.ValueProtos.Value value) |
static Instant |
toTimestamp(long microsSinceEpoch) |
static Instant |
toTimestamp(tech.ydb.proto.ValueProtos.Value value) |
static tech.ydb.proto.ValueProtos.TypedValue |
toTypedValue(Value<?> p) |
static ZonedDateTime |
toTzDate(String textValue) |
static ZonedDateTime |
toTzDate(tech.ydb.proto.ValueProtos.Value value) |
static ZonedDateTime |
toTzDatetime(String textValue) |
static ZonedDateTime |
toTzDatetime(tech.ydb.proto.ValueProtos.Value value) |
static ZonedDateTime |
toTzTimestamp(String value) |
static ZonedDateTime |
toTzTimestamp(tech.ydb.proto.ValueProtos.Value value) |
static UUID |
toUuid(tech.ydb.proto.ValueProtos.Value value) |
static byte[] |
toYson(tech.ydb.proto.ValueProtos.Value value) |
static tech.ydb.proto.ValueProtos.Value |
tuple(tech.ydb.proto.ValueProtos.Value... items) |
static tech.ydb.proto.ValueProtos.Value |
tuple(tech.ydb.proto.ValueProtos.Value member) |
static tech.ydb.proto.ValueProtos.Value |
tuple(tech.ydb.proto.ValueProtos.Value member1,
tech.ydb.proto.ValueProtos.Value member2) |
static tech.ydb.proto.ValueProtos.Value |
tuple(tech.ydb.proto.ValueProtos.Value member1,
tech.ydb.proto.ValueProtos.Value member2,
tech.ydb.proto.ValueProtos.Value member3) |
static tech.ydb.proto.ValueProtos.Value |
tuple(tech.ydb.proto.ValueProtos.Value member1,
tech.ydb.proto.ValueProtos.Value member2,
tech.ydb.proto.ValueProtos.Value member3,
tech.ydb.proto.ValueProtos.Value member4) |
static tech.ydb.proto.ValueProtos.Value |
tuple(tech.ydb.proto.ValueProtos.Value member1,
tech.ydb.proto.ValueProtos.Value member2,
tech.ydb.proto.ValueProtos.Value member3,
tech.ydb.proto.ValueProtos.Value member4,
tech.ydb.proto.ValueProtos.Value member5) |
static tech.ydb.proto.ValueProtos.Value |
voidValue() |
public static tech.ydb.proto.ValueProtos.Value fromBool(boolean value)
public static tech.ydb.proto.ValueProtos.Value fromInt8(byte value)
public static tech.ydb.proto.ValueProtos.Value fromUint8(int value)
public static tech.ydb.proto.ValueProtos.Value fromInt16(short value)
public static tech.ydb.proto.ValueProtos.Value fromUint16(int value)
public static tech.ydb.proto.ValueProtos.Value fromInt32(int value)
public static tech.ydb.proto.ValueProtos.Value fromUint32(long value)
public static tech.ydb.proto.ValueProtos.Value fromInt64(long value)
public static tech.ydb.proto.ValueProtos.Value fromUint64(long value)
public static tech.ydb.proto.ValueProtos.Value fromFloat(float value)
public static tech.ydb.proto.ValueProtos.Value fromDouble(double value)
public static tech.ydb.proto.ValueProtos.Value fromBytes(com.google.protobuf.ByteString value)
public static tech.ydb.proto.ValueProtos.Value fromBytes(byte[] value)
public static tech.ydb.proto.ValueProtos.Value fromBytesOwn(byte[] value)
public static tech.ydb.proto.ValueProtos.Value fromStringAsBytes(String value, Charset charset)
public static byte[] toBytes(tech.ydb.proto.ValueProtos.Value value)
public static String toBytesAsString(tech.ydb.proto.ValueProtos.Value value, Charset charset)
public static tech.ydb.proto.ValueProtos.Value fromText(String value)
public static String toText(tech.ydb.proto.ValueProtos.Value value)
public static tech.ydb.proto.ValueProtos.Value fromYson(byte[] value)
public static tech.ydb.proto.ValueProtos.Value fromOwnYson(byte[] value)
public static byte[] toYson(tech.ydb.proto.ValueProtos.Value value)
public static tech.ydb.proto.ValueProtos.Value fromJson(String value)
public static String toJson(tech.ydb.proto.ValueProtos.Value value)
public static tech.ydb.proto.ValueProtos.Value fromJsonDocument(String value)
public static String toJsonDocument(tech.ydb.proto.ValueProtos.Value value)
public static tech.ydb.proto.ValueProtos.Value fromUuid(long high,
long low)
public static tech.ydb.proto.ValueProtos.Value fromUuid(UUID uuid)
public static UUID toUuid(tech.ydb.proto.ValueProtos.Value value)
public static tech.ydb.proto.ValueProtos.Value fromInterval(long micros)
public static tech.ydb.proto.ValueProtos.Value fromInterval(Duration value)
public static Duration toInterval(tech.ydb.proto.ValueProtos.Value value)
public static tech.ydb.proto.ValueProtos.Value fromDate(long daysSinceEpoch)
public static tech.ydb.proto.ValueProtos.Value fromDate(LocalDate value)
public static tech.ydb.proto.ValueProtos.Value fromDate(Instant value)
public static LocalDate toDate(long daysSinceEpoch)
public static LocalDate toDate(tech.ydb.proto.ValueProtos.Value value)
public static tech.ydb.proto.ValueProtos.Value fromDatetime(long secondsSinceEpoch)
public static tech.ydb.proto.ValueProtos.Value fromDatetime(Instant value)
public static tech.ydb.proto.ValueProtos.Value fromDatetime(LocalDateTime value)
public static LocalDateTime toDatetime(long secondsSinceEpoch)
public static LocalDateTime toDatetime(tech.ydb.proto.ValueProtos.Value value)
public static tech.ydb.proto.ValueProtos.Value fromTimestamp(long microsSinceEpoch)
public static tech.ydb.proto.ValueProtos.Value fromTimestamp(Instant value)
public static Instant toTimestamp(long microsSinceEpoch)
public static Instant toTimestamp(tech.ydb.proto.ValueProtos.Value value)
public static tech.ydb.proto.ValueProtos.Value fromTzDate(String text)
public static ZonedDateTime toTzDate(String textValue)
public static ZonedDateTime toTzDate(tech.ydb.proto.ValueProtos.Value value)
public static tech.ydb.proto.ValueProtos.Value fromTzDatetime(String text)
public static ZonedDateTime toTzDatetime(String textValue)
public static ZonedDateTime toTzDatetime(tech.ydb.proto.ValueProtos.Value value)
public static ZonedDateTime toTzTimestamp(String value)
public static ZonedDateTime toTzTimestamp(tech.ydb.proto.ValueProtos.Value value)
public static tech.ydb.proto.ValueProtos.Value fromDecimal(long high,
long low)
public static DecimalValue toDecimal(tech.ydb.proto.ValueProtos.Type type, tech.ydb.proto.ValueProtos.Value value)
public static tech.ydb.proto.ValueProtos.Value dict()
public static tech.ydb.proto.ValueProtos.Value dict(tech.ydb.proto.ValueProtos.Value key,
tech.ydb.proto.ValueProtos.Value value)
public static tech.ydb.proto.ValueProtos.Value dict(tech.ydb.proto.ValueProtos.Value key1,
tech.ydb.proto.ValueProtos.Value value1,
tech.ydb.proto.ValueProtos.Value key2,
tech.ydb.proto.ValueProtos.Value value2)
public static tech.ydb.proto.ValueProtos.Value dict(tech.ydb.proto.ValueProtos.Value key1,
tech.ydb.proto.ValueProtos.Value value1,
tech.ydb.proto.ValueProtos.Value key2,
tech.ydb.proto.ValueProtos.Value value2,
tech.ydb.proto.ValueProtos.Value key3,
tech.ydb.proto.ValueProtos.Value value3)
public static tech.ydb.proto.ValueProtos.Value dict(tech.ydb.proto.ValueProtos.Value key1,
tech.ydb.proto.ValueProtos.Value value1,
tech.ydb.proto.ValueProtos.Value key2,
tech.ydb.proto.ValueProtos.Value value2,
tech.ydb.proto.ValueProtos.Value key3,
tech.ydb.proto.ValueProtos.Value value3,
tech.ydb.proto.ValueProtos.Value key4,
tech.ydb.proto.ValueProtos.Value value4)
public static tech.ydb.proto.ValueProtos.Value dict(tech.ydb.proto.ValueProtos.Value key1,
tech.ydb.proto.ValueProtos.Value value1,
tech.ydb.proto.ValueProtos.Value key2,
tech.ydb.proto.ValueProtos.Value value2,
tech.ydb.proto.ValueProtos.Value key3,
tech.ydb.proto.ValueProtos.Value value3,
tech.ydb.proto.ValueProtos.Value key4,
tech.ydb.proto.ValueProtos.Value value4,
tech.ydb.proto.ValueProtos.Value key5,
tech.ydb.proto.ValueProtos.Value value5)
public static tech.ydb.proto.ValueProtos.Value dict(tech.ydb.proto.ValueProtos.ValuePair... pairs)
public static tech.ydb.proto.ValueProtos.Value list()
public static tech.ydb.proto.ValueProtos.Value list(tech.ydb.proto.ValueProtos.Value item)
public static tech.ydb.proto.ValueProtos.Value list(tech.ydb.proto.ValueProtos.Value item1,
tech.ydb.proto.ValueProtos.Value item2)
public static tech.ydb.proto.ValueProtos.Value list(tech.ydb.proto.ValueProtos.Value item1,
tech.ydb.proto.ValueProtos.Value item2,
tech.ydb.proto.ValueProtos.Value item3)
public static tech.ydb.proto.ValueProtos.Value list(tech.ydb.proto.ValueProtos.Value item1,
tech.ydb.proto.ValueProtos.Value item2,
tech.ydb.proto.ValueProtos.Value item3,
tech.ydb.proto.ValueProtos.Value item4)
public static tech.ydb.proto.ValueProtos.Value list(tech.ydb.proto.ValueProtos.Value item1,
tech.ydb.proto.ValueProtos.Value item2,
tech.ydb.proto.ValueProtos.Value item3,
tech.ydb.proto.ValueProtos.Value item4,
tech.ydb.proto.ValueProtos.Value item5)
public static tech.ydb.proto.ValueProtos.Value list(tech.ydb.proto.ValueProtos.Value... items)
public static tech.ydb.proto.ValueProtos.Value list(Iterable<tech.ydb.proto.ValueProtos.Value> items)
public static tech.ydb.proto.ValueProtos.Value optional()
public static tech.ydb.proto.ValueProtos.Value optional(tech.ydb.proto.ValueProtos.Value value)
public static tech.ydb.proto.ValueProtos.Value struct(tech.ydb.proto.ValueProtos.Value member)
public static tech.ydb.proto.ValueProtos.Value struct(tech.ydb.proto.ValueProtos.Value member1,
tech.ydb.proto.ValueProtos.Value member2)
public static tech.ydb.proto.ValueProtos.Value struct(tech.ydb.proto.ValueProtos.Value member1,
tech.ydb.proto.ValueProtos.Value member2,
tech.ydb.proto.ValueProtos.Value member3)
public static tech.ydb.proto.ValueProtos.Value struct(tech.ydb.proto.ValueProtos.Value member1,
tech.ydb.proto.ValueProtos.Value member2,
tech.ydb.proto.ValueProtos.Value member3,
tech.ydb.proto.ValueProtos.Value member4)
public static tech.ydb.proto.ValueProtos.Value struct(tech.ydb.proto.ValueProtos.Value member1,
tech.ydb.proto.ValueProtos.Value member2,
tech.ydb.proto.ValueProtos.Value member3,
tech.ydb.proto.ValueProtos.Value member4,
tech.ydb.proto.ValueProtos.Value member5)
public static tech.ydb.proto.ValueProtos.Value struct(tech.ydb.proto.ValueProtos.Value firstMember,
tech.ydb.proto.ValueProtos.Value... members)
public static tech.ydb.proto.ValueProtos.Value tuple(tech.ydb.proto.ValueProtos.Value member)
public static tech.ydb.proto.ValueProtos.Value tuple(tech.ydb.proto.ValueProtos.Value member1,
tech.ydb.proto.ValueProtos.Value member2)
public static tech.ydb.proto.ValueProtos.Value tuple(tech.ydb.proto.ValueProtos.Value member1,
tech.ydb.proto.ValueProtos.Value member2,
tech.ydb.proto.ValueProtos.Value member3)
public static tech.ydb.proto.ValueProtos.Value tuple(tech.ydb.proto.ValueProtos.Value member1,
tech.ydb.proto.ValueProtos.Value member2,
tech.ydb.proto.ValueProtos.Value member3,
tech.ydb.proto.ValueProtos.Value member4)
public static tech.ydb.proto.ValueProtos.Value tuple(tech.ydb.proto.ValueProtos.Value member1,
tech.ydb.proto.ValueProtos.Value member2,
tech.ydb.proto.ValueProtos.Value member3,
tech.ydb.proto.ValueProtos.Value member4,
tech.ydb.proto.ValueProtos.Value member5)
public static tech.ydb.proto.ValueProtos.Value tuple(tech.ydb.proto.ValueProtos.Value... items)
public static tech.ydb.proto.ValueProtos.Value voidValue()
public static tech.ydb.proto.ValueProtos.TypedValue toTypedValue(Value<?> p)
Copyright © 2023. All rights reserved.