Class YqlUtils

java.lang.Object
tech.ydb.yoj.repository.ydb.yql.YqlUtils

public class YqlUtils extends Object
  • Constructor Details

    • YqlUtils

      public YqlUtils()
  • Method Details

    • value

      public static <T> tech.ydb.proto.ValueProtos.TypedValue value(Class<T> valueClass, T value)
    • optionalValue

      public static <T> tech.ydb.proto.ValueProtos.TypedValue optionalValue(Class<T> valueClass, T value)
    • dictValue

      public static <T> tech.ydb.proto.ValueProtos.TypedValue dictValue(Class<T> valueClass, Collection<T> value)
    • listValue

      public static <T> tech.ydb.proto.ValueProtos.TypedValue listValue(Class<T> valueClass, String name, Collection<T> value)
    • getTypeName

      public static String getTypeName(Type javaType)
    • table

      public static <T extends tech.ydb.yoj.repository.db.Entity<T>> String table(Class<T> entity)
    • withTablePathPrefix

      public static String withTablePathPrefix(String tablespace, String query)