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(tech.ydb.proto.ValueProtos.Value value) tech.ydb.proto.ValueProtos.Type.Builderstatic @NonNull YqlPrimitiveTypestatic @NonNull YqlPrimitiveTypeof(Schema.JavaField column) Returns the Yql type of the column.tech.ydb.proto.ValueProtos.Value.Builder
-
Method Details
-
getYqlTypeBuilder
tech.ydb.proto.ValueProtos.Type.Builder getYqlTypeBuilder() -
of
-
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
-