Package io.trino.plugin.bigquery
Class BigQueryType
java.lang.Object
io.trino.plugin.bigquery.BigQueryType
-
Method Summary
Modifier and TypeMethodDescriptionconvertToString(Type type, com.google.cloud.bigquery.StandardSQLTypeName bigqueryType, Object value) static StringdateToStringConverter(Object value) static StringtimestampToStringConverter(Object value) static StringtimeToStringConverter(Object value) static com.google.cloud.bigquery.Fieldstatic LocalDateTimetoLocalDateTime(String datetime) static longtoTrinoTimestamp(String datetime) toTrinoType(com.google.cloud.bigquery.Field field) static ZonedDateTimetoZonedDateTime(long epochSeconds, long nanoAdjustment, ZoneId zoneId)
-
Method Details
-
toLocalDateTime
-
toTrinoTimestamp
-
dateToStringConverter
-
timeToStringConverter
-
timestampToStringConverter
-
toZonedDateTime
-
toField
-
convertToString
-
toTrinoType
-