Package tech.ydb.yoj.repository.ydb.yql
Interface YqlType
- All Known Implementing Classes:
YqlCompositeType.YqlDict,YqlCompositeType.YqlList,YqlCompositeType.YqlTuple,YqlCompositeType.YqlVoid,YqlPrimitiveType
public interface YqlType
-
Method Summary
Modifier and TypeMethodDescriptionfromYql(com.yandex.ydb.ValueProtos.Value value) com.yandex.ydb.ValueProtos.Type.Builderstatic @NonNull YqlPrimitiveTypeDeprecated, for removal: This API element is subject to removal in a future version.This method will be removed in YOJ 3.0.0.static @NonNull YqlPrimitiveTypeof(tech.ydb.yoj.databind.schema.Schema.JavaField column) Returns the Yql type of the column.com.yandex.ydb.ValueProtos.Value.Builder
-
Method Details
-
getYqlTypeBuilder
com.yandex.ydb.ValueProtos.Type.Builder getYqlTypeBuilder() -
of
Deprecated, for removal: This API element is subject to removal in a future version.This method will be removed in YOJ 3.0.0. Nothing in YOJ callsYqlType.of(Type)any more.Please use
YqlType.of(JavaField)because it correcly respects the customizations specified in the@Columnannotation. -
of
Returns the Yql type of the column.If the
Columnannotation is specified for thecolumnfield, the annotation fielddbTypemay be used to specify the column type.- Returns:
- the Yql type of the column
-
getYqlTypeName
String getYqlTypeName() -
toYql
-
fromYql
-