public class YdbTypes extends Object
| Modifier and Type | Method and Description |
|---|---|
static tech.ydb.table.values.Type |
findType(Object obj,
int sqlType) |
static List<tech.ydb.table.values.Type> |
getAllDatabaseTypes()
Returns all types supported by database
|
static int |
getSqlPrecision(tech.ydb.table.values.Type type)
Returns sql precision for given YDB type (or 0 if not applicable)
|
static int |
toSqlType(tech.ydb.table.values.Type type)
Converts given YDB type to standard SQL type
|
public static tech.ydb.table.values.Type findType(Object obj, int sqlType)
public static int toSqlType(tech.ydb.table.values.Type type)
type - YDB type to convertpublic static int getSqlPrecision(tech.ydb.table.values.Type type)
type - YDB typepublic static List<tech.ydb.table.values.Type> getAllDatabaseTypes()
Copyright © 2024. All rights reserved.