Package tech.ydb.yoj.repository.ydb.yql
Class YqlPrimitiveType
java.lang.Object
tech.ydb.yoj.repository.ydb.yql.YqlPrimitiveType
- All Implemented Interfaces:
YqlType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidfromYql(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.static voidtech.ydb.proto.ValueProtos.Value.Builder
-
Constructor Details
-
YqlPrimitiveType
public YqlPrimitiveType()
-
-
Method Details
-
changeStringDefaultTypeToUtf8
public static void changeStringDefaultTypeToUtf8() -
resetStringDefaultTypeToDefaults
public static void resetStringDefaultTypeToDefaults() -
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
- Specified by:
getYqlTypeNamein interfaceYqlType
-
getYqlTypeBuilder
public tech.ydb.proto.ValueProtos.Type.Builder getYqlTypeBuilder()- Specified by:
getYqlTypeBuilderin interfaceYqlType
-
toYql
-
fromYql
-