Package tech.ydb.yoj.repository.ydb.yql
Class YqlUtils
java.lang.Object
tech.ydb.yoj.repository.ydb.yql.YqlUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> tech.ydb.proto.ValueProtos.TypedValuedictValue(Class<T> valueClass, Collection<T> value) static StringgetTypeName(Type javaType) static <T> tech.ydb.proto.ValueProtos.TypedValuelistValue(Class<T> valueClass, String name, Collection<T> value) static <T> tech.ydb.proto.ValueProtos.TypedValueoptionalValue(Class<T> valueClass, T value) static <T extends tech.ydb.yoj.repository.db.Entity<T>>
Stringstatic <T> tech.ydb.proto.ValueProtos.TypedValuestatic StringwithTablePathPrefix(String tablespace, String query)
-
Constructor Details
-
YqlUtils
public YqlUtils()
-
-
Method Details
-
value
-
optionalValue
-
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
-
table
-
withTablePathPrefix
-