Type class for case class T
annotated for BigQuery IO.
Type class for case class T
annotated for BigQuery IO.
This decouples generated fields and methods from macro expansion to keep core macro free.
Case class field annotation for BigQuery field description.
Case class field annotation for BigQuery field description.
To be used with case class fields annotated with BigQueryType.toTable, For example:
@BigQueryType.toTable case class User(@description("user name") name: String, @description("user age") age: Int)
Macro annotations and converter generators for BigQuery types.
Macro annotations and converter generators for BigQuery types.
The following table lists each legacy SQL data type, its standard SQL equivalent and Scala type.
Legacy SQL Standard SQL Scala type BOOLEAN BOOL Boolean INTEGER INT64 Long, Int FLOAT FLOAT64 Double, Float STRING STRING String BYTES BYTES com.google.protobuf.ByteString, Array[Byte] RECORD STRUCT Nested case class REPEATED ARRAY List[T] TIMESTAMP TIMESTAMP org.joda.time.Instant DATE DATE org.joda.time.LocalDate TIME TIME org.joda.time.LocalTime DATETIME DATETIME org.joda.time.LocalDateTime
Utility for BigQuery schemas.