Class YdbConverter

java.lang.Object
tech.ydb.yoj.repository.ydb.client.YdbConverter

public class YdbConverter extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.yandex.ydb.table.query.Params
    convertToParams(Map<String,com.yandex.ydb.ValueProtos.TypedValue> queryParameters)
     
    static com.yandex.ydb.ValueProtos.Value.Builder
    convertValueToProto(com.yandex.ydb.table.result.ValueReader column)
     
    static com.yandex.ydb.table.values.Value
    toSDK(com.yandex.ydb.ValueProtos.TypedValue typedValue)
     
    static com.yandex.ydb.table.values.Value
    toSDK(com.yandex.ydb.ValueProtos.Type type, com.yandex.ydb.ValueProtos.Value value)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • YdbConverter

      public YdbConverter()
  • Method Details

    • toSDK

      public static com.yandex.ydb.table.values.Value toSDK(com.yandex.ydb.ValueProtos.TypedValue typedValue)
    • toSDK

      public static com.yandex.ydb.table.values.Value toSDK(com.yandex.ydb.ValueProtos.Type type, com.yandex.ydb.ValueProtos.Value value)
    • convertValueToProto

      public static com.yandex.ydb.ValueProtos.Value.Builder convertValueToProto(com.yandex.ydb.table.result.ValueReader column)
    • convertToParams

      public static com.yandex.ydb.table.query.Params convertToParams(Map<String,com.yandex.ydb.ValueProtos.TypedValue> queryParameters)